Permalink
Browse files

Fix warning: circular require considered harmful.

  • Loading branch information...
1 parent df08271 commit 8b05cfad113807d4545fccff303446305ab093df @kennyj kennyj committed Sep 15, 2012
Showing with 7 additions and 6 deletions.
  1. +7 −6 activesupport/lib/active_support/deprecation.rb
View
13 activesupport/lib/active_support/deprecation.rb
@@ -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

0 comments on commit 8b05cfa

Please sign in to comment.