cocoon 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -1,6 +1,6 @@
1
1
  # cocoon
2
2
 
3
- [![Build Status](http://travis-ci.org/nathanvda/cocoon.png)](http://travis-ci.org/nathanvda/cocoon)
3
+ [![Build Status](https://travis-ci.org/nathanvda/cocoon.png)](https://travis-ci.org/nathanvda/cocoon)
4
4
 
5
5
  cocoon is a Rails3 gem to allow easier handling of nested forms.
6
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
 
11
- $('.add_fields').live('click', function(e) {
11
+ $(document).on('click', '.add_fields', function(e) {
12
12
  e.preventDefault();
13
13
  var $this = $(this),
14
14
  assoc = $this.data('association'),
@@ -55,7 +55,7 @@
55
55
  });
56
56
 
57
57
 
58
- $('.remove_fields.dynamic, .remove_fields.existing').live('click', function(e) {
58
+ $(document).on('click', '.remove_fields.dynamic, .remove_fields.existing', function(e) {
59
59
  var $this = $(this);
60
60
  var node_to_delete = $this.closest(".nested-fields");
61
61
  var trigger_node = node_to_delete.parent();
data/cocoon.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "cocoon"
8
- s.version = "1.1.1"
8
+ s.version = "1.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nathan Van der Auwera"]
12
- s.date = "2012-11-22"
12
+ s.date = "2013-01-21"
13
13
  s.description = "Unobtrusive nested forms handling, using jQuery. Use this and discover cocoon-heaven."
14
14
  s.email = "nathan@dixis.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,176 +1,176 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
5
4
  prerelease:
5
+ version: 1.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Nathan Van der Auwera
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-22 00:00:00.000000000 Z
12
+ date: 2013-01-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ prerelease: false
16
+ type: :development
15
17
  name: rails
16
18
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
19
  requirements:
19
20
  - - ! '>='
20
21
  - !ruby/object:Gem::Version
21
22
  version: 3.0.0
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
23
  none: false
24
+ version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
26
  - - ! '>='
28
27
  - !ruby/object:Gem::Version
29
28
  version: 3.0.0
29
+ none: false
30
30
  - !ruby/object:Gem::Dependency
31
+ prerelease: false
32
+ type: :development
31
33
  name: sqlite3-ruby
32
34
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
35
  requirements:
35
36
  - - ! '>='
36
37
  - !ruby/object:Gem::Version
37
38
  version: '0'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
39
  none: false
40
+ version_requirements: !ruby/object:Gem::Requirement
42
41
  requirements:
43
42
  - - ! '>='
44
43
  - !ruby/object:Gem::Version
45
44
  version: '0'
45
+ none: false
46
46
  - !ruby/object:Gem::Dependency
47
+ prerelease: false
48
+ type: :development
47
49
  name: json_pure
48
50
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
51
  requirements:
51
52
  - - ! '>='
52
53
  - !ruby/object:Gem::Version
53
54
  version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
55
  none: false
56
+ version_requirements: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - ! '>='
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
61
+ none: false
62
62
  - !ruby/object:Gem::Dependency
63
+ prerelease: false
64
+ type: :development
63
65
  name: jeweler
64
66
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
67
  requirements:
67
68
  - - ! '>='
68
69
  - !ruby/object:Gem::Version
69
70
  version: '0'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
71
  none: false
72
+ version_requirements: !ruby/object:Gem::Requirement
74
73
  requirements:
75
74
  - - ! '>='
76
75
  - !ruby/object:Gem::Version
77
76
  version: '0'
77
+ none: false
78
78
  - !ruby/object:Gem::Dependency
79
+ prerelease: false
80
+ type: :development
79
81
  name: rspec-rails
80
82
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
83
  requirements:
83
84
  - - ! '>='
84
85
  - !ruby/object:Gem::Version
85
86
  version: 2.6.0
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
87
  none: false
88
+ version_requirements: !ruby/object:Gem::Requirement
90
89
  requirements:
91
90
  - - ! '>='
92
91
  - !ruby/object:Gem::Version
93
92
  version: 2.6.0
93
+ none: false
94
94
  - !ruby/object:Gem::Dependency
95
+ prerelease: false
96
+ type: :development
95
97
  name: rspec
96
98
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
99
  requirements:
99
100
  - - ! '>='
100
101
  - !ruby/object:Gem::Version
101
102
  version: 2.6.0
102
- type: :development
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
103
  none: false
104
+ version_requirements: !ruby/object:Gem::Requirement
106
105
  requirements:
107
106
  - - ! '>='
108
107
  - !ruby/object:Gem::Version
109
108
  version: 2.6.0
109
+ none: false
110
110
  - !ruby/object:Gem::Dependency
111
+ prerelease: false
112
+ type: :development
111
113
  name: actionpack
112
114
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
115
  requirements:
115
116
  - - ! '>='
116
117
  - !ruby/object:Gem::Version
117
118
  version: 3.0.0
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
119
  none: false
120
+ version_requirements: !ruby/object:Gem::Requirement
122
121
  requirements:
123
122
  - - ! '>='
124
123
  - !ruby/object:Gem::Version
125
124
  version: 3.0.0
125
+ none: false
126
126
  - !ruby/object:Gem::Dependency
127
+ prerelease: false
128
+ type: :development
127
129
  name: simplecov
128
130
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
131
  requirements:
131
132
  - - ! '>='
132
133
  - !ruby/object:Gem::Version
133
134
  version: '0'
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
135
  none: false
136
+ version_requirements: !ruby/object:Gem::Requirement
138
137
  requirements:
139
138
  - - ! '>='
140
139
  - !ruby/object:Gem::Version
141
140
  version: '0'
141
+ none: false
142
142
  - !ruby/object:Gem::Dependency
143
+ prerelease: false
144
+ type: :development
143
145
  name: generator_spec
144
146
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
147
  requirements:
147
148
  - - ! '>='
148
149
  - !ruby/object:Gem::Version
149
150
  version: '0'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
151
  none: false
152
+ version_requirements: !ruby/object:Gem::Requirement
154
153
  requirements:
155
154
  - - ! '>='
156
155
  - !ruby/object:Gem::Version
157
156
  version: '0'
157
+ none: false
158
158
  - !ruby/object:Gem::Dependency
159
+ prerelease: false
160
+ type: :development
159
161
  name: rspec
160
162
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
163
  requirements:
163
164
  - - ! '>='
164
165
  - !ruby/object:Gem::Version
165
166
  version: 2.0.0
166
- type: :development
167
- prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
167
  none: false
168
+ version_requirements: !ruby/object:Gem::Requirement
170
169
  requirements:
171
170
  - - ! '>='
172
171
  - !ruby/object:Gem::Version
173
172
  version: 2.0.0
173
+ none: false
174
174
  description: Unobtrusive nested forms handling, using jQuery. Use this and discover
175
175
  cocoon-heaven.
176
176
  email: nathan@dixis.com
@@ -241,20 +241,20 @@ rdoc_options: []
241
241
  require_paths:
242
242
  - lib
243
243
  required_ruby_version: !ruby/object:Gem::Requirement
244
- none: false
245
244
  requirements:
246
245
  - - ! '>='
247
246
  - !ruby/object:Gem::Version
248
247
  version: '0'
249
248
  segments:
250
249
  - 0
251
- hash: -2830798901960136537
252
- required_rubygems_version: !ruby/object:Gem::Requirement
250
+ hash: 2461844246300875574
253
251
  none: false
252
+ required_rubygems_version: !ruby/object:Gem::Requirement
254
253
  requirements:
255
254
  - - ! '>='
256
255
  - !ruby/object:Gem::Version
257
256
  version: '0'
257
+ none: false
258
258
  requirements: []
259
259
  rubyforge_project:
260
260
  rubygems_version: 1.8.24