ZeroClipboard for Rails

This gem provides the ZeroClipboard Javascript/Flash library for Rails 3.1+ and Rails 4 applications.

Provides version 1.3.5 of ZeroClipboard

For more information about Zero Clipboard, visit https://github.com/jonrohan/ZeroClipboard/

Installation

Add the following to your Gemfile:

gem 'zero_clipboard-rails'

This will add the ZeroClipboard .js and .swf files to your asset pipeline.

Then require it in your application.js manifest file:

//= require zero_clipboard

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

License

This gem is licensed under the MIT License, copyright 2014 Jonathan Underwood. ZeroClipboard.js is also licensed under the MIT license, copyright 2014 Jon Rohan, James M. Greene.