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

  1. Fork it ( https://github.com/[my-github-username]/badgify/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 a new Pull Request