mixlib-install 3.2.1 → 3.2.2

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: ee014f864ec94eca37231b41d5561268d89d2d37
4
- data.tar.gz: 5eb1f4dbc1b7e3384cafffbd0b8f87ffd7fe60d2
3
+ metadata.gz: b1b2a94da12ffd59bdb4bebefb395ab3178c0361
4
+ data.tar.gz: 2c75720f94c0b31be198af561b108519d7eb842d
5
5
  SHA512:
6
- metadata.gz: 9a80657c8f00dbda9d6bf02e202b829d30c89643b64f7302060204311ba2a51aca6601df8ff94a8520404717f31e5ca9c6a3f9a790823378b6b1001c0a708bc9
7
- data.tar.gz: 049e19d7e40dbd2daf8e869dc7df3d354a29b4a549912fe0980655d90754d7039e150a650f822775e800f77fc7aa423b1ca400bfdd6db360144bd547c7f5a9d3
6
+ metadata.gz: cf6bf94e8551cbd7ac275b568582f235564dc88e17238966abacefdf43b145389ca7376c30355589aa7183110a601b47e3f37cb3f7a65d04af551adf804263ae
7
+ data.tar.gz: 5399447ad216693a1f3c1da050a6ab87250ac182970dde6d4c2274dcd3c174bb711cd848d09cff030f2e9071f2396f36ab283b642e3c490afdb41c25a40275f0
@@ -14,6 +14,7 @@ addons:
14
14
 
15
15
  matrix:
16
16
  include:
17
+ - rvm: 2.0
17
18
  - rvm: 2.2
18
19
  - rvm: 2.3
19
20
  env: SUITE=ubuntu
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [3.2.2]
4
+ - Fix issue [#206](https://github.com/chef/mixlib-install/issues/206) - Missing metadata now returns `nil`
5
+
3
6
  ## [3.2.1]
4
7
  - Add support for direct URL downloads for Bourne install script
5
8
 
@@ -187,7 +187,8 @@ EOF
187
187
  begin
188
188
  metadata = get("#{chef_standard_path}.metadata.json")
189
189
  license_content = metadata["license_content"]
190
- software_dependencies = metadata["version_manifest"]["software"]
190
+ software_dependencies = metadata.fetch("version_manifest", {})
191
+ .fetch("software", nil)
191
192
  rescue Net::HTTPServerException => e
192
193
  if e.message =~ /404/
193
194
  license_content, software_dependencies = nil
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.2.1"
3
+ VERSION = "3.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-install
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-10 00:00:00.000000000 Z
12
+ date: 2017-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout