Mozart::Rails

Gem Version Build Status Dependency Status Code Climate Coverage Status

Mozart! For Rails!

This gem provides:

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

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