morris.js for the Rails Asset Pipeline
Ruby
Permalink
Failed to load latest commit information.
lib bump make compatible with Rails 5 Dec 29, 2016
vendor/assets bump to 0.5.1 Aug 14, 2014
.gitignore init with 0.3.3 Dec 12, 2012
Gemfile
README.md Update README.md May 3, 2013
Rakefile init with 0.3.3 Dec 12, 2012
morrisjs-rails.gemspec

README.md

morrisjs-rails

morris.js for the Rails Asset Pipeline

Installation

Add this to your application's Gemfile:

gem 'morrisjs-rails'
gem 'raphael-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install morrisjs-rails
$ gem install raphael-rails

Usage

Add the following directive to your Javascript manifest file (application.js):

//= require raphael
//= require morris

Add the following directive to your css manifest file (application.css):

 *= require morris

Versioning

The naming schema is identical to morris.js.

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