lib/zold/gem.rb in zold-0.16.13 vs lib/zold/gem.rb in zold-0.16.14
- old
+ new
@@ -32,10 +32,10 @@
module Zold
# Gem
class Gem
def last_version
JsonPage.new(
- Http.new(uri: 'https://rubygems.org/api/v1/versions/zold/latest.json', score: Score::ZERO).get.body
+ Http.new(uri: 'https://rubygems.org/api/v1/versions/zold/latest.json').get.body
).to_hash['version']
rescue StandardError => _
'0.0.0'
end
end