Badgify
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'badgify', git: '[email protected]:homestars/badgify.git'
And then execute:
$ bundle
Create configuration file
$ bundle exec rails g badgify badge
This will create a config/badgify_config.yml
Edit that file as you see fit. The format is
number: string_representation
(see example in file)
USAGE:
Badgify.new(approved_reviews).badge
That will return the string representation defined in the yml config file
Or install it yourself as:
$ gem install badgify
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/[my-github-username]/badgify/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request