activesupport 4.2.11.2 → 4.2.11.3
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 +8 -0
- data/lib/active_support/gem_version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5927887f8de9d6b13175ee528ab4606a7975d7b4eb27c7365c3ed5bbc620183
|
4
|
+
data.tar.gz: 1f4c3a900e5f84241a557376ecb5850a5c9c6b86be17f6929397871a9ae5f925
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4bf38be75e38c3e9fdabdac8220b0ec283a7828778c9d1aaa6c084eed3a31ad677d12ef23d59aeb83188f258f6436d2ac50a6f1240e0dbbcdd01d7476694b5a
|
7
|
+
data.tar.gz: 6fd1b23cf9c7d1600ddf239616dbc86253de33a2b1ee73a82892f22cef0af1010920582a76ef5e1995d1188e451980700427cc932b261fdc99fcba9c0ba79914
|
data/CHANGELOG.md
CHANGED
@@ -11,6 +11,14 @@ class Module
|
|
11
11
|
return self super then true undef unless until when while yield)
|
12
12
|
).freeze
|
13
13
|
|
14
|
+
DELEGATION_RESERVED_KEYWORDS = Set.new(
|
15
|
+
%w(_ arg args block)
|
16
|
+
)
|
17
|
+
|
18
|
+
DELEGATION_RESERVED_METHOD_NAMES = Set.new(
|
19
|
+
RUBY_RESERVED_WORDS + DELEGATION_RESERVED_KEYWORDS
|
20
|
+
).freeze
|
21
|
+
|
14
22
|
# Provides a +delegate+ class method to easily expose contained objects'
|
15
23
|
# public methods as your own.
|
16
24
|
#
|