mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix warning: circular require considered harmful.
This commit is contained in:
parent
df08271f9c
commit
8b05cfad11
1 changed files with 7 additions and 6 deletions
|
@ -1,15 +1,16 @@
|
|||
require 'active_support/core_ext/module/deprecation'
|
||||
require 'active_support/deprecation/instance_delegator'
|
||||
require 'active_support/deprecation/behaviors'
|
||||
require 'active_support/deprecation/reporting'
|
||||
require 'active_support/deprecation/method_wrappers'
|
||||
require 'active_support/deprecation/proxy_wrappers'
|
||||
require 'singleton'
|
||||
|
||||
module ActiveSupport
|
||||
# \Deprecation specifies the API used by Rails to deprecate methods, instance
|
||||
# variables, objects and constants.
|
||||
class Deprecation
|
||||
require 'active_support/deprecation/instance_delegator'
|
||||
require 'active_support/deprecation/behaviors'
|
||||
require 'active_support/deprecation/reporting'
|
||||
require 'active_support/deprecation/method_wrappers'
|
||||
require 'active_support/deprecation/proxy_wrappers'
|
||||
require 'active_support/core_ext/module/deprecation'
|
||||
|
||||
include Singleton
|
||||
include InstanceDelegator
|
||||
include Behavior
|
||||
|
|
Loading…
Reference in a new issue