activesupport 5.2.0.beta1 → 5.2.0.beta2
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/deprecation/method_wrappers.rb +6 -8
- data/lib/active_support/gem_version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa451207f4cdcffa04b7a4d0ecd1cda198fb535c
|
4
|
+
data.tar.gz: e88f4df57a268ccfd67cf688b9c3e0f2fa56c5e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb37a937734c168a8a1a80f2ea02591f01386875fdc8d0cdb4aea9c27ad561dae98df4e6cd501cb928dce2af43c9615bfd2910e53b73cd51a45bb24f864bc34f
|
7
|
+
data.tar.gz: 976e0f729cde7e06b8c3a434ef6d2f9aecc8382a0080bc80419db0bfbd9bf1d00a4a319654d961bc513c57884326e78c6d9a256f77c7439688305210c3f2203d
|
data/CHANGELOG.md
CHANGED
@@ -8,9 +8,7 @@ module ActiveSupport
|
|
8
8
|
module MethodWrapper
|
9
9
|
# Declare that a method has been deprecated.
|
10
10
|
#
|
11
|
-
#
|
12
|
-
# extend self
|
13
|
-
#
|
11
|
+
# class Fred
|
14
12
|
# def aaa; end
|
15
13
|
# def bbb; end
|
16
14
|
# def ccc; end
|
@@ -22,15 +20,15 @@ module ActiveSupport
|
|
22
20
|
# ActiveSupport::Deprecation.deprecate_methods(Fred, :aaa, bbb: :zzz, ccc: 'use Bar#ccc instead')
|
23
21
|
# # => Fred
|
24
22
|
#
|
25
|
-
# Fred.aaa
|
23
|
+
# Fred.new.aaa
|
26
24
|
# # DEPRECATION WARNING: aaa is deprecated and will be removed from Rails 5.1. (called from irb_binding at (irb):10)
|
27
25
|
# # => nil
|
28
26
|
#
|
29
|
-
# Fred.bbb
|
27
|
+
# Fred.new.bbb
|
30
28
|
# # DEPRECATION WARNING: bbb is deprecated and will be removed from Rails 5.1 (use zzz instead). (called from irb_binding at (irb):11)
|
31
29
|
# # => nil
|
32
30
|
#
|
33
|
-
# Fred.ccc
|
31
|
+
# Fred.new.ccc
|
34
32
|
# # DEPRECATION WARNING: ccc is deprecated and will be removed from Rails 5.1 (use Bar#ccc instead). (called from irb_binding at (irb):12)
|
35
33
|
# # => nil
|
36
34
|
#
|
@@ -39,7 +37,7 @@ module ActiveSupport
|
|
39
37
|
# ActiveSupport::Deprecation.deprecate_methods(Fred, ddd: :zzz, deprecator: custom_deprecator)
|
40
38
|
# # => [:ddd]
|
41
39
|
#
|
42
|
-
# Fred.ddd
|
40
|
+
# Fred.new.ddd
|
43
41
|
# DEPRECATION WARNING: ddd is deprecated and will be removed from MyGem next-release (use zzz instead). (called from irb_binding at (irb):15)
|
44
42
|
# # => nil
|
45
43
|
#
|
@@ -48,7 +46,7 @@ module ActiveSupport
|
|
48
46
|
# custom_deprecator.deprecate_methods(Fred, eee: :zzz)
|
49
47
|
# # => [:eee]
|
50
48
|
#
|
51
|
-
# Fred.eee
|
49
|
+
# Fred.new.eee
|
52
50
|
# DEPRECATION WARNING: eee is deprecated and will be removed from MyGem next-release (use zzz instead). (called from irb_binding at (irb):18)
|
53
51
|
# # => nil
|
54
52
|
def deprecate_methods(target_module, *method_names)
|
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.2.0.
|
4
|
+
version: 5.2.0.beta2
|
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-11-
|
11
|
+
date: 2017-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -324,8 +324,8 @@ homepage: http://rubyonrails.org
|
|
324
324
|
licenses:
|
325
325
|
- MIT
|
326
326
|
metadata:
|
327
|
-
source_code_uri: https://github.com/rails/rails/tree/v5.2.0.
|
328
|
-
changelog_uri: https://github.com/rails/rails/blob/v5.2.0.
|
327
|
+
source_code_uri: https://github.com/rails/rails/tree/v5.2.0.beta2/activesupport
|
328
|
+
changelog_uri: https://github.com/rails/rails/blob/v5.2.0.beta2/activesupport/CHANGELOG.md
|
329
329
|
post_install_message:
|
330
330
|
rdoc_options:
|
331
331
|
- "--encoding"
|