Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitboxer/gem-web
A gem plugin to open the webpage of the given gem
https://github.com/bitboxer/gem-web
Last synced: 2 months ago
JSON representation
A gem plugin to open the webpage of the given gem
- Host: GitHub
- URL: https://github.com/bitboxer/gem-web
- Owner: bitboxer
- License: mit
- Created: 2014-02-11T16:01:07.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-05-25T15:04:41.000Z (over 5 years ago)
- Last Synced: 2024-04-25T23:04:06.323Z (9 months ago)
- Language: Ruby
- Size: 18.6 KB
- Stars: 13
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Gem::Web
[![Build Status](https://travis-ci.com/bitboxer/gem-web.png?branch=master)](http://travis-ci.com/bitboxer/gem-web) [![Gem Version](https://badge.fury.io/rb/gem-web.png)](http://badge.fury.io/rb/gem-web)
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 gemIf the specified page was not found, it opens the rubygems.org page for the gem.
## Thanks
Thanks to [@grosser](http://github.com/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