gaku_nested_forms 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,11 +12,11 @@ formBuilder =
12
12
  element.parent().find('span.help-inline').remove()
13
13
  element.data "valid", true
14
14
 
15
- window.ClientSideValidations.formBuilders["GakuNestedForms::FormBuilders::ValidateNestedFormBuilder"] = formBuilder
15
+ window.Rails4ClientSideValidations.formBuilders["GakuNestedForms::FormBuilders::ValidateNestedFormBuilder"] = formBuilder
16
16
 
17
17
  $ ->
18
18
 
19
- window.ClientSideValidations.callbacks.element.fail = (element, message, callback) ->
19
+ window.Rails4ClientSideValidations.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,73 +1,70 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gaku_nested_forms
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 2
10
- version: 0.0.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Vassil Kalkov
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-04-23 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-05-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: gaku_forms
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.1.0
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: nested_form
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: nested_form
32
+ requirement: !ruby/object:Gem::Requirement
38
33
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
46
38
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: client_side_validations
50
39
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
52
41
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rails4_client_side_validations
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
60
54
  type: :runtime
61
- version_requirements: *id003
62
- description: ""
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description: ''
63
63
  email: vassilkalkov@gmail.com
64
64
  executables: []
65
-
66
65
  extensions: []
67
-
68
66
  extra_rdoc_files: []
69
-
70
- files:
67
+ files:
71
68
  - lib/gaku_nested_forms.rb
72
69
  - lib/gaku_nested_forms/engine.rb
73
70
  - lib/gaku_nested_forms/helper.rb
@@ -77,38 +74,27 @@ files:
77
74
  - README.md
78
75
  homepage: http://kalkov.github.io
79
76
  licenses: []
80
-
81
77
  post_install_message:
82
78
  rdoc_options: []
83
-
84
- require_paths:
79
+ require_paths:
85
80
  - lib
86
- required_ruby_version: !ruby/object:Gem::Requirement
81
+ required_ruby_version: !ruby/object:Gem::Requirement
87
82
  none: false
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- hash: 57
92
- segments:
93
- - 1
94
- - 8
95
- - 7
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
96
86
  version: 1.8.7
97
- required_rubygems_version: !ruby/object:Gem::Requirement
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
88
  none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- hash: 3
103
- segments:
104
- - 0
105
- version: "0"
106
- requirements:
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements:
107
94
  - none
108
95
  rubyforge_project:
109
- rubygems_version: 1.8.15
96
+ rubygems_version: 1.8.25
110
97
  signing_key:
111
98
  specification_version: 3
112
99
  summary: Gaku Nested Forms
113
100
  test_files: []
114
-