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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d67d86082ea4febb73e0ad4aaed12aedb0f65d9
4
- data.tar.gz: 22a9ea6b945b504861da5f7cd8a46a9c253b6165
3
+ metadata.gz: 25d8f521d611f80732dd1fe85ff6bc174f3b4066
4
+ data.tar.gz: 23fe4f637e8a1a77b078c2e5b88c40db150d4bc9
5
5
  SHA512:
6
- metadata.gz: 91ffbb5eae7d78774041e0e026ab32a712b8f88f9c4e77af7ee703f574912588b233aefbbbfa77393d736e07260bafdb8a6d042e8e0dbc33c98f0b81ba2b64ca
7
- data.tar.gz: cc824c2924c0cc38b03f88c025981d3ce3c21bdf450d7d50a049a31470b86ef9d2b9322d1e37459ab50b7942e080cc218f23e0d5cc6f3f9042d1c34fcf8e9f9d
6
+ metadata.gz: 97fd2edbc9b543711e7fc8ce76dc4f0ba0a5241fe7928f45b83abf9b34a5211d4055d53ee7d0860e688b844f26507145f09bd829b7c11b08ed9cd5b09db32445
7
+ data.tar.gz: 9f8756324db3c2122385d02f4896a4d44c972bfcb790d0c4608946ab5d73a602d1df33db0cc1a3161ff82585ed535afbeb6bd144f13299b961132857c1e65b7b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.6
1
+ 1.8.7
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "before": "08f20548e398f634979047d0c8114260bcc2949a",
3
3
  "after": "0835e7c74314cfe2aa9f98fe47338031b637ef95",
4
- "ref": "refs/tags/bjn_catalyst_bogus",
4
+ "ref": "refs/tags/bjn_catalyst_x",
5
5
  "user_id": 645,
6
6
  "user_name": "Sean Clemmer",
7
7
  "repository": {
@@ -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.6
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-22 00:00:00.000000000 Z
11
+ date: 2016-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hipchat