cocoon 1.2.10 → 1.2.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MmRkODE5NTEyY2EyYjMyNjYyODExYjcwY2VlZmVhNTVmMzAxNDdhNA==
5
- data.tar.gz: !binary |-
6
- NzBmOTNkOTIzZjY0YmMxY2I3NjM0OTNiNTU1MDUzMzhjYzgxNDcwNA==
2
+ SHA1:
3
+ metadata.gz: 1b41a3b05044110e35f9ac65dca30cdcb96455a4
4
+ data.tar.gz: b98f78e8fb764b7de9d6aedfd86a1e50f6359390
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzZhOGI4MWM3NWYzOWUyYmI4NWMwMjkxMjQyMjY2NDZmZTY5YjA2Nzc3ZjUz
10
- MDM5NWI2NDBlNmEzZTMzNWI2N2E5NWUzM2YxZWVmYzgyZTIyZDJiMmIxYzU2
11
- ZjgxZjIzODQ4ZWYxNDVhZGYyNjc0NGU5NzQxMGVhNDA2NzhhNmU=
12
- data.tar.gz: !binary |-
13
- YjZlYTBmYzc0NzljYWM1ODU5M2NjZWEyNzYyNWUxZmUwYzkyZWIzMWE1ZDg1
14
- NTA4YTViYWNkYTYyMmUzY2MyZTljNWMzODhlM2E5MzgwMjA1NTBmMDI1NTY5
15
- M2IyMzBhZGY2ODlhMzc1MzhkNjMyNmU3ZTE2MzljODQ5OTRmNDI=
6
+ metadata.gz: '08fcb909826ebaa9728e62e0af6ba8392e655d5cedc03685aeccd90ee60e9247a5b4314b495e3024d82cc8de832569a03c224d6d125923ec4f392bb5870beafb'
7
+ data.tar.gz: 1790076ada7fee16d634da3d17fc37cdb9cf5178285fc422285b57fa3ed831811e301c4fbf2ae5731f7ce5e49bb2d83207821105fccf37726310f0a336f8e252
@@ -1,6 +1,5 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
3
  - 2.1.5
5
4
  - 2.2.6
6
5
  - 2.3.2
data/Gemfile CHANGED
@@ -3,9 +3,9 @@ source "http://rubygems.org"
3
3
 
4
4
  group :development, :test do
5
5
  gem "rails", ">=4.0.0"
6
- gem "sqlite3"
6
+ gem "sqlite3", '1.3.13'
7
7
  gem "json_pure"
8
- gem "jeweler", "~> 1.8"
8
+ gem "jeweler", "~> 2.3"
9
9
  gem "rspec-rails", "~> 3.0.0"
10
10
  gem "rspec", "~> 3.0.0"
11
11
  gem "actionpack", ">=4.0.0"
@@ -19,7 +19,7 @@ group :development, :test do
19
19
  platforms :rbx do
20
20
  gem 'rubysl'
21
21
  gem 'rubysl-test-unit'
22
- gem 'psych'
22
+ gem 'psych', '~> 2.2'
23
23
  gem 'racc'
24
24
  gem 'rubinius-developer_tools'
25
25
  end
@@ -8,13 +8,13 @@ Nested forms are forms that handle nested models and attributes in one form;
8
8
  e.g. a project with its tasks or an invoice with its line items.
9
9
 
