berkshelf 0.5.0.rc1 → 0.5.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/berkshelf.gemspec +2 -2
- data/bin/berks +3 -0
- data/generator_files/Gemfile.erb +1 -1
- data/lib/berkshelf/vagrant.rb +4 -0
- data/lib/berkshelf/vagrant/action/clean.rb +1 -1
- data/lib/berkshelf/version.rb +1 -1
- metadata +6 -6
data/berkshelf.gemspec
CHANGED
@@ -16,12 +16,12 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.version = Berkshelf::VERSION
|
17
17
|
s.required_ruby_version = ">= 1.9.1"
|
18
18
|
|
19
|
-
s.add_runtime_dependency 'ridley', '>= 0.0.
|
19
|
+
s.add_runtime_dependency 'ridley', '>= 0.0.4'
|
20
20
|
s.add_runtime_dependency 'solve', '~> 0.2.1'
|
21
21
|
s.add_runtime_dependency 'chef', '~> 10.12.0'
|
22
22
|
s.add_runtime_dependency 'minitar'
|
23
23
|
s.add_runtime_dependency 'thor', '~> 0.16.0'
|
24
|
-
s.add_runtime_dependency 'vagrant', '~> 1.0.
|
24
|
+
s.add_runtime_dependency 'vagrant', '~> 1.0.5'
|
25
25
|
s.add_runtime_dependency 'activesupport'
|
26
26
|
s.add_runtime_dependency 'multi_json'
|
27
27
|
|
data/bin/berks
CHANGED
data/generator_files/Gemfile.erb
CHANGED
data/lib/berkshelf/vagrant.rb
CHANGED
@@ -18,6 +18,10 @@ module Berkshelf
|
|
18
18
|
class << self
|
19
19
|
# @param [Vagrant::Action::Environment] env
|
20
20
|
def shelf_for(env)
|
21
|
+
unless env[:global_config].vm.host_name
|
22
|
+
return nil
|
23
|
+
end
|
24
|
+
|
21
25
|
File.join(Berkshelf.berkshelf_path, "vagrant", env[:global_config].vm.host_name)
|
22
26
|
end
|
23
27
|
|
@@ -11,7 +11,7 @@ module Berkshelf
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def call(env)
|
14
|
-
if Berkshelf::Vagrant.chef_solo?(env[:global_config])
|
14
|
+
if Berkshelf::Vagrant.chef_solo?(env[:global_config]) && self.shelf
|
15
15
|
Berkshelf.formatter.msg "cleaning Vagrant's shelf"
|
16
16
|
FileUtils.remove_dir(self.shelf, fore: true)
|
17
17
|
end
|
data/lib/berkshelf/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: berkshelf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.0.
|
4
|
+
version: 0.5.0.rc2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-09-
|
15
|
+
date: 2012-09-20 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: ridley
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
requirements:
|
22
22
|
- - ! '>='
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: 0.0.
|
24
|
+
version: 0.0.4
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.0.
|
32
|
+
version: 0.0.4
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: solve
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,7 +101,7 @@ dependencies:
|
|
101
101
|
requirements:
|
102
102
|
- - ~>
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 1.0.
|
104
|
+
version: 1.0.5
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
requirements:
|
110
110
|
- - ~>
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 1.0.
|
112
|
+
version: 1.0.5
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: activesupport
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|