Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.19 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.19 KB

favis-ci-rails

Continuous Integration in your Favicon.

Introduction

This is a gem for jaunesarmiento's favis-ci

Installation

Add this line to your application's Gemfile:

gem 'favis-ci-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install favis-ci-rails

Usage

You need to add the following your application.js or application.js.coffee:

#= require favis-ci

To use Favis-CI on your pages, just do:

var favis = new Favis('<username>/<repository>');

For example, to generate a Favis CI favicon for the Ember.js project, do:

For coffeescript

favis = new Favis('emberjs/ember.js')

For javascript

var favis = new Favis('emberjs/ember.js');

Contributing

  1. Fork it
  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 new Pull Request