slim_form_object 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25c66a76b49d989ba6a6c9062d350e75a2ead10bbf4e956c5ee4ae7eff1ce5e8
|
4
|
+
data.tar.gz: 3716afd6b47bc40d0ceb0f132666e5a43ea927f80d07d2c93f0c1e958aafb1e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d71453875860516f9fe15c1be2fd55fec2c1dd7621f25be306ab2593b60475732a6d796f69bd19e0318dcb535163fd54e68415e95d08722741bd0cc259f2c607
|
7
|
+
data.tar.gz: d9874d69bef44a949ba1c11fe21956c8c1107384dce2175e5a270d4488111bed08a7c6c1fa23e21231b93623083ca95e40227c8fa03cfa963a8943723ad08e98
|
@@ -154,6 +154,9 @@ module ActionView
|
|
154
154
|
@object_name, @object, @template, @options = object_name, object, template, options
|
155
155
|
@default_options = @options ? @options.slice(:index, :namespace, :skip_default_ids, :allow_method_names_outside_object) : {}
|
156
156
|
@default_options.merge!( {sfo_nested: options[:sfo_nested], sfo_main: options[:sfo_main]} )
|
157
|
+
if ::ActionView::VERSION::STRING > '5.2'
|
158
|
+
@default_html_options = @default_options.except(:skip_default_ids, :allow_method_names_outside_object)
|
159
|
+
end
|
157
160
|
convert_to_legacy_options(@options)
|
158
161
|
|
159
162
|
if @object_name.to_s.match(/\[\]$/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slim_form_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- woodcrust
|
@@ -42,28 +42,28 @@ dependencies:
|
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.11'
|
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: '1.11'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '10.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.18
|
131
|
+
version: '0.18'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.18
|
138
|
+
version: '0.18'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: byebug
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|