From 8bf2825205ad392c923070e722fc8d39687520e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 27 Mar 2015 16:58:18 -0300 Subject: [PATCH] Remove circular require --- activesupport/lib/active_support/core_ext/module/aliasing.rb | 2 -- activesupport/lib/active_support/core_ext/module/deprecation.rb | 2 -- 2 files changed, 4 deletions(-) diff --git a/activesupport/lib/active_support/core_ext/module/aliasing.rb b/activesupport/lib/active_support/core_ext/module/aliasing.rb index dcc1cd5ba9..25e138264e 100644 --- a/activesupport/lib/active_support/core_ext/module/aliasing.rb +++ b/activesupport/lib/active_support/core_ext/module/aliasing.rb @@ -1,5 +1,3 @@ -require 'active_support/deprecation' - class Module # Encapsulates the common pattern of: # diff --git a/activesupport/lib/active_support/core_ext/module/deprecation.rb b/activesupport/lib/active_support/core_ext/module/deprecation.rb index 5134b5ad41..56d670fbe8 100644 --- a/activesupport/lib/active_support/core_ext/module/deprecation.rb +++ b/activesupport/lib/active_support/core_ext/module/deprecation.rb @@ -1,5 +1,3 @@ -require 'active_support/deprecation' - class Module # deprecate :foo # deprecate bar: 'message'