kitchen_hooks 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kitchen_hooks/helpers.rb +17 -10
- 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: ead0cfd7b582010a0f78fe7e9986118343d7d4b8
|
|
4
|
+
data.tar.gz: 8548e4eea2f5ac0dbbaa0ed168f3e45f5a6a7c5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c86ed2bae07e64409b5c8a93d2f84c4d52ce672d83c6f31324b719a983a64f14461fcb6c87818adc1b9008cfcbfecd299c1d6bd441a8d4f354c20ba8740fc92e
|
|
7
|
+
data.tar.gz: 323cff52e399012dbbf1718907d2e01ba49b0c46cd1971b0d9657fa0daf6d4d9132f4998a3d2ff2465f284cb6b5618dca26ffa1d8841c7e861265812c7b7d967
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.7.
|
|
1
|
+
1.7.3
|
|
@@ -180,11 +180,14 @@ module KitchenHooks
|
|
|
180
180
|
cmd = "berks install --debug --berksfile %s" % [
|
|
181
181
|
Shellwords::escape(berksfile)
|
|
182
182
|
]
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
begin
|
|
184
|
+
$stdout.puts "berks_install: %s" % cmd
|
|
185
|
+
system cmd
|
|
186
|
+
rescue
|
|
187
|
+
raise 'Could not perform berks_install with config %s' % [
|
|
188
|
+
berksfile.inspect
|
|
189
|
+
]
|
|
190
|
+
end
|
|
188
191
|
|
|
189
192
|
ENV['GIT_DIR'] = env_git_dir
|
|
190
193
|
ENV['GIT_WORK_TREE'] = env_git_work_tree
|
|
@@ -201,11 +204,15 @@ module KitchenHooks
|
|
|
201
204
|
cmd = "berks upload --debug --berksfile %s --config %s" % [
|
|
202
205
|
Shellwords::escape(berksfile), Shellwords::escape(config_path)
|
|
203
206
|
]
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
|
|
208
|
+
begin
|
|
209
|
+
$stdout.puts "berks_upload: %s" % cmd
|
|
210
|
+
system cmd
|
|
211
|
+
rescue
|
|
212
|
+
raise 'Could not perform berks_upload with config %s, knife %s' % [
|
|
213
|
+
berksfile.inspect, knife.inspect
|
|
214
|
+
]
|
|
215
|
+
end
|
|
209
216
|
|
|
210
217
|
FileUtils.rm_rf config_path
|
|
211
218
|
$stdout.puts 'finished berks_upload: %s' % berksfile
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen_hooks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sean Clemmer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-02-
|
|
11
|
+
date: 2015-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: hipchat
|