mixlib-install 3.2.2 → 3.3.0

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: b1b2a94da12ffd59bdb4bebefb395ab3178c0361
4
- data.tar.gz: 2c75720f94c0b31be198af561b108519d7eb842d
3
+ metadata.gz: 3b1656c932888d4fe4b9ab8018dc030cc981cf55
4
+ data.tar.gz: 62607468ef95716b1e60b226bf210b11140704fa
5
5
  SHA512:
6
- metadata.gz: cf6bf94e8551cbd7ac275b568582f235564dc88e17238966abacefdf43b145389ca7376c30355589aa7183110a601b47e3f37cb3f7a65d04af551adf804263ae
7
- data.tar.gz: 5399447ad216693a1f3c1da050a6ab87250ac182970dde6d4c2274dcd3c174bb711cd848d09cff030f2e9071f2396f36ab283b642e3c490afdb41c25a40275f0
6
+ metadata.gz: 1948e2bb80f13534f45976eac8b0ad4fd348fdd1376585ef9ea2558ad9fd4521062429519844fa72c0404313bb9578eebd4e1aafd340ad0ff1e8c486ec399741
7
+ data.tar.gz: cbb02b511bfc708c7d2302835b522163d8243a18a0c2c81f47914fb071ef6dbd49028c308741e95f46f3cb3388e65aa3d9138fee19af802fa57ef382c395288c
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ ## [3.3.0]
4
+ - `available_versions` now returns a sorted list of versions (per mixlib-versioning)
5
+
3
6
  ## [3.2.2]
4
7
  - Fix issue [#206](https://github.com/chef/mixlib-install/issues/206) - Missing metadata now returns `nil`
5
8
 
@@ -54,8 +54,8 @@ module Mixlib
54
54
  # We are only including a single property, version and that exists
55
55
  # under the properties in the following structure:
56
56
  # "properties" => [ {"key"=>"omnibus.version", "value"=>"12.13.3"} ]
57
- ver_list = versions.map { |i| extract_version_from_response(i) }
58
- ver_list.uniq
57
+ ver_list = versions.map { |i| Mixlib::Versioning.parse(extract_version_from_response(i)) }.sort
58
+ ver_list.uniq.map(&:to_s)
59
59
  end
60
60
 
61
61
  #
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "3.2.2"
3
+ VERSION = "3.3.0"
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.2
4
+ version: 3.3.0
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-25 00:00:00.000000000 Z
12
+ date: 2017-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mixlib-shellout