module Outdated::RubyGems

Public Class Methods

gem(name) click to toggle source
# File lib/outdated/ruby_gems.rb, line 5
def self.gem(name)
  response = HTTP.get("https://rubygems.org/api/v1/versions/#{name}.json")
  Outdated::RubyGems::Gem.from_response(name, response)
end