From adfeeb01e798278ad43b67d882bdd1f54aff3b3f Mon Sep 17 00:00:00 2001 From: claudiob Date: Sun, 4 Jan 2015 07:45:07 -0800 Subject: Remove unneeded `require 'as/deprecation'` Tests should still pass after removing `require 'active_support/deprecation'` from these files since the related deprecations have been removed. --- actionview/lib/action_view/helpers/sanitize_helper.rb | 1 - activerecord/lib/active_record/relation/delegation.rb | 1 - activesupport/lib/active_support/test_case.rb | 1 - 3 files changed, 3 deletions(-) diff --git a/actionview/lib/action_view/helpers/sanitize_helper.rb b/actionview/lib/action_view/helpers/sanitize_helper.rb index 7cb55cc214..e72e85ee5f 100644 --- a/actionview/lib/action_view/helpers/sanitize_helper.rb +++ b/actionview/lib/action_view/helpers/sanitize_helper.rb @@ -1,5 +1,4 @@ require 'active_support/core_ext/object/try' -require 'active_support/deprecation' require 'rails-html-sanitizer' module ActionView diff --git a/activerecord/lib/active_record/relation/delegation.rb b/activerecord/lib/active_record/relation/delegation.rb index 50f4d5c7ab..d4a8823cfe 100644 --- a/activerecord/lib/active_record/relation/delegation.rb +++ b/activerecord/lib/active_record/relation/delegation.rb @@ -1,6 +1,5 @@ require 'set' require 'active_support/concern' -require 'active_support/deprecation' module ActiveRecord module Delegation # :nodoc: diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index aa71db3c56..c7d6c62129 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -9,7 +9,6 @@ require 'active_support/testing/isolation' require 'active_support/testing/constant_lookup' require 'active_support/testing/time_helpers' require 'active_support/core_ext/kernel/reporting' -require 'active_support/deprecation' module ActiveSupport class TestCase < ::Minitest::Test -- cgit v1.2.3