actionview 5.0.5.rc1 → 5.0.5.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionview might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb2f4834e52a069559cf55843b16c8843c91fff1
4
- data.tar.gz: 167ed540bfd5cb5c6de636d84a73f30be8257ed5
3
+ metadata.gz: bc9a053b2658248ce3de9246343915b825557d80
4
+ data.tar.gz: d4cbadc2c87af99b21c5d6e8d231fae316485414
5
5
  SHA512:
6
- metadata.gz: 8dfbc30ebe36be837e981dac08cc0673418c1c0a9fd811c9382b28c41794ed4d40eb87dbde9fd7da7e10ff283208cad20a1c98335e967d555907f1ceeb65a5be
7
- data.tar.gz: 986b15ef63c5bf089388a38b384a8eb669dcf0711b11d27665cab65649a0b62f2c5938e460376972fb4d9ace12dbd1253986621be2e579483df2f59c69a88346
6
+ metadata.gz: efe9e5c00ef4a09ec9b1cd5464b92ca4914767853f706dc8f50c9c676ae7039e081a01ac2d306b5c0f0ed5f6d144d46deb9c0208805dcff50d3196b8f39142ea
7
+ data.tar.gz: 56f5b32f29b653ccc50047fd7c74a06c8b306c536f5c8b26c4c394a881e8ef3d6e09bb152821faec243e7f46221a0cd608a1a81bb1049a8970f3cba3e367978f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 5.0.5.rc2 (July 25, 2017) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 5.0.5.rc1 (July 19, 2017) ##
2
7
 
3
8
  * No changes.
@@ -8,7 +8,7 @@ module ActionView
8
8
  MAJOR = 5
9
9
  MINOR = 0
10
10
  TINY = 5
11
- PRE = "rc1"
11
+ PRE = "rc2"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -7,8 +7,11 @@ module ActionView
7
7
  module ControllerHelper #:nodoc:
8
8
  attr_internal :controller, :request
9
9
 
10
- delegate :request_forgery_protection_token, :params, :session, :cookies, :response, :headers,
11
- :flash, :action_name, :controller_name, :controller_path, :to => :controller
10
+ CONTROLLER_DELEGATES = [:request_forgery_protection_token, :params,
11
+ :session, :cookies, :response, :headers, :flash, :action_name,
12
+ :controller_name, :controller_path]
13
+
14
+ delegate *CONTROLLER_DELEGATES, to: :controller
12
15
 
13
16
  def assign_controller(controller)
14
17
  if @_controller = controller
@@ -21,6 +24,11 @@ module ActionView
21
24
  def logger
22
25
  controller.logger if controller.respond_to?(:logger)
23
26
  end
27
+
28
+ def respond_to?(method_name, include_private = false)
29
+ return controller.respond_to?(method_name) if CONTROLLER_DELEGATES.include?(method_name.to_sym)
30
+ super
31
+ end
24
32
  end
25
33
  end
26
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.5.rc1
4
+ version: 5.0.5.rc2
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: 2017-07-19 00:00:00.000000000 Z
11
+ date: 2017-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.0.5.rc1
19
+ version: 5.0.5.rc2
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: 5.0.5.rc1
26
+ version: 5.0.5.rc2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -92,28 +92,28 @@ dependencies:
92
92
  requirements:
93
93
  - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: 5.0.5.rc1
95
+ version: 5.0.5.rc2
96
96
  type: :development
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 5.0.5.rc1
102
+ version: 5.0.5.rc2
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: activemodel
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 5.0.5.rc1
109
+ version: 5.0.5.rc2
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - '='
115
115
  - !ruby/object:Gem::Version
116
- version: 5.0.5.rc1
116
+ version: 5.0.5.rc2
117
117
  description: Simple, battle-tested conventions and helpers for building web pages.
118
118
  email: david@loudthinking.com
119
119
  executables: []