soloist 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,7 @@ module Soloist
|
|
56
56
|
def solo_rb
|
57
57
|
all_cookbook_paths = cookbook_paths
|
58
58
|
cookbook_gems.each do |gem_cookbook|
|
59
|
-
|
59
|
+
require gem_cookbook
|
60
60
|
all_cookbook_paths << Kernel.const_get(camelize(gem_cookbook)).const_get('COOKBOOK_PATH')
|
61
61
|
end
|
62
62
|
"cookbook_path #{all_cookbook_paths.inspect}"
|
data/lib/soloist/version.rb
CHANGED
@@ -31,7 +31,6 @@ CONFIG
|
|
31
31
|
module ::PivotalWorkstationCookbook
|
32
32
|
COOKBOOK_PATH = "/var/lib/ruby/gems/pivotal_workstation/cookbooks/"
|
33
33
|
end
|
34
|
-
Kernel.stub!(:require).with("pivotal_workstation_cookbook").and_return(true)
|
35
34
|
@generator.solo_rb.should == 'cookbook_path ["/current/working/directory/../.././chef/cookbooks/", "/var/lib/ruby/gems/pivotal_workstation/cookbooks/"]'
|
36
35
|
end
|
37
36
|
|
@@ -0,0 +1 @@
|
|
1
|
+
# this file is loaded by the tests instead of the actual pivotal_workstation_cookbook
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soloist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 3
|
10
|
+
version: 0.9.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matthew Kocher
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-07-
|
18
|
+
date: 2011-07-27 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -80,6 +80,7 @@ files:
|
|
80
80
|
- lib/soloist/version.rb
|
81
81
|
- soloist.gemspec
|
82
82
|
- spec/chef_config_generator_spec.rb
|
83
|
+
- spec/pivotal_workstation_cookbook.rb
|
83
84
|
- spec/util_spec.rb
|
84
85
|
has_rdoc: true
|
85
86
|
homepage: http://github.com/mkocher/soloist
|
@@ -117,4 +118,5 @@ specification_version: 3
|
|
117
118
|
summary: Soloist is a simple way of running chef-solo
|
118
119
|
test_files:
|
119
120
|
- spec/chef_config_generator_spec.rb
|
121
|
+
- spec/pivotal_workstation_cookbook.rb
|
120
122
|
- spec/util_spec.rb
|