Commit Graph

53 Commits

Author SHA1 Message Date
Darragh Bailey
3ff5795528
Add myself to the gem authors (#1295)
So that it's reflected on rubygems.org, add myself to the gem authors.
2021-05-27 17:09:32 +01:00
Pavel Valena
b7133d8f8f Since Ruby 3.0 rexml needs to be required
as it's no longer a default gem.
2021-05-12 21:38:43 +01:00
Dan Čermák
db61946828
Add a simple Proc extension to support bindings (#1240)
This removes the dependency on the contextual_proc gem

Fixes: #1238
2021-04-03 14:41:44 +01:00
Darragh Bailey
876e906de0
Improve id_ssh_key_file finalizing (#1230)
Move finalizing the id_ssh_key_file based on how other settings are
currently defined to a separate private function and extend the tests to
accept defining additional expects/allows within the table.

This should apply a consistent set of rules where if the user explicitly
supplies the key, it will attempt to resolve it based on the expected
ssh directory, and will always retain the explicit setting even if it
doesn't exist. Where connect_via_ssh is enabled, it will attempt to
detect if the default key exists, otherwise it will disable the setting.
If the user does not want automatic guesses, they can explicitly disable
by setting it to `nil`.

Fixes: #1228
2021-03-20 15:38:02 +00:00
Darragh Bailey
66d394d42e
Switch from travis to github actions for unit tests (#1206)
Migrate to github actions as travis has switched to a process that will
require requesting minutes regularly for open source projects, and
current development is slow enough that this additional overhead is too
much.

Correct the generation of the line coverage following the example at
coverallsapp/github-action#29. Remove dependency on coveralls
gem as no longer needed if using the action.

Patch older versions of simplecov to contain a branch_coverage?
method to ensure working with simplecov-lcov.
2021-02-20 15:23:16 +00:00
Darragh Bailey
ac2c857599
Exclude spec helpers from coverage (#1179)
Filter out spec helpers and test code from coverage reports.

This will prevent future changes reporting reduction in coverage
even when only adding additional tests.
2020-12-15 13:15:06 +00:00
Darragh Bailey
20067be0d2
Support building from git-archive tarballs (#1187)
Adds support for exposing the correct version via export-subst for
git-archive constructed tarballs to make it easier to consume directly
from source.

Will check in the following order of preference:
 - version file
 - format string containing "Tag:"
 - clone remote to describe commit
2020-12-14 18:49:50 +00:00
Darragh Bailey
966ef2a534
Tag version from git tag (#1161)
Switch to looking up the version from a file with a fall back to get
it directly from git tags if the file isn't available.

The version file is automatically generated by a task of building of the
gem and included in the package release to prevent reading from git.

Should allow the release process to be automated from pushing of a git
tag.
2020-10-23 18:18:52 +01:00
Darragh Bailey
386f7ff4fc
Merge branch 'master' into patch-1 2020-03-27 18:52:02 +00:00
Darragh Bailey
7b7f54ff41
Include license and README with gem 2020-03-27 18:46:22 +00:00
Vít Ondruch
608037c15c Use fog-libvirt facilities to create volumes for QEMU session.
This is supported since fog-libvirt 0.6.0 via https://github.com/fog/fog-libvirt/pull/60
2019-07-17 18:27:00 +02:00
Pirate Praveen Arimbrathodiyil
44a760f668 Update fog-core to latest version
fog-core 2.x is released and we'd like to use it in debian
2019-02-18 18:30:44 +01:00
James Conroy-Finn
429b236087 Use the same version of Nokogiri as Vagrant 2019-02-13 14:51:23 +00:00
Vít Ondruch
5f7841ffff Revert back to development version of .gemspec file. (#929)
This reverts commit 34a0def7d1, because it
seems to be completely accidental change, when the file was overridden by
Bundler or so.
2018-12-02 22:56:50 +01:00
Hans-Christoph Steiner
116f85f4be
include locales 2018-11-09 14:15:11 +00:00
Hans-Christoph Steiner
2ca5603ad2
remove gemspec use of git ls-files
In 5158b0e733, `git ls-files` was added to list the _files_ and _test_files_.  This will never work for any process that uses a source tarball, like Debian packages and I think gems.  Using `git ls-files` requires _git_ is installed on the build machine and requires that the _.git/_ dir is present in the source.

Example fixes:
* jfelchner/ruby-progressbar#54
* rubygems/rubygems#2064
* wpscanteam/CMSScanner#64
2018-11-09 12:42:13 +00:00
dima
6eedaea0ce 0.0.45 2018-10-23 11:19:27 +02:00
dima
57ed83c46d 0.0.44 2018-10-23 11:14:17 +02:00
dima
edd350e6fd remove date 2018-02-07 09:00:33 +01:00
dima
5158b0e733 0.0.42 2018-02-03 11:21:07 +01:00
dima
34a0def7d1 0.0.41 2018-02-02 18:49:20 +01:00
Gerben Meijer
c2b6c54df6 Bump rspec-core to 3.5.0 2017-08-16 14:28:46 +02:00
Dmitry Vasilets
88836fabb1 Merge pull request #771 from zdw/remove_xmlrpc_dep
fog-core 1.44.0 depends on xmlrpc, which depends on Vagrant-incompatible ruby version
2017-04-29 11:43:00 +02:00
Zack Williams
a963b9f40f require older version of fog-core, without xmlrpc dep 2017-04-28 14:27:17 -07:00
Vít Ondruch
ab882ec489 Bump fog-libvirt dependency.
Fixes #568.
2016-10-04 14:09:14 +02:00
Gerben Meijer
86a2ba5250 Change github reference to the new organization 2016-04-27 14:08:25 +02:00
Kirill Shirinkin
7f3f61f215 Fix fog-libvirt version 2016-03-06 16:57:28 +01:00
Darragh Bailey
afb53addb1 Add rudimentary spec test to WaitTillUp using vagrant-spec
Add some basic spec tests for the WaitTillUp action class to lay some
foundations. Utilize vagrant-spec pinned to a known working commit for
tests to pass consistently until they provide releases.

Requires updating some of the rspec libraries and includes
sharedcontext.rb from the jantman/vagrant-r10k project on github.
2016-01-27 18:21:25 +00:00
Josef Stribny
749b431bc8 Depend on new extracted fog-libvirt gem
And depend on ruby-libvirt library through fog-libvirt.
2015-04-17 14:56:31 +02:00
dima
e0e0da3827 :) 2015-04-09 08:14:08 +02:00
John Beredimas
b7a9abfc16 Allow isolated networks 2015-04-09 08:12:51 +02:00
Vít Ondruch
33295eb6f8 Update summary and description. 2015-01-26 14:44:39 +01:00
Adam Spiers
773a4f48d6 allow newer ruby-libvirt (#158)
As per #158, vagrant-libvirt depends on ruby-libvirt transitively
through fog.  Since fog/fog#2706 was resolved, fog now requires
ruby-libvirt ~> 0.5.0, therefore vagrant-libvirt should allow both 0.4.x
and 0.5.x.  Furthermore, according to semantic versioning, we currently
have no good reason to reject anything newer below 1.x.  If such a
restriction is required in the future (e.g. < 0.7.0) then it is likely
that fog's .gemspec will take care of that on our behalf anyway.

Closes #158.
2014-10-26 23:22:10 +00:00
Adam Spiers
138bea1077 make gem dependencies reasonably optimistic again (fixes #253)
This reverts the vagrant-libvirt.gemspec changes in commit
19cd8be193.
2014-10-16 01:42:29 +01:00
Brian Pitts
ea2c3ea8bf Accept any version of Nokogiri 1.6 2014-09-28 10:48:28 -05:00
dima
19cd8be193 version 0.0.21 2014-09-17 10:57:34 +02:00
Brian Pitts
68b39f1fa6 Revert "Revert "Bump Nokogiri version"" 2014-07-20 12:10:07 -05:00
Dmitry Vasilets
1cffb77bac Revert "Bump Nokogiri version" 2014-07-18 21:49:22 +02:00
Nico Tonozzi
9b458f99c7 Bump Nokogiri version 2014-07-18 13:14:20 -06:00
Bradley Smith
0e9458db6c refactor set_domain_name to avoid duplicate names when running multiple guests. 2014-07-04 10:47:29 -06:00
dima
de4ca2ba97 version 0.0.15 , min supported vagrant version 1.4.3 2014-02-01 22:20:03 +01:00
Brian Pitts
2b2277d884 Add Brian to gem authors 2014-01-30 20:02:42 -06:00
Jason DeTiberus
54408733e0 Update gemspec to not conflict with libvirt-aws and libvirt-openstack-plugin 2014-01-23 13:43:46 -05:00
Brian Pitts
c28e0916e3 Depend on ruby-libvirt gem since fog does not pull it in 2014-01-05 17:57:18 -06:00
Hiroshi Miura
9c8a401881 remove ruby-libvirt dependency
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2013-11-15 07:57:37 +09:00
Brian Pitts
6175d8d08d Require nokogiri 1.5.10 2013-09-27 10:34:12 -05:00
Brian Pitts
b814a02e8b Requre Nokogiri 1.5 2013-09-26 20:11:49 -05:00
dima
26d7ea2a6f new version and small changes 2013-09-25 22:53:18 +02:00
dima
0670b190be add me as author and add license to gem spec file close #39 2013-08-15 02:10:07 +02:00
dima
ba235915b3 close #43 key file set in provider url 2013-08-15 02:01:08 +02:00