From cfa35c55bb38b27af305ad21408e181bc3cd739e Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Mon, 1 Jul 2013 22:15:33 +0200 Subject: remove deprecated `BufferedLogger`. --- activesupport/lib/active_support/buffered_logger.rb | 21 --------------------- .../active_support/log_subscriber/test_helper.rb | 1 - 2 files changed, 22 deletions(-) delete mode 100644 activesupport/lib/active_support/buffered_logger.rb (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/buffered_logger.rb b/activesupport/lib/active_support/buffered_logger.rb deleted file mode 100644 index 1cd0c2f790..0000000000 --- a/activesupport/lib/active_support/buffered_logger.rb +++ /dev/null @@ -1,21 +0,0 @@ -require 'active_support/deprecation' -require 'active_support/logger' - -module ActiveSupport - class BufferedLogger < Logger - - def initialize(*args) - self.class._deprecation_warning - super - end - - def self.inherited(*) - _deprecation_warning - super - end - - def self._deprecation_warning - ::ActiveSupport::Deprecation.warn 'ActiveSupport::BufferedLogger is deprecated! Use ActiveSupport::Logger instead.' - end - end -end diff --git a/activesupport/lib/active_support/log_subscriber/test_helper.rb b/activesupport/lib/active_support/log_subscriber/test_helper.rb index f9a98686d3..e50784ea0e 100644 --- a/activesupport/lib/active_support/log_subscriber/test_helper.rb +++ b/activesupport/lib/active_support/log_subscriber/test_helper.rb @@ -1,5 +1,4 @@ require 'active_support/log_subscriber' -require 'active_support/buffered_logger' require 'active_support/notifications' module ActiveSupport -- cgit v1.2.3