Mozart::Rails
Mozart! For Rails!
This gem provides:
- Mozart 0.1.8 - mozart.io
Installation
Add this line to your application's Gemfile:
For Rails 3.0 apps, add the mozart-rails gem to your Gemfile.
gem 'mozart-rails'
And then execute:
$ bundle install
Or install it yourself via:
$ bundle exec rake build
$ gem install --local pkg/mozart-rails-1.0.1.gem
Usage
Rails 3.1 or greater
The Mozart files and all dependencies will be added to the asset pipeline and be available for you to use. If they're not already in app/assets/javascripts/application.js, add these lines:
//= require mozart-all
Self-managing dependencies
Mozart has a dependency on the Handlebars, jQuery and Underscore libraries. If you want to handle these dependencies yourself, then you can use the following line instead:
//= require mozart
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