lib/concourse-resource/rubygems/check.rb in concourse-resource-rubygems-0.3.1 vs lib/concourse-resource/rubygems/check.rb in concourse-resource-rubygems-0.3.2

- old
+ new

@@ -14,10 +14,10 @@ def versions ::Gems .versions(gem) .tap { |response| raise GemNotFound, response if response.is_a? String } .sort_by { |version| version['created_at'] } - .map { |version| { 'version' => version.fetch('number') } } + .map { |version| { 'number' => version.fetch('number') } } rescue GemNotFound => message STDERR.puts message abort end