knife-changelog 0.5.14 → 0.5.15

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: 9ba116e510147c69ec799adfddd749fdbc5e86a9
4
- data.tar.gz: e52264b4ccfc9d0c3c32e4cf4ab7b085962a098c
3
+ metadata.gz: ff67d8b4506667592d8ceeff5ec589efd9bb01dd
4
+ data.tar.gz: f1c11fce3ecdece6250c6126ab015ccb5168f2cd
5
5
  SHA512:
6
- metadata.gz: a4f3393f8359ee5b9c77f1c41b779b8672750fa670a26e54d09f48e4eeb9e4ace8b8b409a8fc6bbb9ae808c849f7268789664e5ed933192a10d0def344e69a36
7
- data.tar.gz: e6c69313c42e4c19fa712259ea06d03de976e66599eb1cabe5b52c686e001b8b4d689935c8e22f9e6e7ef3a35532b963e5780f20fbcf05502655f191b7343f12
6
+ metadata.gz: 4b335acad6ec591b1aeb1df1bea9cf0e8dc5b7282c3d57cc652c1d473cb68d824f17b9d40f449b2c16244980c060f9bc643b628c1fd72963d5694af9ab1a8759
7
+ data.tar.gz: 272d03fec7426ebe09888592ffb825ec775208c26a497551052f23a0c4fd2abaa076e794534853f4c247c977e6be6b4d4c9e7fd9bf31885fe53512ee6e065144
@@ -117,9 +117,8 @@ class KnifeChangelog
117
117
  end
118
118
  .compact
119
119
  .map { |json| JSON.parse(json) }
120
- .sort_by { |ck| Gem::Version.new(ck['latest_version'].split('/').last) }
121
120
  .map { |ck| ck['source_url'] || ck ['external_url'] }
122
- .last
121
+ .first
123
122
  .tap do |source|
124
123
  raise "Canot find any changelog source for #{name}" unless source
125
124
  end
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Changelog
3
- VERSION = "0.5.14"
3
+ VERSION = "0.5.15"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.14
4
+ version: 0.5.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregoire Seux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-07 00:00:00.000000000 Z
11
+ date: 2017-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler