diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-07-01 22:15:33 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-07-01 22:16:37 +0200 |
commit | cfa35c55bb38b27af305ad21408e181bc3cd739e (patch) | |
tree | 479c8b510a189247b59e25a5d18234b2dff89a00 /activesupport/lib | |
parent | cd74f0292f0e4caa13fae2b9869f5f190c081839 (diff) | |
download | rails-cfa35c55bb38b27af305ad21408e181bc3cd739e.tar.gz rails-cfa35c55bb38b27af305ad21408e181bc3cd739e.tar.bz2 rails-cfa35c55bb38b27af305ad21408e181bc3cd739e.zip |
remove deprecated `BufferedLogger`.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/buffered_logger.rb | 21 | ||||
-rw-r--r-- | activesupport/lib/active_support/log_subscriber/test_helper.rb | 1 |
2 files changed, 0 insertions, 22 deletions
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 |