10
10
  Cocoon is form builder-agnostic, so it works with standard Rails, [Formtastic](https://github.com/justinfrench/formtastic), or [SimpleForm](https://github.com/plataformatec/simple_form).
11
- It is compatible with rails 3 and rails 4.
11
+ It is compatible with rails 3, 4 and 5.
12
12
 
13
13
  This project is not related to [Apache Cocoon](http://cocoon.apache.org/).
14
14
 
15
15
  ## Prerequisites
16
16
 
17
- This gem depends on jQuery, so it's most useful in a Rails 3 project where you are already using jQuery.
17
+ This gem depends on jQuery, so it's most useful in a Rails project where you are already using jQuery.
18
18
  Furthermore, I would advise you to use either [Formtastic](https://github.com/justinfrench/formtastic) or [SimpleForm](https://github.com/plataformatec/simple_form).
19
19
 
20
20
  ## Installation
@@ -318,8 +318,9 @@ a new nested object.
318
318
  This used to have a side-effect: for each call of `link_to_add_association` a new element was added to the association.
319
319
  This is no longer the case.
320
320
 
321
- For backward compatibility we keep this option for now. Or if for some specific reason you would
322
- really need an object to be _not_ created on the association.
321
+ For backward compatibility we keep this option for now. Or if for some specific reason you would really need an object
322
+ to be _not_ created on the association, for example if you did not want `after_add` callback to be triggered on
323
+ the association.
323
324
 
324
325
  Example use:
325
326
 
@@ -358,9 +359,9 @@ Example:
358
359
 
359
360
  On insertion or removal the following events are triggered:
360
361
 
361
- * `cocoon:before-insert`: called before inserting a new nested child
362
+ * `cocoon:before-insert`: called before inserting a new nested child, can be [canceled](#canceling-a-callback)
362
363
  * `cocoon:after-insert`: called after inserting
363
- * `cocoon:before-remove`: called before removing the nested child
364
+ * `cocoon:before-remove`: called before removing the nested child, can be [canceled](#canceling-a-callback)
364
365
  * `cocoon:after-remove`: called after removal
365
366
 
366
367
  To listen to the events in your JavaScript:
@@ -435,6 +436,21 @@ $(this).data('remove-timeout', 1000);
435
436
 
436
437
  You could also immediately add this to your view, on the `.nested-fields` container (or the `wrapper_class` element you are using).
437
438
 
439
+ #### Canceling a Callback
440
+
441
+ You can cancel an action from occurring, either an insertion or removal, within the `before-<action>` callback by calling `event.preventDefault()` anywhere within the callback.
442
+
443
+ For example:
444
+
445
+ ```javascript
446
+ $('#container').on('cocoon:before-insert', function(event, insertedItem) {
447
+ var confirmation = confirm("Are you sure?");
448
+ if( confirmation === false ){
449
+ event.preventDefault();
450
+ }
451
+ });
452
+ ```
453
+
438
454
  ### Control the Insertion Behaviour
439
455
 
440
456
  The default insertion location is at the back of the current container. But we have added two `data-` attributes that are read to determine the insertion-node and -method.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.10
1
+ 1.2.11
@@ -84,14 +84,17 @@
84
84
  $.each(new_contents, function(i, node) {
85
85
  var contentNode = $(node);
86
86
 
87
- insertionNodeElem.trigger('cocoon:before-insert', [contentNode]);
87
+ var before_insert = jQuery.Event('cocoon:before-insert');
88
+ insertionNodeElem.trigger(before_insert, [contentNode]);
88
89
 
89
- // allow any of the jquery dom manipulation methods (after, before, append, prepend, etc)
90
- // to be called on the node. allows the insertion node to be the parent of the inserted
91
- // code and doesn't force it to be a sibling like after/before does. default: 'before'
92
- var addedContent = insertionNodeElem[insertionMethod](contentNode);
90
+ if (!before_insert.isDefaultPrevented()) {
91
+ // allow any of the jquery dom manipulation methods (after, before, append, prepend, etc)
92
+ // to be called on the node. allows the insertion node to be the parent of the inserted
93
+ // code and doesn't force it to be a sibling like after/before does. default: 'before'
94
+ var addedContent = insertionNodeElem[insertionMethod](contentNode);
93
95
 
94
- insertionNodeElem.trigger('cocoon:after-insert', [contentNode]);
96
+ insertionNodeElem.trigger('cocoon:after-insert', [contentNode]);
97
+ }
95
98
  });
96
99
  });
97
100
 
@@ -103,19 +106,22 @@
103
106
 
104
107
  e.preventDefault();
105
108
 
106
- trigger_node.trigger('cocoon:before-remove', [node_to_delete]);
107
-
108
- var timeout = trigger_node.data('remove-timeout') || 0;
109
-
110
- setTimeout(function() {
111
- if ($this.hasClass('dynamic')) {
112
- node_to_delete.remove();
113
- } else {
114
- $this.prev("input[type=hidden]").val("1");
115
- node_to_delete.hide();
116
- }
117
- trigger_node.trigger('cocoon:after-remove', [node_to_delete]);
118
- }, timeout);
109
+ var before_remove = jQuery.Event('cocoon:before-remove');
110
+ trigger_node.trigger(before_remove, [node_to_delete]);
111
+
112
+ if (!before_remove.isDefaultPrevented()) {
113
+ var timeout = trigger_node.data('remove-timeout') || 0;
114
+
115
+ setTimeout(function() {
116
+ if ($this.hasClass('dynamic')) {
117
+ node_to_delete.remove();
118
+ } else {
119
+ $this.prev("input[type=hidden]").val("1");
120
+ node_to_delete.hide();
121
+ }
122
+ trigger_node.trigger('cocoon:after-remove', [node_to_delete]);
123
+ }, timeout);
124
+ }
119
125
  });
120
126
 
121
127
 
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: cocoon 1.2.10 ruby lib
5
+ # stub: cocoon 1.2.11 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "cocoon".freeze
9
- s.version = "1.2.10"
9
+ s.version = "1.2.11"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Nathan Van der Auwera".freeze]
14
- s.date = "2017-05-11"
14
+ s.date = "2017-10-26"
15
15
  s.description = "Unobtrusive nested forms handling, using jQuery. Use this and discover cocoon-heaven.".freeze
16
16
  s.email = "nathan@dixis.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -82,7 +82,7 @@ Gem::Specification.new do |s|
82
82
  ]
