meez 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/meez/meez.rb +7 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzMwOWFkMjlhNjZmYzFiNWU3ODcxNjQ1MjBjODlhNmRhYTViZGFiYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODgxODRjZjdkZmJjMjJhNTM0OWY3Y2EyNTMyNmI2NzRmZmNkNWQ3Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzUxN2I0OGMxZDk2ZTFjNmQwMGZiM2YyMGMxNmZmZmI1YjE0ODk0MDU2Y2Uw
|
10
|
+
MzQ0MmQ0ZGNhNDJjOWJmNzQ4ODA2ZjU5ZjkxOWIyYTI0YzZhMDdlMjhhZDk1
|
11
|
+
NmQwZDI4NTA2ZTRjMmYzYWEwNDZiMzlhMDA2YTU1MTkwZjA0ZjM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWJkZmI4NDZhNTkwMTdmZDRlZDU1YzJiYmE5NzdiYWMzODhlNzhjZDBhNTgz
|
14
|
+
ZWFiMDdjNDI0YWQzZTc1NWYzNGE3MTMwN2M3NTk2NTVhODg5NDZmYzRkZGE0
|
15
|
+
MmE4MjkxMzViZmQxYWZhMjAzZDk2MGJlNDAwYTZhMjViNDNjMDI=
|
data/lib/meez/meez.rb
CHANGED
@@ -139,12 +139,12 @@ require 'chef/application'
|
|
139
139
|
|
140
140
|
::LOG_LEVEL = :fatal
|
141
141
|
::UBUNTU_OPTS = {
|
142
|
-
platform:
|
143
|
-
version:
|
144
|
-
log_level:
|
142
|
+
platform: 'ubuntu',
|
143
|
+
version: '12.04',
|
144
|
+
log_level: ::LOG_LEVEL
|
145
145
|
}
|
146
146
|
::CHEFSPEC_OPTS = {
|
147
|
-
log_level:
|
147
|
+
log_level: ::LOG_LEVEL
|
148
148
|
}
|
149
149
|
|
150
150
|
def stub_resources
|
@@ -178,7 +178,7 @@ end
|
|
178
178
|
end
|
179
179
|
|
180
180
|
puts "\tAppend Gemfile"
|
181
|
-
File.open(File.join(path, 'Gemfile'), 'a') { |f| f.write("gem 'chefspec', '~> 3.
|
181
|
+
File.open(File.join(path, 'Gemfile'), 'a') { |f| f.write("gem 'chefspec', '~> 3.2'\n") }
|
182
182
|
File.open(File.join(path, 'Strainerfile'), 'a') { |f| f.write("chefspec: bundle exec rspec $SANDBOX/$COOKBOOK/test/unit/spec\n") }
|
183
183
|
end
|
184
184
|
|
@@ -195,7 +195,7 @@ end
|
|
195
195
|
puts '* Initializing Rubocop'
|
196
196
|
path = File.join(options[:path], cookbook_name)
|
197
197
|
puts "\tAppend Gemfile"
|
198
|
-
File.open(File.join(path, 'Gemfile'), 'a') { |f| f.write("gem 'rubocop', '~> 0.
|
198
|
+
File.open(File.join(path, 'Gemfile'), 'a') { |f| f.write("gem 'rubocop', '~> 0.18'\n") }
|
199
199
|
puts "\tAppend Strainerfile"
|
200
200
|
File.open(File.join(path, 'Strainerfile'), 'a') { |f| f.write("rubocop: bundle exec rubocop $COOKBOOK\n") }
|
201
201
|
end
|
@@ -204,7 +204,7 @@ end
|
|
204
204
|
puts '* Initializing Knife'
|
205
205
|
path = File.join(options[:path], cookbook_name)
|
206
206
|
puts "\tAppend Gemfile"
|
207
|
-
File.open(File.join(path, 'Gemfile'), 'a') { |f| f.write("gem 'chef', '~> 11.8
|
207
|
+
File.open(File.join(path, 'Gemfile'), 'a') { |f| f.write("gem 'chef', '~> 11.8'\n") }
|
208
208
|
puts "\tAppend Strainerfile"
|
209
209
|
File.open(File.join(path, 'Strainerfile'), 'a') { |f| f.write("knife test: bundle exec knife cookbook test $COOKBOOK\n") }
|
210
210
|
end
|