cocoon 1.2.9 → 1.2.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.travis.yml +26 -2
- data/Gemfile +3 -2
- data/README.markdown +10 -2
- data/VERSION +1 -1
- data/app/assets/javascripts/cocoon.js +1 -1
- data/cocoon.gemspec +63 -58
- data/gemfiles/Gemfile.rails-3.2.13 +2 -1
- data/gemfiles/Gemfile.rails-4-r2 +27 -0
- data/lib/cocoon.rb +4 -2
- metadata +32 -48
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MmRkODE5NTEyY2EyYjMyNjYyODExYjcwY2VlZmVhNTVmMzAxNDdhNA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NzBmOTNkOTIzZjY0YmMxY2I3NjM0OTNiNTU1MDUzMzhjYzgxNDcwNA==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MzZhOGI4MWM3NWYzOWUyYmI4NWMwMjkxMjQyMjY2NDZmZTY5YjA2Nzc3ZjUz
|
10
|
+
MDM5NWI2NDBlNmEzZTMzNWI2N2E5NWUzM2YxZWVmYzgyZTIyZDJiMmIxYzU2
|
11
|
+
ZjgxZjIzODQ4ZWYxNDVhZGYyNjc0NGU5NzQxMGVhNDA2NzhhNmU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YjZlYTBmYzc0NzljYWM1ODU5M2NjZWEyNzYyNWUxZmUwYzkyZWIzMWE1ZDg1
|
14
|
+
NTA4YTViYWNkYTYyMmUzY2MyZTljNWMzODhlM2E5MzgwMjA1NTBmMDI1NTY5
|
15
|
+
M2IyMzBhZGY2ODlhMzc1MzhkNjMyNmU3ZTE2MzljODQ5OTRmNDI=
|
data/.travis.yml
CHANGED
@@ -1,9 +1,33 @@
|
|
1
1
|
language: ruby
|
2
|
-
script: "bundle exec rake"
|
3
2
|
rvm:
|
4
|
-
- 1.9.3
|
5
3
|
- 2.0.0
|
4
|
+
- 2.1.5
|
5
|
+
- 2.2.6
|
6
|
+
- 2.3.2
|
6
7
|
- rbx-2
|
7
8
|
gemfile:
|
8
9
|
- gemfiles/Gemfile.rails-3.2.13
|
10
|
+
- gemfiles/Gemfile.rails-4-r2
|
9
11
|
- Gemfile
|
12
|
+
|
13
|
+
matrix:
|
14
|
+
fast_finish: true
|
15
|
+
exclude:
|
16
|
+
- rvm: 2.0.0
|
17
|
+
gemfile: Gemfile
|
18
|
+
- rvm: 2.1.5
|
19
|
+
gemfile: Gemfile
|
20
|
+
- rvm: 2.2.6
|
21
|
+
gemfile: gemfiles/Gemfile.rails-3.2.13
|
22
|
+
- rvm: 2.2.6
|
23
|
+
gemfile: gemfiles/Gemfile.rails-4-r2
|
24
|
+
- rvm: 2.3.2
|
25
|
+
gemfile: gemfiles/Gemfile.rails-3.2.13
|
26
|
+
- rvm: 2.3.2
|
27
|
+
gemfile: gemfiles/Gemfile.rails-4-r2
|
28
|
+
- rvm: 2.4.0
|
29
|
+
gemfile: gemfiles/Gemfile.rails-3.2.13
|
30
|
+
- rvm: 2.4.0
|
31
|
+
gemfile: gemfiles/Gemfile.rails-4-r2
|
32
|
+
allow_failures:
|
33
|
+
- rvm: rbx-2
|
data/Gemfile
CHANGED
@@ -3,13 +3,14 @@ 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"
|
7
7
|
gem "json_pure"
|
8
|
-
gem "jeweler"
|
8
|
+
gem "jeweler", "~> 1.8"
|
9
9
|
gem "rspec-rails", "~> 3.0.0"
|
10
10
|
gem "rspec", "~> 3.0.0"
|
11
11
|
gem "actionpack", ">=4.0.0"
|
12
12
|
gem "simplecov", :require => false
|
13
|
+
gem "rake", "~> 10.1"
|
13
14
|
|
14
15
|
gem 'nokogiri'
|
15
16
|
|
data/README.markdown
CHANGED
@@ -27,7 +27,7 @@ gem "cocoon"
|
|
27
27
|
|
28
28
|
> Please note that for rails 4 you will need at least v1.2.0 or later.
|
29
29
|
|
30
|
-
### Rails 3.1+/Rails 4
|
30
|
+
### Rails 3.1+/Rails 4/Rails 5
|
31
31
|
|
32
32
|
Add the following to `application.js` so it compiles to the asset pipeline:
|
33
33
|
|
@@ -67,7 +67,7 @@ Your models are associated like this:
|
|
67
67
|
|
68
68
|
```ruby
|
69
69
|
class Project < ActiveRecord::Base
|
70
|
-
has_many :tasks
|
70
|
+
has_many :tasks, inverse_of: :project
|
71
71
|
accepts_nested_attributes_for :tasks, reject_if: :all_blank, allow_destroy: true
|
72
72
|
end
|
73
73
|
|
@@ -76,6 +76,14 @@ class Task < ActiveRecord::Base
|
|
76
76
|
end
|
77
77
|
```
|
78
78
|
|
79
|
+
> *Rails 5 Note*: since rails 5 a `belongs_to` relation is by default required. While this absolutely makes sense, this also means
|
80
|
+
> associations have to be declared more explicitly.
|
81
|
+
> When saving nested items, theoretically the parent is not yet saved on validation, so rails needs help to know
|
82
|
+
> the link between relations. There are two ways: either declare the `belongs_to` as `optional: false`, but the
|
83
|
+
> cleanest way is to specify the `inverse_of:` on the `has_many`. That is why we write : `has_many :tasks, inverse_of: :project`
|
84
|
+
|
85
|
+
|
86
|
+
|
79
87
|
Now we want a project form where we can add and remove tasks dynamically.
|
80
88
|
To do this, we need the fields for a new or existing `task` to be defined in a partial
|
81
89
|
named `_task_fields.html`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.10
|
@@ -119,7 +119,7 @@
|
|
119
119
|
});
|
120
120
|
|
121
121
|
|
122
|
-
$(document).on("ready page:load", function() {
|
122
|
+
$(document).on("ready page:load turbolinks:load", function() {
|
123
123
|
$('.remove_fields.existing.destroyed').each(function(i, obj) {
|
124
124
|
var $this = $(this),
|
125
125
|
wrapper_class = $this.data('wrapper-class') || 'nested-fields';
|
data/cocoon.gemspec
CHANGED
@@ -2,16 +2,18 @@
|
|
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
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.name = "cocoon"
|
8
|
-
s.version = "1.2.
|
8
|
+
s.name = "cocoon".freeze
|
9
|
+
s.version = "1.2.10"
|
9
10
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Nathan Van der Auwera".freeze]
|
14
|
+
s.date = "2017-05-11"
|
15
|
+
s.description = "Unobtrusive nested forms handling, using jQuery. Use this and discover cocoon-heaven.".freeze
|
16
|
+
s.email = "nathan@dixis.com".freeze
|
15
17
|
s.extra_rdoc_files = [
|
16
18
|
"README.markdown"
|
17
19
|
]
|
@@ -26,6 +28,7 @@ Gem::Specification.new do |s|
|
|
26
28
|
"app/assets/javascripts/cocoon.js",
|
27
29
|
"cocoon.gemspec",
|
28
30
|
"gemfiles/Gemfile.rails-3.2.13",
|
31
|
+
"gemfiles/Gemfile.rails-4-r2",
|
29
32
|
"lib/cocoon.rb",
|
30
33
|
"lib/cocoon/view_helpers.rb",
|
31
34
|
"lib/generators/cocoon/install/install_generator.rb",
|
@@ -77,64 +80,66 @@ Gem::Specification.new do |s|
|
|
77
80
|
"spec/support/rails_version_helper.rb",
|
78
81
|
"spec/support/shared_examples.rb"
|
79
82
|
]
|
80
|
-
s.homepage = "http://github.com/nathanvda/cocoon"
|
81
|
-
s.licenses = ["MIT"]
|
82
|
-
s.
|
83
|
-
s.
|
84
|
-
s.summary = "gem that enables easier nested forms with standard forms, formtastic and simple-form"
|
83
|
+
s.homepage = "http://github.com/nathanvda/cocoon".freeze
|
84
|
+
s.licenses = ["MIT".freeze]
|
85
|
+
s.rubygems_version = "2.6.10".freeze
|
86
|
+
s.summary = "gem that enables easier nested forms with standard forms, formtastic and simple-form".freeze
|
85
87
|
|
86
88
|
if s.respond_to? :specification_version then
|
87
|
-
s.specification_version =
|
89
|
+
s.specification_version = 4
|
88
90
|
|
89
91
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
90
|
-
s.add_development_dependency(%q<rails
|
91
|
-
s.add_development_dependency(%q<sqlite3
|
92
|
-
s.add_development_dependency(%q<json_pure
|
93
|
-
s.add_development_dependency(%q<jeweler
|
94
|
-
s.add_development_dependency(%q<rspec-rails
|
95
|
-
s.add_development_dependency(%q<rspec
|
96
|
-
s.add_development_dependency(%q<actionpack
|
97
|
-
s.add_development_dependency(%q<simplecov
|
98
|
-
s.add_development_dependency(%q<
|
99
|
-
s.add_development_dependency(%q<
|
100
|
-
s.add_development_dependency(%q<
|
101
|
-
s.add_development_dependency(%q<rubysl
|
102
|
-
s.add_development_dependency(%q<
|
103
|
-
s.add_development_dependency(%q<
|
104
|
-
s.add_development_dependency(%q<
|
92
|
+
s.add_development_dependency(%q<rails>.freeze, [">= 4.0.0"])
|
93
|
+
s.add_development_dependency(%q<sqlite3>.freeze, [">= 0"])
|
94
|
+
s.add_development_dependency(%q<json_pure>.freeze, [">= 0"])
|
95
|
+
s.add_development_dependency(%q<jeweler>.freeze, ["~> 1.8"])
|
96
|
+
s.add_development_dependency(%q<rspec-rails>.freeze, ["~> 3.0.0"])
|
97
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.0.0"])
|
98
|
+
s.add_development_dependency(%q<actionpack>.freeze, [">= 4.0.0"])
|
99
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
100
|
+
s.add_development_dependency(%q<rake>.freeze, ["~> 10.1"])
|
101
|
+
s.add_development_dependency(%q<nokogiri>.freeze, [">= 0"])
|
102
|
+
s.add_development_dependency(%q<generator_spec>.freeze, [">= 0"])
|
103
|
+
s.add_development_dependency(%q<rubysl>.freeze, [">= 0"])
|
104
|
+
s.add_development_dependency(%q<rubysl-test-unit>.freeze, [">= 0"])
|
105
|
+
s.add_development_dependency(%q<psych>.freeze, [">= 0"])
|
106
|
+
s.add_development_dependency(%q<racc>.freeze, [">= 0"])
|
107
|
+
s.add_development_dependency(%q<rubinius-developer_tools>.freeze, [">= 0"])
|
105
108
|
else
|
106
|
-
s.add_dependency(%q<rails
|
107
|
-
s.add_dependency(%q<sqlite3
|
108
|
-
s.add_dependency(%q<json_pure
|
109
|
-
s.add_dependency(%q<jeweler
|
110
|
-
s.add_dependency(%q<rspec-rails
|
111
|
-
s.add_dependency(%q<rspec
|
112
|
-
s.add_dependency(%q<actionpack
|
113
|
-
s.add_dependency(%q<simplecov
|
114
|
-
s.add_dependency(%q<
|
115
|
-
s.add_dependency(%q<
|
116
|
-
s.add_dependency(%q<
|
117
|
-
s.add_dependency(%q<rubysl
|
118
|
-
s.add_dependency(%q<
|
119
|
-
s.add_dependency(%q<
|
120
|
-
s.add_dependency(%q<
|
109
|
+
s.add_dependency(%q<rails>.freeze, [">= 4.0.0"])
|
110
|
+
s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
|
111
|
+
s.add_dependency(%q<json_pure>.freeze, [">= 0"])
|
112
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 1.8"])
|
113
|
+
s.add_dependency(%q<rspec-rails>.freeze, ["~> 3.0.0"])
|
114
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.0.0"])
|
115
|
+
s.add_dependency(%q<actionpack>.freeze, [">= 4.0.0"])
|
116
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
117
|
+
s.add_dependency(%q<rake>.freeze, ["~> 10.1"])
|
118
|
+
s.add_dependency(%q<nokogiri>.freeze, [">= 0"])
|
119
|
+
s.add_dependency(%q<generator_spec>.freeze, [">= 0"])
|
120
|
+
s.add_dependency(%q<rubysl>.freeze, [">= 0"])
|
121
|
+
s.add_dependency(%q<rubysl-test-unit>.freeze, [">= 0"])
|
122
|
+
s.add_dependency(%q<psych>.freeze, [">= 0"])
|
123
|
+
s.add_dependency(%q<racc>.freeze, [">= 0"])
|
124
|
+
s.add_dependency(%q<rubinius-developer_tools>.freeze, [">= 0"])
|
121
125
|
end
|
122
126
|
else
|
123
|
-
s.add_dependency(%q<rails
|
124
|
-
s.add_dependency(%q<sqlite3
|
125
|
-
s.add_dependency(%q<json_pure
|
126
|
-
s.add_dependency(%q<jeweler
|
127
|
-
s.add_dependency(%q<rspec-rails
|
128
|
-
s.add_dependency(%q<rspec
|
129
|
-
s.add_dependency(%q<actionpack
|
130
|
-
s.add_dependency(%q<simplecov
|
131
|
-
s.add_dependency(%q<
|
132
|
-
s.add_dependency(%q<
|
133
|
-
s.add_dependency(%q<
|
134
|
-
s.add_dependency(%q<rubysl
|
135
|
-
s.add_dependency(%q<
|
136
|
-
s.add_dependency(%q<
|
137
|
-
s.add_dependency(%q<
|
127
|
+
s.add_dependency(%q<rails>.freeze, [">= 4.0.0"])
|
128
|
+
s.add_dependency(%q<sqlite3>.freeze, [">= 0"])
|
129
|
+
s.add_dependency(%q<json_pure>.freeze, [">= 0"])
|
130
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 1.8"])
|
131
|
+
s.add_dependency(%q<rspec-rails>.freeze, ["~> 3.0.0"])
|
132
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.0.0"])
|
133
|
+
s.add_dependency(%q<actionpack>.freeze, [">= 4.0.0"])
|
134
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
135
|
+
s.add_dependency(%q<rake>.freeze, ["~> 10.1"])
|
136
|
+
s.add_dependency(%q<nokogiri>.freeze, [">= 0"])
|
137
|
+
s.add_dependency(%q<generator_spec>.freeze, [">= 0"])
|
138
|
+
s.add_dependency(%q<rubysl>.freeze, [">= 0"])
|
139
|
+
s.add_dependency(%q<rubysl-test-unit>.freeze, [">= 0"])
|
140
|
+
s.add_dependency(%q<psych>.freeze, [">= 0"])
|
141
|
+
s.add_dependency(%q<racc>.freeze, [">= 0"])
|
142
|
+
s.add_dependency(%q<rubinius-developer_tools>.freeze, [">= 0"])
|
138
143
|
end
|
139
144
|
end
|
140
145
|
|
@@ -5,11 +5,12 @@ group :development, :test do
|
|
5
5
|
gem "rails", "~> 3.2.0"
|
6
6
|
gem "sqlite3", "1.3.8"
|
7
7
|
gem "json_pure"
|
8
|
-
gem "jeweler"
|
8
|
+
gem "jeweler", "~> 1.8"
|
9
9
|
gem "rspec-rails", "~> 3.0.0"
|
10
10
|
gem "rspec", "~> 3.0.0"
|
11
11
|
gem "actionpack", "~> 3.2.0"
|
12
12
|
gem "simplecov", :require => false
|
13
|
+
gem "rake", "~> 10.1"
|
13
14
|
|
14
15
|
gem 'nokogiri'
|
15
16
|
|
@@ -0,0 +1,27 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
|
4
|
+
group :development, :test do
|
5
|
+
gem "rails", "~> 4.0.2"
|
6
|
+
gem "sqlite3", "1.3.8"
|
7
|
+
gem "json_pure"
|
8
|
+
gem "jeweler", "~> 1.8"
|
9
|
+
gem "rspec-rails", "~> 3.0.0"
|
10
|
+
gem "rspec", "~> 3.0.0"
|
11
|
+
gem "actionpack", "~> 4.0.2"
|
12
|
+
gem "simplecov", :require => false
|
13
|
+
gem "rake", "~> 10.1"
|
14
|
+
|
15
|
+
gem 'nokogiri'
|
16
|
+
|
17
|
+
gem "generator_spec"
|
18
|
+
|
19
|
+
platforms :rbx do
|
20
|
+
gem 'rubysl'
|
21
|
+
gem 'rubysl-test-unit'
|
22
|
+
gem 'psych'
|
23
|
+
gem 'racc'
|
24
|
+
gem 'rubinius-developer_tools'
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
data/lib/cocoon.rb
CHANGED
@@ -11,8 +11,10 @@ module Cocoon
|
|
11
11
|
|
12
12
|
# configure our plugin on boot
|
13
13
|
initializer "cocoon.initialize" do |app|
|
14
|
-
|
14
|
+
ActiveSupport.on_load :action_view do
|
15
|
+
ActionView::Base.send :include, Cocoon::ViewHelpers
|
16
|
+
end
|
15
17
|
end
|
16
18
|
|
17
19
|
end
|
18
|
-
end
|
20
|
+
end
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.10
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Nathan Van der Auwera
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-05-11 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,23 +27,20 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: sqlite3
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - '
|
31
|
+
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
33
|
+
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - '
|
38
|
+
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
40
|
+
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: json_pure
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,23 +55,22 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: jeweler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
61
|
+
version: !binary |-
|
62
|
+
MS44
|
70
63
|
type: :development
|
71
64
|
prerelease: false
|
72
65
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
66
|
requirements:
|
75
|
-
- -
|
67
|
+
- - ~>
|
76
68
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
69
|
+
version: !binary |-
|
70
|
+
MS44
|
78
71
|
- !ruby/object:Gem::Dependency
|
79
72
|
name: rspec-rails
|
80
73
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
74
|
requirements:
|
83
75
|
- - ~>
|
84
76
|
- !ruby/object:Gem::Version
|
@@ -86,7 +78,6 @@ dependencies:
|
|
86
78
|
type: :development
|
87
79
|
prerelease: false
|
88
80
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
81
|
requirements:
|
91
82
|
- - ~>
|
92
83
|
- !ruby/object:Gem::Version
|
@@ -94,7 +85,6 @@ dependencies:
|
|
94
85
|
- !ruby/object:Gem::Dependency
|
95
86
|
name: rspec
|
96
87
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
88
|
requirements:
|
99
89
|
- - ~>
|
100
90
|
- !ruby/object:Gem::Version
|
@@ -102,7 +92,6 @@ dependencies:
|
|
102
92
|
type: :development
|
103
93
|
prerelease: false
|
104
94
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
95
|
requirements:
|
107
96
|
- - ~>
|
108
97
|
- !ruby/object:Gem::Version
|
@@ -110,7 +99,6 @@ dependencies:
|
|
110
99
|
- !ruby/object:Gem::Dependency
|
111
100
|
name: actionpack
|
112
101
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
102
|
requirements:
|
115
103
|
- - ! '>='
|
116
104
|
- !ruby/object:Gem::Version
|
@@ -118,7 +106,6 @@ dependencies:
|
|
118
106
|
type: :development
|
119
107
|
prerelease: false
|
120
108
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
109
|
requirements:
|
123
110
|
- - ! '>='
|
124
111
|
- !ruby/object:Gem::Version
|
@@ -126,7 +113,6 @@ dependencies:
|
|
126
113
|
- !ruby/object:Gem::Dependency
|
127
114
|
name: simplecov
|
128
115
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
116
|
requirements:
|
131
117
|
- - ! '>='
|
132
118
|
- !ruby/object:Gem::Version
|
@@ -134,15 +120,29 @@ dependencies:
|
|
134
120
|
type: :development
|
135
121
|
prerelease: false
|
136
122
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
123
|
requirements:
|
139
124
|
- - ! '>='
|
140
125
|
- !ruby/object:Gem::Version
|
141
126
|
version: '0'
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: rake
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: !binary |-
|
134
|
+
MTAuMQ==
|
135
|
+
type: :development
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: !binary |-
|
142
|
+
MTAuMQ==
|
142
143
|
- !ruby/object:Gem::Dependency
|
143
144
|
name: nokogiri
|
144
145
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
146
|
requirements:
|
147
147
|
- - ! '>='
|
148
148
|
- !ruby/object:Gem::Version
|
@@ -150,7 +150,6 @@ dependencies:
|
|
150
150
|
type: :development
|
151
151
|
prerelease: false
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
153
|
requirements:
|
155
154
|
- - ! '>='
|
156
155
|
- !ruby/object:Gem::Version
|
@@ -158,7 +157,6 @@ dependencies:
|
|
158
157
|
- !ruby/object:Gem::Dependency
|
159
158
|
name: generator_spec
|
160
159
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
160
|
requirements:
|
163
161
|
- - ! '>='
|
164
162
|
- !ruby/object:Gem::Version
|
@@ -166,7 +164,6 @@ dependencies:
|
|
166
164
|
type: :development
|
167
165
|
prerelease: false
|
168
166
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
167
|
requirements:
|
171
168
|
- - ! '>='
|
172
169
|
- !ruby/object:Gem::Version
|
@@ -174,7 +171,6 @@ dependencies:
|
|
174
171
|
- !ruby/object:Gem::Dependency
|
175
172
|
name: rubysl
|
176
173
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
174
|
requirements:
|
179
175
|
- - ! '>='
|
180
176
|
- !ruby/object:Gem::Version
|
@@ -182,7 +178,6 @@ dependencies:
|
|
182
178
|
type: :development
|
183
179
|
prerelease: false
|
184
180
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
181
|
requirements:
|
187
182
|
- - ! '>='
|
188
183
|
- !ruby/object:Gem::Version
|
@@ -190,7 +185,6 @@ dependencies:
|
|
190
185
|
- !ruby/object:Gem::Dependency
|
191
186
|
name: rubysl-test-unit
|
192
187
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
188
|
requirements:
|
195
189
|
- - ! '>='
|
196
190
|
- !ruby/object:Gem::Version
|
@@ -198,7 +192,6 @@ dependencies:
|
|
198
192
|
type: :development
|
199
193
|
prerelease: false
|
200
194
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
195
|
requirements:
|
203
196
|
- - ! '>='
|
204
197
|
- !ruby/object:Gem::Version
|
@@ -206,7 +199,6 @@ dependencies:
|
|
206
199
|
- !ruby/object:Gem::Dependency
|
207
200
|
name: psych
|
208
201
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
202
|
requirements:
|
211
203
|
- - ! '>='
|
212
204
|
- !ruby/object:Gem::Version
|
@@ -214,7 +206,6 @@ dependencies:
|
|
214
206
|
type: :development
|
215
207
|
prerelease: false
|
216
208
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
209
|
requirements:
|
219
210
|
- - ! '>='
|
220
211
|
- !ruby/object:Gem::Version
|
@@ -222,7 +213,6 @@ dependencies:
|
|
222
213
|
- !ruby/object:Gem::Dependency
|
223
214
|
name: racc
|
224
215
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
216
|
requirements:
|
227
217
|
- - ! '>='
|
228
218
|
- !ruby/object:Gem::Version
|
@@ -230,7 +220,6 @@ dependencies:
|
|
230
220
|
type: :development
|
231
221
|
prerelease: false
|
232
222
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
223
|
requirements:
|
235
224
|
- - ! '>='
|
236
225
|
- !ruby/object:Gem::Version
|
@@ -238,7 +227,6 @@ dependencies:
|
|
238
227
|
- !ruby/object:Gem::Dependency
|
239
228
|
name: rubinius-developer_tools
|
240
229
|
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
230
|
requirements:
|
243
231
|
- - ! '>='
|
244
232
|
- !ruby/object:Gem::Version
|
@@ -246,7 +234,6 @@ dependencies:
|
|
246
234
|
type: :development
|
247
235
|
prerelease: false
|
248
236
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
237
|
requirements:
|
251
238
|
- - ! '>='
|
252
239
|
- !ruby/object:Gem::Version
|
@@ -269,6 +256,7 @@ files:
|
|
269
256
|
- app/assets/javascripts/cocoon.js
|
270
257
|
- cocoon.gemspec
|
271
258
|
- gemfiles/Gemfile.rails-3.2.13
|
259
|
+
- gemfiles/Gemfile.rails-4-r2
|
272
260
|
- lib/cocoon.rb
|
273
261
|
- lib/cocoon/view_helpers.rb
|
274
262
|
- lib/generators/cocoon/install/install_generator.rb
|
@@ -322,30 +310,26 @@ files:
|
|
322
310
|
homepage: http://github.com/nathanvda/cocoon
|
323
311
|
licenses:
|
324
312
|
- MIT
|
313
|
+
metadata: {}
|
325
314
|
post_install_message:
|
326
315
|
rdoc_options: []
|
327
316
|
require_paths:
|
328
317
|
- lib
|
329
318
|
required_ruby_version: !ruby/object:Gem::Requirement
|
330
|
-
none: false
|
331
319
|
requirements:
|
332
320
|
- - ! '>='
|
333
321
|
- !ruby/object:Gem::Version
|
334
322
|
version: '0'
|
335
|
-
segments:
|
336
|
-
- 0
|
337
|
-
hash: 3439139141720742655
|
338
323
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
339
|
-
none: false
|
340
324
|
requirements:
|
341
325
|
- - ! '>='
|
342
326
|
- !ruby/object:Gem::Version
|
343
327
|
version: '0'
|
344
328
|
requirements: []
|
345
329
|
rubyforge_project:
|
346
|
-
rubygems_version:
|
330
|
+
rubygems_version: 2.6.10
|
347
331
|
signing_key:
|
348
|
-
specification_version:
|
332
|
+
specification_version: 4
|
349
333
|
summary: gem that enables easier nested forms with standard forms, formtastic and
|
350
334
|
simple-form
|
351
335
|
test_files: []
|