No commit activity in last 3 years
No release in over 3 years
Find repos from api.rubygems.org response, gem spec, github search, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.3
>= 0
>= 3

Runtime

 Project Readme

Rubygems::CodeFinder

Gem Version Build Status Code Climate Coverage Status

Installation

Add this line to your application's Gemfile:

gem 'rubygems-code_finder'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rubygems-code_finder

Usage

irb(main):001:0> require 'rubygems-code_finder'
=> true
irb(main):002:0> Rubygems::CodeFinder.url 'tachikoma'
=> "https://github.com/sanemat/tachikoma" # Fetch from api.rubygems.org response source_code_uri
irb(main):003:0> Rubygems::CodeFinder.url 'invalid'
Rubygems::CodeFinder::RubygemsNotFound: Rubygems::CodeFinder::RubygemsNotFound
        from /Users/sane/.anyenv/envs/rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/bundler/gems/rubygems-code_finder-9fdb9327350d/lib/rubygems-code_finder.rb:15:in `url'
        from (irb):3
        from /Users/sane/.anyenv/envs/rbenv/versions/2.1.0/bin/irb:11:in `<main>'
irb(main):004:0> Rubygems::CodeFinder.url 'mm-devise'
=> "http://github.com/kristianmandrup/mm-devise" # Fetch from api.rubygems.org response homepage_url
irb(main):005:0> Rubygems::CodeFinder.url 'fluentd'
=> "https://github.com/fluent/fluentd" # Search github

Contributing

  1. Fork it ( https://github.com/sanemat/rubygems-code_finder/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