phantom_nested_forms 0.2.0 → 0.3.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: f797d395235d21a8438f8c469c6aafdc12bc45de
4
- data.tar.gz: b185575d9a6929cb8e314589395f1520a7d3594b
3
+ metadata.gz: 5f1a0b6f44c0a282ca607669aa2b5dfdbd40911b
4
+ data.tar.gz: 6bcd4c3d2ed9701610e3de3df9beddbfbdfb8c0c
5
5
  SHA512:
6
- metadata.gz: 85ad8fffabf98431adbf769a4ecd5333234b00141b97522f1cc85281bd17fd529343350a475ae9dac11e27dac03a5bad9a97b565a7d255e601e9550090981868
7
- data.tar.gz: 1d0e09e0f9750504eb998763675baccaa049bffb09b85846b452fea849f272573eb3e4c33bac1def31ee82befab3cc64479ed6ca49f352bc7406b825bbf955c9
6
+ metadata.gz: 2772a346b09caa674384b2802283afa7ba40e33be1676f0474c48f8179667bff1a0dd6c7db03f746a54714fcfcebf8d609934a80b86368f63a13d58340e767e2
7
+ data.tar.gz: f7875431d0624cba52e44d13b0c0a70a730eb1d372de0ebc9a3681bf1895a247feb64f8d62448ae1c21076ce1b99495524967a93b223762dc02692101e144970
@@ -12,11 +12,11 @@ formBuilder =
12
12
  element.parent().find('span.help-inline').remove()
13
13
  element.data "valid", true
14
14
 
15
- window.Rails4ClientSideValidations.formBuilders["PhantomNestedForms::FormBuilders::ValidateNestedFormBuilder"] = formBuilder
15
+ window.ClientSideValidations.formBuilders["PhantomNestedForms::FormBuilders::ValidateNestedFormBuilder"] = formBuilder
16
16
 
17
17
  $ ->
18
18
 
19
- window.Rails4ClientSideValidations.callbacks.element.fail = (element, message, callback) ->
19
+ window.ClientSideValidations.callbacks.element.fail = (element, message, callback) ->
20
20
  callback()
21
21
  if element.data("valid") isnt false
22
22
  element.parent().parent().addClass "error"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phantom_nested_forms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassil Kalkov
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.0
21
+ version: 0.3.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 0.2.0
28
+ version: 0.3.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: nested_form
31
31
  requirement: !ruby/object:Gem::Requirement