0.0
No commit activity in last 3 years
No release in over 3 years
Easy access to the RubyGems API through a convenient ruby interface
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
>= 0
>= 0

Runtime

 Project Readme

RubyGemsApi

Code Climate Coverage Status Build Status

Easy access to the RubyGems API through a convenient ruby interface

Installation

Add this line to your application's Gemfile:

gem 'RubyGemsApi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install RubyGemsApi

Usage

  • Pass a valid gem name (must be the same as on RubyGems.org) to a new instance of RubyGems

  • Command is on the left, output is on the right

    require 'ruby_gems'
    
    faraday = RubyGems.new("faraday")
    faraday.name # 'faraday'
    faraday.version # '0.9.0'
    faraday.downloads # 9588400
    faraday.version_downloads # 1202947
    faraday.urls # {:gem_uri => "http://rubygems.org/gems/faraday-0.9.0.gem",:homepage_uri => "https://github.com/lostisland/faraday",:project_uri => "http://rubygems.org/gems/faraday"}
    faraday.description # "HTTP/REST API client library."
    faraday.dependencies # {:development => [{:name => "bundler", :requirements => "~> 1.0"}], :runtime => [{:name => "multipart-post", :requirements => "< 3, >= 1.2"}]}
    faraday.licenses # ['MIT']
    faraday.authors # ['Rick Olson']
    faraday.platform # ['ruby']

Contributing

  1. Fork it ( https://github.com/stevepm/RubyGemsApi/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request