kitchen_hooks 1.8.6 → 1.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/etc/commit-constraint.json +1 -1
- data/lib/kitchen_hooks/helpers.rb +4 -2
- 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: 25d8f521d611f80732dd1fe85ff6bc174f3b4066
|
4
|
+
data.tar.gz: 23fe4f637e8a1a77b078c2e5b88c40db150d4bc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97fd2edbc9b543711e7fc8ce76dc4f0ba0a5241fe7928f45b83abf9b34a5211d4055d53ee7d0860e688b844f26507145f09bd829b7c11b08ed9cd5b09db32445
|
7
|
+
data.tar.gz: 9f8756324db3c2122385d02f4896a4d44c972bfcb790d0c4608946ab5d73a602d1df33db0cc1a3161ff82585ed535afbeb6bd144f13299b961132857c1e65b7b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.7
|
data/etc/commit-constraint.json
CHANGED
@@ -136,10 +136,11 @@ module KitchenHooks
|
|
136
136
|
tmp_root = Dir.mktmpdir
|
137
137
|
tmp_path = File.join tmp_root, File.basename(knife, '.rb')
|
138
138
|
FileUtils.copy_entry clone, tmp_path
|
139
|
-
[ knife, tmp_path ]
|
140
|
-
end.peach do |(knife, tmp_path)|
|
139
|
+
[ knife, tmp_path, tmp_root ]
|
140
|
+
end.peach do |(knife, tmp_path, tmp_root)|
|
141
141
|
tmp_berksfile = File.join tmp_path, 'Berksfile'
|
142
142
|
berks_upload tmp_berksfile, knife
|
143
|
+
FileUtils.rm_rf tmp_root
|
143
144
|
end
|
144
145
|
end
|
145
146
|
|
@@ -297,6 +298,7 @@ module KitchenHooks
|
|
297
298
|
yield dir
|
298
299
|
|
299
300
|
FileUtils.rm_rf root
|
301
|
+
FileUtils.rm_rf dir
|
300
302
|
$stdout.puts 'finished tmp_clone'
|
301
303
|
end
|
302
304
|
|
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.8.
|
4
|
+
version: 1.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Clemmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02
|
11
|
+
date: 2016-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hipchat
|