Project

gem-web

0.01
No commit activity in last 3 years
No release in over 3 years
Open the webpage, documentation or github page of a gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
>= 0
>= 0

Runtime

~> 2.4.2
 Project Readme

Gem::Web

Build Status Gem Version

This gem plugin opens the webpage for a gem. As default it tries to find the GitHub page.

Installation

$ gem install gem-web

Usage

To open the GitHub page of the rails gem enter this:

$ gem web rails

You could also open the documentation or the webpage that is defined in the gemspec by adding a parameter to the command.

Options:
  -g, --github                     Open GitHub page of gem, this searches all urls for a GitHub page. This is the default.
  -c, --sourcecode                 Open sourcecode gem
  -d, --doc                        Open documentation of gem
  -w, --webpage                    Open webpage of gem
  -t, --rubytoolbox                Open the rubytoolbox page for that gem
  -r, --rubygems                   Open the rubygems page for that gem

If the specified page was not found, it opens the rubygems.org page for the gem.

Thanks

Thanks to @grosser for the inspiration to this little gem plugin.

Contributing

  1. Fork it ( http://github.com/bitboxer/gem-web/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 new Pull Request