From 92dac547fdf073e034c11a452d3b965a38a0f948 Mon Sep 17 00:00:00 2001 From: Prem Sichanugrist Date: Thu, 22 Mar 2018 13:02:43 +0000 Subject: Add deprecation note for SourceAnnotationExtractor --- railties/lib/rails/source_annotation_extractor.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'railties') diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb index 9fa2de2e54..73bee5bcbf 100644 --- a/railties/lib/rails/source_annotation_extractor.rb +++ b/railties/lib/rails/source_annotation_extractor.rb @@ -1,5 +1,12 @@ # frozen_string_literal: true +require "active_support/deprecation" + +# Remove this deprecated class in the next minor version +#:nodoc: +SourceAnnotationExtractor = ActiveSupport::Deprecation::DeprecatedConstantProxy. + new("SourceAnnotationExtractor", "Rails::SourceAnnotationExtractor") + module Rails # Implements the logic behind the rake tasks for annotations like # -- cgit v1.2.3