aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2014-08-20 19:47:19 +0930
committerMatthew Draper <matthew@trebex.net>2014-08-20 19:47:19 +0930
commitac5b5461d1822117e114c3d3b6684c6a98f1b694 (patch)
tree973486c95b9601f827e3971c86f13fbb303af410
parent0df2a83b7f3989aa987e55ac85fd2e189220fd57 (diff)
parentdf773ca7c2258f1ae68e43314570ee9544d2cc7c (diff)
downloadrails-ac5b5461d1822117e114c3d3b6684c6a98f1b694.tar.gz
rails-ac5b5461d1822117e114c3d3b6684c6a98f1b694.tar.bz2
rails-ac5b5461d1822117e114c3d3b6684c6a98f1b694.zip
Merge pull request #16577 from cristianbica/update-deprecation-to-5.0
Updated the deprecation warnings to 5.0
-rw-r--r--activesupport/lib/active_support/deprecation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/deprecation.rb b/activesupport/lib/active_support/deprecation.rb
index ab16977bda..46e9996d59 100644
--- a/activesupport/lib/active_support/deprecation.rb
+++ b/activesupport/lib/active_support/deprecation.rb
@@ -32,7 +32,7 @@ module ActiveSupport
# and the second is a library name
#
# ActiveSupport::Deprecation.new('2.0', 'MyLibrary')
- def initialize(deprecation_horizon = '4.2', gem_name = 'Rails')
+ def initialize(deprecation_horizon = '5.0', gem_name = 'Rails')
self.gem_name = gem_name
self.deprecation_horizon = deprecation_horizon
# By default, warnings are not silenced and debugging is off.