83
83
  s.homepage = "http://github.com/nathanvda/cocoon".freeze
84
84
  s.licenses = ["MIT".freeze]
85
- s.rubygems_version = "2.6.10".freeze
85
+ s.rubygems_version = "2.6.14".freeze
86
86
  s.summary = "gem that enables easier nested forms with standard forms, formtastic and simple-form".freeze
87
87
 
88
88
  if s.respond_to? :specification_version then
@@ -90,9 +90,9 @@ Gem::Specification.new do |s|
90
90
 
91
91
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
92
92
  s.add_development_dependency(%q<rails>.freeze, [">= 4.0.0"])
93
- s.add_development_dependency(%q<sqlite3>.freeze, [">= 0"])
93
+ s.add_development_dependency(%q<sqlite3>.freeze, ["= 1.3.13"])
94
94
  s.add_development_dependency(%q<json_pure>.freeze, [">= 0"])
95
- s.add_development_dependency(%q<jeweler>.freeze, ["~> 1.8"])
95
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3"])
96
96
  s.add_development_dependency(%q<rspec-rails>.freeze, ["~> 3.0.0"])
97
97
  s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0.0"])
98
98
  s.add_development_dependency(%q<actionpack>.freeze, [">= 4.0.0"])
@@ -102,14 +102,14 @@ Gem::Specification.new do |s|
102
102
  s.add_development_dependency(%q<generator_spec>.freeze, [">= 0"])
103
103
  s.add_development_dependency(%q<rubysl>.freeze, [">= 0"])
104
104
  s.add_development_dependency(%q<rubysl-test-unit>.freeze, [">= 0"])
105
- s.add_development_dependency(%q<psych>.freeze, [">= 0"])
105
+ s.add_development_dependency(%q<psych>.freeze, ["~> 2.2"])
106
106
  s.add_development_dependency(%q<racc>.freeze, [">= 0"])
107
107
  s.add_development_dependency(%q<rubinius-developer_tools>.freeze, [">= 0"])
108
108
  else
109
109
  s.add_dependency(%q<rails>.freeze, [">= 4.0.0"])
