actionpack 3.2.22.4 → 3.2.22.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionpack might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/abstract_controller/rendering.rb +2 -1
- data/lib/action_pack/version.rb +1 -1
- data/lib/action_view/helpers/rendering_helper.rb +2 -0
- data/lib/action_view/helpers/tag_helper.rb +1 -2
- data/lib/action_view/renderer/renderer.rb +2 -0
- data/lib/action_view/template/resolver.rb +1 -0
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2589906c64cd869c852384400c0faaa3ce38781
|
4
|
+
data.tar.gz: 791a03c38208269ba110b4d5afaa77b3144894b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac4faea0a3986fbaa9644ec86c74bab96478b4b75786901f0d9142f563ada0d0efdf56e3c094af894eb7542fedfb7c88eaa93fa04fdb37be981c7e9267a65875
|
7
|
+
data.tar.gz: ef93100f309d422d5d4542e73dd02a7087cd4f0fc3b37e48d01fc9d0deedbc282550cf81780489d707ad2902e559f3a65711ca03c25b03ad2fce7ab28b5e5186
|
@@ -1,6 +1,7 @@
|
|
1
1
|
require "abstract_controller/base"
|
2
2
|
require "action_view"
|
3
3
|
require "active_support/core_ext/object/instance_variables"
|
4
|
+
require "active_support/hash_with_indifferent_access"
|
4
5
|
|
5
6
|
module AbstractController
|
6
7
|
class DoubleRenderError < Error
|
@@ -138,7 +139,7 @@ module AbstractController
|
|
138
139
|
end
|
139
140
|
|
140
141
|
# Normalize args by converting render "foo" to render :action => "foo" and
|
141
|
-
# render "foo/bar" to render :
|
142
|
+
# render "foo/bar" to render :app_template_file => "foo/bar".
|
142
143
|
# :api: plugin
|
143
144
|
def _normalize_args(action=nil, options={})
|
144
145
|
case action
|
data/lib/action_pack/version.rb
CHANGED
@@ -147,7 +147,6 @@ module ActionView
|
|
147
147
|
elsif BOOLEAN_ATTRIBUTES.include?(key)
|
148
148
|
attrs << %(#{key}="#{key}") if value
|
149
149
|
elsif !value.nil?
|
150
|
-
final_value = value.is_a?(Array) ? value.join(" ") : value
|
151
150
|
attrs << tag_option(key, value, escape)
|
152
151
|
end
|
153
152
|
end
|
@@ -159,7 +158,7 @@ module ActionView
|
|
159
158
|
if value.is_a?(Array)
|
160
159
|
value = escape ? safe_join(value, " ") : value.join(" ")
|
161
160
|
else
|
162
|
-
value = escape ? ERB::Util.html_escape(value) : value
|
161
|
+
value = escape ? ERB::Util.html_escape(value) : value.to_s
|
163
162
|
end
|
164
163
|
%(#{key}="#{value.gsub(/"/, '"'.freeze)}")
|
165
164
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.22.
|
4
|
+
version: 3.2.22.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.2.22.
|
19
|
+
version: 3.2.22.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.2.22.
|
26
|
+
version: 3.2.22.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activemodel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.2.22.
|
33
|
+
version: 3.2.22.5
|
34
34
|
type: :runtime
|
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: 3.2.22.
|
40
|
+
version: 3.2.22.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rack-cache
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -369,8 +369,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
369
369
|
requirements:
|
370
370
|
- none
|
371
371
|
rubyforge_project:
|
372
|
-
rubygems_version: 2.
|
372
|
+
rubygems_version: 2.6.6
|
373
373
|
signing_key:
|
374
374
|
specification_version: 4
|
375
375
|
summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).
|
376
376
|
test_files: []
|
377
|
+
has_rdoc:
|