Rails
This gem works with Rails 4 (only)
D3_Rails
Version 3.2.8 (of d3 in most current gem)
Included Javascripts
cal_heatmap_rails.js
cal-heatmap.js
cal-heatmap-min.js
Included Stylesheets
cal_heatmap_rails.css
cal-heatmap.css
Installation
Add this lines to your application's Gemfile:
gem 'd3_rails', github: 'everaldo/d3_rails'
gem 'cal_heatmap_rails', github: 'everaldo/cal_heatmap_rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cal_heatmap_rails
Usage
For use with the asset pipeline, you can include the cal_heatmap_rails javascript in your rails application by merely including the following line in your application.js manifest
//= require cal_heatmap_rails
and in your application.css manifest:
*= require cal_heatmap_rails
Contributing
- Fork it
- 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 new Pull Request