Sha256: 91e4fcd3b611b301958792e4a0774a41e0408508e74a609045c2adab1b12bffd
Contents?: true
Size: 1.92 KB
Versions: 1
Compression:
Stored size: 1.92 KB
Contents
# PonyBreeds :horse: The `pony_breeds` gem provides informations for 76 pony breeds. You can easily integrate the gem into your project and use the data coming from it. ## Installation Install the gem and add to the application's Gemfile by executing: $ bundle add pony_breeds If bundler is not being used to manage dependencies, install the gem by executing: $ gem install pony_breeds ## Usage Get the pony data by the symbolized JSON key `Pony::Breeds::ReadPonyData.new.get_pony_by_key(:symbolized_key_from_json)` Get the pony data by the actual name of the pony `Pony::Breeds::ReadPonyData.new.get_pony_by_name('Actual Pony Name')` Get a random pony data `Pony::Breeds::ReadPonyData.new.retrieve_random_pony` ## 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing Contributions are welcomed to this project! If you have an idea for a new feature or find a bug, please open an issue in this repository. To contribute code to the project, follow these steps: 1. Fork this repo 2. Create a new branch for your changes 3. Make the necessary changes and commit them to your branch 4. Push your branch to your forked repository 5. Open a pull request from your branch to this repository I review your changes and merge them into the project if they are approved. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pony_breeds-0.1.3 | README.md |