Skip to content

arbythree/cleavejs-rails

Repository files navigation

cleavejs-rails

(Cleave.js)[https://github.com/nosir/cleave.js] for the Rails asset pipeline!

Usage

Add the following to your Gemfile:

gem 'cleavejs-rails', git: 'https://github.com/raybradley/cleave-rails.git'

Add the following directive to your Javascript manifest file (application.js):

//= require cleave

Versioning

The gem version is intended to track the cleave.js version. I'll endeavor to keep them sync'ed up.

Full disclosure

This is my first time creating a gem. Thanks for (derekprior)[https://github.com/derekprior] whose (momentjs-rails)[https://github.com/derekprior/momentjs-rails] gem served as guidance. Suggestions & pull requests welcome.

About

Cleave.js for the Ruby on Rails pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages