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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09d7cd0d3bfe3df8b2108664cb729ce692e975f0
4
- data.tar.gz: 4969059a3ed0fad8d68432d3c300b588de012567
3
+ metadata.gz: b2589906c64cd869c852384400c0faaa3ce38781
4
+ data.tar.gz: 791a03c38208269ba110b4d5afaa77b3144894b6
5
5
  SHA512:
6
- metadata.gz: 04b24b0767b1aa833221e2d7098e1c82dcfa6f1b20909b40f7c1b4d50f611c8e3c08911a2a17ff208f8af13c7903a0c5b51dee2ec0440e6681aecbf53bf0daa3
7
- data.tar.gz: 9961254d009f68b15e7af549288006eae5952517ddbdb26dd42dee44f763423acbfab3456afbd1f952858f36a07a199e425129e79064d0a33c152103d154de04
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 :file => "foo/bar".
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
@@ -3,7 +3,7 @@ module ActionPack
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  TINY = 22
6
- PRE = "4"
6
+ PRE = "5"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
@@ -1,3 +1,5 @@
1
+ require "active_support/core_ext/hash/indifferent_access"
2
+
1
3
  module ActionView
2
4
  module Helpers
3
5
  # = Action View Rendering
@@ -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(/"/, '&quot;'.freeze)}")
165
164
  end
@@ -1,3 +1,5 @@
1
+ require 'active_support/hash_with_indifferent_access'
2
+
1
3
  module ActionView
2
4
  # This is the main entry point for rendering. It basically delegates
3
5
  # to other objects like TemplateRenderer and PartialRenderer which
@@ -1,6 +1,7 @@
1
1
  require "pathname"
2
2
  require "active_support/core_ext/class"
3
3
  require "active_support/core_ext/io"
4
+ require "active_support/core_ext/string/starts_ends_with"
4
5
  require "action_view/template"
5
6
 
6
7
  module ActionView
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
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-08-11 00:00:00.000000000 Z
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.4
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.4
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.4
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.4
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.5.1
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: