From 1e62457a6d4307edc026591f8c8a8335d9627768 Mon Sep 17 00:00:00 2001 From: Dmitry Vorotilin Date: Tue, 12 Nov 2013 11:44:09 +0400 Subject: [PATCH] =?UTF-8?q?Clean=20up=20`require=20=E2=80=98active=5Fsuppo?= =?UTF-8?q?rt/deprecation=E2=80=99`=20and=20remove=20circular=20require?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- activesupport/lib/active_support/all.rb | 1 - activesupport/lib/active_support/core_ext/module/deprecation.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/activesupport/lib/active_support/all.rb b/activesupport/lib/active_support/all.rb index 151008bbaa..f537818300 100644 --- a/activesupport/lib/active_support/all.rb +++ b/activesupport/lib/active_support/all.rb @@ -1,4 +1,3 @@ require 'active_support' -require 'active_support/deprecation' require 'active_support/time' require 'active_support/core_ext' diff --git a/activesupport/lib/active_support/core_ext/module/deprecation.rb b/activesupport/lib/active_support/core_ext/module/deprecation.rb index d873de197f..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/method_wrappers' - class Module # deprecate :foo # deprecate bar: 'message'