[Image]
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
- Set up your Github API Key
Install
the config file (above)- Include your github
username
andAPI key
in the config* - Call the rake task
rake github:update
to pull the requested data fromGithub
- The gem will store the data as you require
Contributing
- Fork it ( https://github.com/[my-github-username]/github_versioning/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