# Parsley-Payment for Rails Asset Pipeline [Parsley-Payment](https://github.com/cmer/parsley-payment) is a credit card validation library for [Parsley.js](http://parsleyjs.org/). This gem makes it easy to use it with Rails Asset Pipeline. ## Installation Add this line to your application's Gemfile: gem "parsley-payment-rails" And then execute: $ bundle ## Usage Add the following to your `app/assets/javascripts/application.js`: //= require parsley-payment ## Versions The gem follows Parsley-Payment's versions. If the gem's version is `1.0.0.0`, then `1.0.0` is a version of Parsley-Payment and `0` is a patch level of the gem itself. ## 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