0.0
No commit activity in last 3 years
No release in over 3 years
Cleave.js has a simple purpose: to help you format input text content automatically. This gem allows for its easy inclusion into the rails asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 3.2
~> 3.0

Runtime

>= 3.1
 Project Readme

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.