activesupport 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 activesupport might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/active_support/core_ext/module/delegation.rb +5 -4
- data/lib/active_support/gem_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8e4e3c32de72b5c3d854bfaeaf7d41027b3d189
|
4
|
+
data.tar.gz: bb728b901ee175249b21b39ed1992fe52e927884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f465012be043f973a2b258f310eab53da1d89fb2ea7981fcf068cdbbac598986af6ba6f5a196716cd66704a6709630981ab807bd59356008d4070d79268c4df
|
7
|
+
data.tar.gz: cbad6a7ba825f4f9d38f31773a6daddf489e6fa46b5bd0bc385c2836ee175d881dae83952762d1c95be1a1ce43bcc764bf549cddbf06bb7a1aaaad94fcf0cac0
|
data/CHANGELOG.md
CHANGED
@@ -5,11 +5,12 @@ class Module
|
|
5
5
|
# option is not used.
|
6
6
|
class DelegationError < NoMethodError; end
|
7
7
|
|
8
|
+
RUBY_RESERVED_KEYWORDS = %w(alias and BEGIN begin break case class def defined? do
|
9
|
+
else elsif END end ensure false for if in module next nil not or redo rescue retry
|
10
|
+
return self super then true undef unless until when while yield)
|
11
|
+
DELEGATION_RESERVED_KEYWORDS = %w(_ arg args block)
|
8
12
|
DELEGATION_RESERVED_METHOD_NAMES = Set.new(
|
9
|
-
|
10
|
-
else elsif END end ensure false for if in module next nil not or redo
|
11
|
-
rescue retry return self super then true undef unless until when while
|
12
|
-
yield)
|
13
|
+
RUBY_RESERVED_KEYWORDS + DELEGATION_RESERVED_KEYWORDS
|
13
14
|
).freeze
|
14
15
|
|
15
16
|
# Provides a +delegate+ class method to easily expose contained objects'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.1.
|
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
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|