110
- s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
110
+ s.add_dependency(%q<sqlite3>.freeze, ["= 1.3.13"])
111
111
  s.add_dependency(%q<json_pure>.freeze, [">= 0"])
112
- s.add_dependency(%q<jeweler>.freeze, ["~> 1.8"])
112
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
113
113
  s.add_dependency(%q<rspec-rails>.freeze, ["~> 3.0.0"])
114
114
  s.add_dependency(%q<rspec>.freeze, ["~> 3.0.0"])
115
115
  s.add_dependency(%q<actionpack>.freeze, [">= 4.0.0"])
@@ -119,15 +119,15 @@ Gem::Specification.new do |s|
119
119
  s.add_dependency(%q<generator_spec>.freeze, [">= 0"])
120
120
  s.add_dependency(%q<rubysl>.freeze, [">= 0"])
121
121
  s.add_dependency(%q<rubysl-test-unit>.freeze, [">= 0"])
122
- s.add_dependency(%q<psych>.freeze, [">= 0"])
122
+ s.add_dependency(%q<psych>.freeze, ["~> 2.2"])
123
123
  s.add_dependency(%q<racc>.freeze, [">= 0"])
124
124
  s.add_dependency(%q<rubinius-developer_tools>.freeze, [">= 0"])
125
125
  end
126
126
  else
127
127
  s.add_dependency(%q<rails>.freeze, [">= 4.0.0"])
128
- s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
128
+ s.add_dependency(%q<sqlite3>.freeze, ["= 1.3.13"])
129
129
  s.add_dependency(%q<json_pure>.freeze, [">= 0"])
130
- s.add_dependency(%q<jeweler>.freeze, ["~> 1.8"])
130
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.3"])
131
131
  s.add_dependency(%q<rspec-rails>.freeze, ["~> 3.0.0"])
132
132
  s.add_dependency(%q<rspec>.freeze, ["~> 3.0.0"])
133
133
  s.add_dependency(%q<actionpack>.freeze, [">= 4.0.0"])
@@ -137,7 +137,7 @@ Gem::Specification.new do |s|
137
137
  s.add_dependency(%q<generator_spec>.freeze, [">= 0"])
138
138
  s.add_dependency(%q<rubysl>.freeze, [">= 0"])
139
139
  s.add_dependency(%q<rubysl-test-unit>.freeze, [">= 0"])
140
- s.add_dependency(%q<psych>.freeze, [">= 0"])
140
+ s.add_dependency(%q<psych>.freeze, ["~> 2.2"])
141
141
  s.add_dependency(%q<racc>.freeze, [">= 0"])
142
142
  s.add_dependency(%q<rubinius-developer_tools>.freeze, [">= 0"])
143
143
  end
metadata CHANGED
@@ -1,241 +1,237 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.10
4
+ version: 1.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Van der Auwera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-11 00:00:00.000000000 Z
11
+ date: 2017-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.0.0
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 1.3.13
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 1.3.13
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json_pure
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jeweler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: !binary |-
62
- MS44
61
+ version: '2.3'
63
62
  type: :development
64
63
  prerelease: false
65
64
  version_requirements: !ruby/object:Gem::Requirement
66
65
  requirements:
67
- - - ~>
66
+ - - "~>"
68
67
  - !ruby/object:Gem::Version
69
- version: !binary |-
70
- MS44
68
+ version: '2.3'
71
69
  - !ruby/object:Gem::Dependency
72
70
  name: rspec-rails
73
71
  requirement: !ruby/object:Gem::Requirement
74
72
  requirements:
75
- - - ~>
73
+ - - "~>"
76
74
  - !ruby/object:Gem::Version
77
75
  version: 3.0.0
78
76
  type: :development
79
77
  prerelease: false
80
78
  version_requirements: !ruby/object:Gem::Requirement
81
79
  requirements:
82
- - - ~>
80
+ - - "~>"
83
81
  - !ruby/object:Gem::Version
