cocoon 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.md +8 -0
- data/VERSION +1 -1
- data/cocoon.gemspec +3 -2
- data/lib/cocoon/view_helpers.rb +1 -1
- metadata +5 -4
data/History.md
ADDED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.5
|
data/cocoon.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cocoon}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.5"
|
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 = %q{2011-
|
12
|
+
s.date = %q{2011-06-18}
|
13
13
|
s.description = %q{Unobtrusive nested forms handling, using jQuery. Use this and discover cocoon-heaven.}
|
14
14
|
s.email = %q{nathan@dixis.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
".gitignore",
|
20
20
|
"Gemfile",
|
21
21
|
"Gemfile.lock",
|
22
|
+
"History.md",
|
22
23
|
"MIT-LICENSE",
|
23
24
|
"README.markdown",
|
24
25
|
"Rakefile",
|
data/lib/cocoon/view_helpers.rb
CHANGED
@@ -62,7 +62,7 @@ module Cocoon
|
|
62
62
|
html_options[:'data-associations'] = association.to_s.pluralize
|
63
63
|
|
64
64
|
new_object = f.object.class.reflect_on_association(association).klass.new
|
65
|
-
html_options[:'data-template'] = CGI.escapeHTML(render_association(association, f, new_object))
|
65
|
+
html_options[:'data-template'] = CGI.escapeHTML(render_association(association, f, new_object)).html_safe
|
66
66
|
|
67
67
|
link_to(name, '#', html_options )
|
68
68
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 5
|
9
|
+
version: 1.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Nathan Van der Auwera
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-06-18 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -44,6 +44,7 @@ files:
|
|
44
44
|
- .gitignore
|
45
45
|
- Gemfile
|
46
46
|
- Gemfile.lock
|
47
|
+
- History.md
|
47
48
|
- MIT-LICENSE
|
48
49
|
- README.markdown
|
49
50
|
- Rakefile
|
@@ -108,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
108
109
|
requirements:
|
109
110
|
- - ">="
|
110
111
|
- !ruby/object:Gem::Version
|
111
|
-
hash:
|
112
|
+
hash: -627439661
|
112
113
|
segments:
|
113
114
|
- 0
|
114
115
|
version: "0"
|