actionview 5.0.1.rc1 → 5.0.1.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: 72d354dd1600d2bd3a6b748947dc6e5178c930e0
4
- data.tar.gz: 86768dbfffe647ce3b7161bb6fec7f4e8aaae67d
3
+ metadata.gz: 108b8262b8909319ed1da5fe0ce5b058573e55b6
4
+ data.tar.gz: df56d72a73ad477bca02ad6204f0aff2086bd2ab
5
5
  SHA512:
6
- metadata.gz: a966cb46db779ce5bcffc2f83d7770036ed6752dbfe0dbf497bdc971e0fcf70c91abcdc0e554bf6fc5c0166bb4e2f29b3363785dd88bdb17568ec559bbf15fa3
7
- data.tar.gz: 540ba24650be60525c4bf012418a925cc3c0b37a759c0a634d403d7eb096643a7f1518a3ba452a19f9759b3dd42dd094c12d6745d06b19df980c2313aabbf893
6
+ metadata.gz: 1c465c85d838ccef30582f95440cff431aea8525df2fe47000f1390eaa85ccf6a854a649ce3c676409ae0d426710fa09cfc3981396352407e16a4ca9ad8d5c63
7
+ data.tar.gz: 3deeb8598b0bbc62ac086bd12a46901de6bb2d9ba715e9fdfcaccaa09b0cfab7a5fbf214b2d6bb8f6cdb1d160ff3c61a46593ceb7a625903e287a3c8fb325b52
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## Rails 5.0.1.rc2 (December 10, 2016) ##
2
+
3
+ * Restore support for locals named `_`, `arg`, `args`, and `block`.
4
+
5
+ Fixes #27302.
6
+
7
+ *Toshimaru*
8
+
9
+
1
10
  ## Rails 5.0.1.rc1 (December 01, 2016) ##
2
11
 
3
12
  * Fix support to `ActionController::Parameters` in `button_to`.
@@ -8,7 +8,7 @@ module ActionView
8
8
  MAJOR = 5
9
9
  MINOR = 0
10
10
  TINY = 1
11
- PRE = "rc1"
11
+ PRE = "rc2"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -328,7 +328,7 @@ module ActionView
328
328
  def locals_code #:nodoc:
329
329
  # Only locals with valid variable names get set directly. Others will
330
330
  # still be available in local_assigns.
331
- locals = @locals.to_set - Module::DELEGATION_RESERVED_METHOD_NAMES
331
+ locals = @locals - Module::RUBY_RESERVED_KEYWORDS
332
332
  locals = locals.grep(/\A(?![A-Z0-9])(?:[[:alnum:]_]|[^\0-\177])+\z/)
333
333
 
334
334
  # Double assign to suppress the dreaded 'assigned but unused variable' warning
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.1.rc1
4
+ version: 5.0.1.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: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2016-12-09 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.1.rc1
19
+ version: 5.0.1.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.1.rc1
26
+ version: 5.0.1.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.1.rc1
95
+ version: 5.0.1.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.1.rc1
102
+ version: 5.0.1.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.1.rc1
109
+ version: 5.0.1.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.1.rc1
116
+ version: 5.0.1.rc2
117
117
  description: Simple, battle-tested conventions and helpers for building web pages.
118
118
  email: david@loudthinking.com
119
119
  executables: []