[Image]

Gem Version Dependency Status Code Climate Build Status Coverage Status

Retrieves release data from Github and allows you to integrate into your system (even with Private Repos)

Gives you the ability to create a synced release system for your app - drawing on the releases you push to Github. The latest release will be available for your app to use (typically by storing it in your database).

Github_Versioning works by giving you a simple github:update rake task. This task will pull the latest releases from your designated repo, allowing you to keep your app's releases in line with your git repository.


Installation

Add this line to your application's Gemfile:

gem 'versionizer'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install versionizer

With the gem installed, simply run:

$ rails g versionizer:install #-> creates #config/initializers/versionizer.rb

Usage

  1. Set up your Github API Key
  2. Install the config file (above)
  3. Include your github username and API key in the config*
  4. Call the rake task rake github:update to pull the requested data from Github
  5. The gem will store the data as you require

Contributing

  1. Fork it ( https://github.com/[my-github-username]/github_versioning/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