Name: grbio
Owner: Species File Group
Description: An unofficial Ruby gem wrapper on http://grbio.org to faciliate translate to local use/integration.
Created: 2016-03-11 22:25:59.0
Updated: 2016-09-01 16:59:08.0
Pushed: 2016-03-11 22:32:14.0
Size: 2538
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Grbio is an unofficial set of utilties that wrap the CSV data available at http://grbio.org. It provides simple methods to download the data, and some methods to examine it. They also include a template generator to turn the data into Rails migrations. A Rails engine dervied from this approach is forthcoming elsewhere.
Add this line to your application's Gemfile:
'grbio'
And then execute:
$ bundle
Or install it yourself as:
$ gem install grbio
See also specs.
uire 'grbio'
io.download_resources # => downloads to /tmp/*.csv
io::RailsMigration.institutions_migration # => a Rails migration, with column header nastiness fixed
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/SpeciesFileGroup/grbio.
The gem is available as open source under the terms of the University of Illinois/NCSA Open Source License.