mixlib-install 3.5.0 → 3.5.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 +4 -4
- data/CHANGELOG.md +3 -2
- data/VERSION +1 -1
- data/lib/mixlib/install/product.rb +3 -0
- data/lib/mixlib/install/version.rb +1 -1
- 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: 224dcc037895554bd5679293fef66f390ce7cb76
|
|
4
|
+
data.tar.gz: bdc66954227ce1851bb604cd0eff7ec23a8a0ad7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12ef14553be2d62a37f6b117c8057f40a6eaf88801b4e4b7f819403db452d2c33c4b55c6f55e3b7987c3544e525176c8e12ef249feb1a7d4b0bd3cc0a31146d5
|
|
7
|
+
data.tar.gz: 8857e431fb8d93eddabae414f16de27d9be945abe185b339de17ad8bd4eecacc5b0616722e75615e4effdd472866d0668efbb84aa35879cb74e7aa7a26fdeb3f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# Mixlib::Install Changes
|
|
2
2
|
|
|
3
|
-
<!-- latest_release
|
|
4
|
-
##
|
|
3
|
+
<!-- latest_release 3.5.1 -->
|
|
4
|
+
## [v3.5.1](https://github.com/chef/mixlib-install/tree/v3.5.1) (2017-09-08)
|
|
5
5
|
|
|
6
6
|
#### Merged Pull Requests
|
|
7
|
+
- Return nil when looking up non-existing products [#241](https://github.com/chef/mixlib-install/pull/241) ([adamleff](https://github.com/adamleff))
|
|
7
8
|
- v3.5.0 [#239](https://github.com/chef/mixlib-install/pull/239) ([wrightp](https://github.com/wrightp))
|
|
8
9
|
- download url override and checksum updates [#237](https://github.com/chef/mixlib-install/pull/237) ([wrightp](https://github.com/wrightp))
|
|
9
10
|
<!-- latest_release -->
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.5.
|
|
1
|
+
3.5.1
|
|
@@ -162,6 +162,9 @@ module Mixlib
|
|
|
162
162
|
#
|
|
163
163
|
# @return [Product]
|
|
164
164
|
def lookup(key, version = :latest)
|
|
165
|
+
# return nil unless the product exists
|
|
166
|
+
return nil unless @product_map.key?(key)
|
|
167
|
+
|
|
165
168
|
product = @product_map[key]
|
|
166
169
|
# We set the lookup version for the product to a very high number in
|
|
167
170
|
# order to mimic :latest so that one does not need to handle this
|
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.5.
|
|
4
|
+
version: 3.5.1
|
|
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-08
|
|
12
|
+
date: 2017-09-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mixlib-shellout
|