0.03
No release in over 3 years
Low commit activity in last 3 years
A ruby gem that uses the Rails asset pipeline to include the Spectrum jQuery plugin by Brian Grinstead (@bgrins).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.1
 Project Readme

Spectrum::Rails

A ruby gem that uses the Rails asset pipeline to include the Spectrum jQuery plugin by Brian Grinstead (@bgrins):

Installation

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:

Usage

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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request