lib/active_support/deprecation.rb in activesupport-6.1.7.10 vs lib/active_support/deprecation.rb in activesupport-7.0.0.alpha1
- old
+ new
@@ -36,10 +36,10 @@
# It accepts two parameters on initialization. The first is a version of library
# and the second is a library name.
#
# ActiveSupport::Deprecation.new('2.0', 'MyLibrary')
- def initialize(deprecation_horizon = "7.0", gem_name = "Rails")
+ def initialize(deprecation_horizon = "7.1", gem_name = "Rails")
self.gem_name = gem_name
self.deprecation_horizon = deprecation_horizon
# By default, warnings are not silenced and debugging is off.
self.silenced = false
self.debug = false