84
82
  version: 3.0.0
85
83
  - !ruby/object:Gem::Dependency
86
84
  name: rspec
87
85
  requirement: !ruby/object:Gem::Requirement
88
86
  requirements:
89
- - - ~>
87
+ - - "~>"
90
88
  - !ruby/object:Gem::Version
91
89
  version: 3.0.0
92
90
  type: :development
93
91
  prerelease: false
94
92
  version_requirements: !ruby/object:Gem::Requirement
95
93
  requirements:
96
- - - ~>
94
+ - - "~>"
97
95
  - !ruby/object:Gem::Version
98
96
  version: 3.0.0
99
97
  - !ruby/object:Gem::Dependency
100
98
  name: actionpack
101
99
  requirement: !ruby/object:Gem::Requirement
102
100
  requirements:
103
- - - ! '>='
101
+ - - ">="
104
102
  - !ruby/object:Gem::Version
105
103
  version: 4.0.0
106
104
  type: :development
107
105
  prerelease: false
108
106
  version_requirements: !ruby/object:Gem::Requirement
109
107
  requirements:
110
- - - ! '>='
108
+ - - ">="
111
109
  - !ruby/object:Gem::Version
112
110
  version: 4.0.0
113
111
  - !ruby/object:Gem::Dependency
114
112
  name: simplecov
115
113
  requirement: !ruby/object:Gem::Requirement
116
114
  requirements:
117
- - - ! '>='
115
+ - - ">="
118
116
  - !ruby/object:Gem::Version
119
117
  version: '0'
120
118
  type: :development
121
119
  prerelease: false
122
120
  version_requirements: !ruby/object:Gem::Requirement
123
121
  requirements:
124
- - - ! '>='
122
+ - - ">="
125
123
  - !ruby/object:Gem::Version
126
124
  version: '0'
127
125
  - !ruby/object:Gem::Dependency
128
126
  name: rake
129
127
  requirement: !ruby/object:Gem::Requirement
130
128
  requirements:
131
- - - ~>
129
+ - - "~>"
132
130
  - !ruby/object:Gem::Version
133
- version: !binary |-
134
- MTAuMQ==
131
+ version: '10.1'
135
132
  type: :development
136
133
  prerelease: false
137
134
  version_requirements: !ruby/object:Gem::Requirement
138
135
  requirements:
139
- - - ~>
136
+ - - "~>"
140
137
  - !ruby/object:Gem::Version
141
- version: !binary |-
142
- MTAuMQ==
138
+ version: '10.1'
143
139
  - !ruby/object:Gem::Dependency
144
140
  name: nokogiri
145
141
  requirement: !ruby/object:Gem::Requirement
146
142
  requirements:
147
- - - ! '>='
143
+ - - ">="
148
144
  - !ruby/object:Gem::Version
149
145
  version: '0'
150
146
  type: :development
151
147
  prerelease: false
152
148
  version_requirements: !ruby/object:Gem::Requirement
153
149
  requirements:
154
- - - ! '>='
150
+ - - ">="
155
151
  - !ruby/object:Gem::Version
156
152
  version: '0'
157
153
  - !ruby/object:Gem::Dependency
158
154
  name: generator_spec
159
155
  requirement: !ruby/object:Gem::Requirement
160
156
  requirements:
161
- - - ! '>='
157
+ - - ">="
162
158
  - !ruby/object:Gem::Version
163
159
  version: '0'
164
160
  type: :development
165
161
  prerelease: false
166
162
  version_requirements: !ruby/object:Gem::Requirement
167
163
  requirements:
168
- - - ! '>='
164
+ - - ">="
169
165
  - !ruby/object:Gem::Version
170
166
  version: '0'
171
167
  - !ruby/object:Gem::Dependency
172
168
  name: rubysl
173
169
  requirement: !ruby/object:Gem::Requirement
174
170
  requirements:
175
- - - ! '>='
171
+ - - ">="
176
172
  - !ruby/object:Gem::Version
