vagrant-berkshelf 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/berkshelf/vagrant/action/install.rb +6 -2
- data/lib/berkshelf/vagrant/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd705d7c9c906c00b2da128c11e9784f07643a79
|
4
|
+
data.tar.gz: 284c860431fa9429775f353af9ef6c58f9e47178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ea25cec3e04e356558cc1326c05e66787c6e16319f449f9546477febe81779abb5573cfd189c95ed354dac5841c8daad6fec894fafa6e5c336a7a0c6913296a
|
7
|
+
data.tar.gz: 45a2cb211a10a754141a718237ce2de0f28f260de5221b8271b373bd95f4af24a22e266b73e39246888e533838a14dd3b886753a98a67f7f28df488517012673
|
@@ -54,17 +54,21 @@ module Berkshelf
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def check_vagrant_version(env)
|
57
|
-
unless
|
57
|
+
unless vagrant_version_satisfies?(">= 1.1")
|
58
58
|
raise Berkshelf::VagrantWrapperError.new(RuntimeError.new("vagrant-berkshelf requires Vagrant 1.1 or later."))
|
59
59
|
end
|
60
60
|
|
61
|
-
unless
|
61
|
+
unless vagrant_version_satisfies?(::Berkshelf::Vagrant::TESTED_CONSTRAINT)
|
62
62
|
env[:berkshelf].ui.warn "This version of the Berkshelf plugin has not been fully tested on this version of Vagrant."
|
63
63
|
env[:berkshelf].ui.warn "You should check for a newer version of vagrant-berkshelf."
|
64
64
|
env[:berkshelf].ui.warn "If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues"
|
65
65
|
env[:berkshelf].ui.warn "You can also join the discussion in #berkshelf on Freenode."
|
66
66
|
end
|
67
67
|
end
|
68
|
+
|
69
|
+
def vagrant_version_satisfies?(requirement)
|
70
|
+
Gem::Requirement.new(requirement).satisfied_by? Gem::Version.new(::Vagrant::VERSION)
|
71
|
+
end
|
68
72
|
end
|
69
73
|
end
|
70
74
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-berkshelf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Winsor
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: berkshelf
|