linecook-gem 0.5.3 → 0.5.4

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: a0473d1821ab9e2ceef6c30738bc55dd75f3bbc5
4
- data.tar.gz: d35594fff0af1e555b6a812740839fe8d30bce3a
3
+ metadata.gz: 7815ff8ae111c025249cb8daa3a2414309a701ae
4
+ data.tar.gz: 1e03637093ea8c3b20b4689ad716a3d1b9096428
5
5
  SHA512:
6
- metadata.gz: d22773be7e18d192f196394278a7e055a968fdec8484655369bc036ec23092cf665b17ba016e9f445d14fe4983c22cc34821c4ea2a281942dfd10e6145064ed6
7
- data.tar.gz: 7d01bd627a242dfa2b3709ea48bc52e571a2d2a008df2694c961a3e93728f44c27836aa7c49b12224a8ebe02f6823a763f0734596e81666721ae51ba9fd8f215
6
+ metadata.gz: 6f954ea3315ba81315895d9a85842b4241adb71dc943c9576228bb03c62bb3e7147e797417a545b54f8bfda864f1663bec75f3236856327ffd0d94a4c057efa5
7
+ data.tar.gz: c9ce12f80e0e5a3c25d8cf1fd2903d1197873e9d409b9410393e96f079a7a09c6d907b1bc5d6605d05ee2f65689332df3548d3b247b6e2061dd7b505c49bd7aa
@@ -103,8 +103,10 @@ module Linecook
103
103
  puts 'Regenerating cookbook cache'
104
104
  begin
105
105
  Chefdepartie.run(background: true, config: Linecook.config[:chef], cache: CACHE_PATH)
106
- rescue
106
+ rescue => e
107
+ puts e.message
107
108
  puts 'Cache tainted, rebuilding completely'
109
+ Chefdepartie.stop
108
110
  FileUtils.rm_rf(CACHE_PATH)
109
111
  Chefdepartie.run(background: true, config: Linecook.config[:chef], cache: CACHE_PATH)
110
112
  ensure
@@ -1,3 +1,3 @@
1
1
  module Linecook
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linecook-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel