2009-04-18 00:29:30 -04:00
|
|
|
require 'active_support/deprecation/behaviors'
|
|
|
|
require 'active_support/deprecation/reporting'
|
|
|
|
require 'active_support/deprecation/method_wrappers'
|
|
|
|
require 'active_support/deprecation/proxy_wrappers'
|
2006-09-03 23:32:22 -04:00
|
|
|
|
2006-07-26 20:10:06 -04:00
|
|
|
module ActiveSupport
|
2007-01-26 16:37:38 -05:00
|
|
|
module Deprecation #:nodoc:
|
2006-07-26 20:10:06 -04:00
|
|
|
class << self
|
2009-04-18 00:29:30 -04:00
|
|
|
# The version the deprecated behavior will be removed, by default.
|
|
|
|
attr_accessor :deprecation_horizon
|
2006-07-26 20:10:06 -04:00
|
|
|
end
|
2009-04-18 00:29:30 -04:00
|
|
|
self.deprecation_horizon = '3.0'
|
2006-08-01 07:12:38 -04:00
|
|
|
|
2009-04-18 00:29:30 -04:00
|
|
|
# By default, warnings are not silenced and debugging is off.
|
2006-09-04 04:28:44 -04:00
|
|
|
self.silenced = false
|
2009-04-18 00:29:30 -04:00
|
|
|
self.debug = false
|
2006-07-26 20:10:06 -04:00
|
|
|
end
|
|
|
|
end
|