formtastic-jquery_inputmask 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 329e645b3729b701b8a519ce148f14db9622a0f9
4
- data.tar.gz: 90d18391cd9e4ca845778c3d15b01c7c98f869d4
3
+ metadata.gz: dbf3e0961f152c669202c96fbd547b6bc282d170
4
+ data.tar.gz: e226d80560c1437cd797ffa8736595691a492b86
5
5
  SHA512:
6
- metadata.gz: 98dbd6009f9790ea1f0df083a921f83675521637e2e88d1cbc9e7d8eaf3b85c87783c6d7ea3cde05794268aa97a656b8c934fc78ae95d35b3222e894751f30c4
7
- data.tar.gz: a9a635b47a3a9bb5d3b3b48f57b3a2a5e7ff0f4ca9488c9f70a3b7f1a21de9660aa61cb1c3a29e2ed64511176c22e0eb630adef6aa2cfa06f261136726039239
6
+ metadata.gz: 21d18d97d454434435c37c7a039a366940d970493cb999c7c711092175d7a78e01da098a0ca53ae60a6b222585b58ba1eaf1c40ab2a06d8ab3e5e178b59658ba
7
+ data.tar.gz: 319363d568753bf344dae58366a584b22afcda37db77cda70bd0b336233b1321ab7ec899c04f0e6a7ae56fd64d72666f370fef36905ac5939385c017e6a0fb1f
data/README.md CHANGED
@@ -12,7 +12,7 @@ gem 'formtastic-jquery_inputmask'
12
12
  //= require formtastic/inputmask
13
13
  ```
14
14
 
15
- **3. Load locale or other [inputmask](https://github.com/dhyegofernando/formtastic-jquery_inputmask/tree/master/vendor/Inputmask/dist) file as you want**
15
+ **3. Load locale or other [inputmask](https://github.com/dhyegofernando/formtastic-jquery_inputmask/tree/master/vendor/inputmask/dist) file as you want**
16
16
  ```javascript
17
17
  //= require formtastic/inputmask/locales/pt-BR
18
18
  //= require inputmask/phone-codes/phone-us
@@ -7,10 +7,3 @@
7
7
  //= require inputmask/inputmask.phone.extensions
8
8
  //= require inputmask/bindings/inputmask.binding
9
9
 
10
- (function($) {
11
- 'use strict';
12
-
13
- $(document).on('has_many_add:after', function(e, fieldset) {
14
- $(fieldset).find('.inputmask').inputmask();
15
- });
16
- }(jQuery));
@@ -2,8 +2,8 @@ module Formtastic
2
2
  module JqueryInputmask
3
3
  module Version
4
4
  MAJOR = 0
5
- MINOR = 1
6
- PATCH = 1
5
+ MINOR = 2
6
+ PATCH = 0
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formtastic-jquery_inputmask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dhyego Fernando