177
173
  version: '0'
178
174
  type: :development
179
175
  prerelease: false
180
176
  version_requirements: !ruby/object:Gem::Requirement
181
177
  requirements:
182
- - - ! '>='
178
+ - - ">="
183
179
  - !ruby/object:Gem::Version
184
180
  version: '0'
185
181
  - !ruby/object:Gem::Dependency
186
182
  name: rubysl-test-unit
187
183
  requirement: !ruby/object:Gem::Requirement
188
184
  requirements:
189
- - - ! '>='
185
+ - - ">="
190
186
  - !ruby/object:Gem::Version
191
187
  version: '0'
192
188
  type: :development
193
189
  prerelease: false
194
190
  version_requirements: !ruby/object:Gem::Requirement
195
191
  requirements:
196
- - - ! '>='
192
+ - - ">="
197
193
  - !ruby/object:Gem::Version
198
194
  version: '0'
199
195
  - !ruby/object:Gem::Dependency
200
196
  name: psych
201
197
  requirement: !ruby/object:Gem::Requirement
202
198
  requirements:
203
- - - ! '>='
199
+ - - "~>"
204
200
  - !ruby/object:Gem::Version
205
- version: '0'
201
+ version: '2.2'
206
202
  type: :development
207
203
  prerelease: false
208
204
  version_requirements: !ruby/object:Gem::Requirement
209
205
  requirements:
210
- - - ! '>='
206
+ - - "~>"
211
207
  - !ruby/object:Gem::Version
212
- version: '0'
208
+ version: '2.2'
213
209
  - !ruby/object:Gem::Dependency
214
210
  name: racc
215
211
  requirement: !ruby/object:Gem::Requirement
216
212
  requirements:
217
- - - ! '>='
213
+ - - ">="
218
214
  - !ruby/object:Gem::Version
219
215
  version: '0'
220
216
  type: :development
221
217
  prerelease: false
222
218
  version_requirements: !ruby/object:Gem::Requirement
223
219
  requirements:
224
- - - ! '>='
220
+ - - ">="
225
221
  - !ruby/object:Gem::Version
226
222
  version: '0'
227
223
  - !ruby/object:Gem::Dependency
228
224
  name: rubinius-developer_tools
229
225
  requirement: !ruby/object:Gem::Requirement
230
226
  requirements:
231
- - - ! '>='
227
+ - - ">="
232
228
  - !ruby/object:Gem::Version
233
229
  version: '0'
234
230
  type: :development
235
231
  prerelease: false
236
232
  version_requirements: !ruby/object:Gem::Requirement
237
233
  requirements:
238
- - - ! '>='
234
+ - - ">="
239
235
  - !ruby/object:Gem::Version
240
236
  version: '0'
241
237
  description: Unobtrusive nested forms handling, using jQuery. Use this and discover
@@ -246,7 +242,7 @@ extensions: []
246
242
  extra_rdoc_files:
247
243
  - README.markdown
248
244
  files:
249
- - .travis.yml
245
+ - ".travis.yml"
250
246
  - Gemfile
251
247
  - History.md
252
248
  - MIT-LICENSE
@@ -317,17 +313,17 @@ require_paths:
317
313
  - lib
318
314
  required_ruby_version: !ruby/object:Gem::Requirement
319
315
  requirements:
320
- - - ! '>='
316
+ - - ">="
321
317
  - !ruby/object:Gem::Version
322
318
  version: '0'
323
319
  required_rubygems_version: !ruby/object:Gem::Requirement
324
320
  requirements:
325
- - - ! '>='
321
+ - - ">="
326
322
  - !ruby/object:Gem::Version
327
323
  version: '0'
328
324
  requirements: []
329
325
  rubyforge_project:
330
- rubygems_version: 2.6.10
326
+ rubygems_version: 2.6.14
331
327
  signing_key:
332
328
  specification_version: 4
333
329
  summary: gem that enables easier nested forms with standard forms, formtastic and