Skip to content

This is a Ruby CLI Gem that will allow you to retrieve information on the various marijuana strains and their effects/uses.

License

Notifications You must be signed in to change notification settings

Sinrock/strainer

Repository files navigation

Installation

Add this line to your application's Gemfile:

gem 'strainer'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install strainer

Usage

This will help any medical marijuana or recreational users in finding specific information about all the variets of marijuana strains that exist in The Strain API. You can search by strain name, flavor, effect, race (indica, sativa, hybid) or you can list all of them. Though, this last option is not recommended by The Strain API developer as it takes a lot of resources to run.

Development

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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Sinrock/strainer.

License

The gem is available as open source under the terms of the MIT License.

About

This is a Ruby CLI Gem that will allow you to retrieve information on the various marijuana strains and their effects/uses.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published