stove 4.1.0 → 4.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81f9d1281c571d2ef3fb23ea93ceb2b1d435ea60
4
- data.tar.gz: 7762c7e2004f355e7ad385754e1813573c84f727
3
+ metadata.gz: 157cfee1ba9ff810a7840cb9ac6d0f2ab396e2cc
4
+ data.tar.gz: 622404eec72bb2764aa17ed7a5999fccec3f8ef1
5
5
  SHA512:
6
- metadata.gz: b338e1852007ae23bd882c39b4592aa7a470fa856cb64b3d400cf326010149d85a7cb9a52df29bc2b801411a9d50df1c3d30ee03115dcdb802d316f2e131cf9f
7
- data.tar.gz: d546ac3c3d3f3b5b9c7a7924f657fcf9f3ddbcc97ec64f8a1caef324c48f4774b97b4b069f87e535e0b6ed8cd28e72ee14af38ed44c040366a76239900f31eb0
6
+ metadata.gz: cafeed9abaed34c86f05a216f2ecfc989fdc7850045a46cf4a60b406faddea45e2b6f91595997082efecd4e998cbe7c46a10725c1c12f5fef2efd2fee1d98e1d
7
+ data.tar.gz: 2acc399900e35283104df76c578024671bb2f05a2e94ecb50d7f37c82e3e6827f918b2253094ae8f4976132014465b43c414f87297c5b5aa54c7f9a8f3bdaf47
@@ -2,6 +2,10 @@
2
2
 
3
3
  This is the Changelog for the Stove gem.
4
4
 
5
+ ## v4.1.1 (2016-06-02)
6
+
7
+ - Don't delete the metadata.json file if there isn't a metadata.rb
8
+
5
9
  ## v4.1.0 (2016-06-02)
6
10
 
7
11
  - Support uploading cookbooks to Supermarket that lack a metadata.rb, but have a metadata.json
@@ -97,7 +97,7 @@ module Stove
97
97
  tempfile.rewind
98
98
  tempfile
99
99
  ensure
100
- if defined?(metadata_json)
100
+ if defined?(metadata_json) && File.exist?(File.join(cookbook.path, 'metadata.rb'))
101
101
  File.delete(metadata_json)
102
102
  end
103
103
  end
@@ -1,3 +1,3 @@
1
1
  module Stove
2
- VERSION = '4.1.0'
2
+ VERSION = '4.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stove
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Vargo