A ruby gem that uses the Rails asset pipeline to include the Spectrum jQuery plugin by Brian Grinstead (@bgrins):
- Homepage: http://bgrins.github.com/spectrum/
- Source Code: https://github.com/bgrins/spectrum
Add this line to your application's Gemfile:
gem 'spectrum-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install spectrum-rails
NOTE: this is a jQuery plugin so you will also need the jquery-rails
gem:
In your application.js
you will need to add this line:
//= require spectrum
And in your application.css
you will need to add this line:
*= require spectrum
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request