aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2018-04-02 16:15:52 +0200
committerGitHub <noreply@github.com>2018-04-02 16:15:52 +0200
commit0ec23effa74e8e9da6ebb14afbd335bea470ab3e (patch)
tree8c7cf1b5caa24ef6fc5d9219aebb7c027749bd07 /railties/lib/rails/tasks
parent09b2348f7fc8d4e7191e70e06608c5909067e2aa (diff)
parentf2ebfcb0c0069299f416bb95536f4678fa0a093b (diff)
downloadrails-0ec23effa74e8e9da6ebb14afbd335bea470ab3e.tar.gz
rails-0ec23effa74e8e9da6ebb14afbd335bea470ab3e.tar.bz2
rails-0ec23effa74e8e9da6ebb14afbd335bea470ab3e.zip
Merge pull request #32065 from sikachu/move-SourceAnnotationExtractor-under-rails-namespec
Move SourceAnnotationExtractor under Rails module
Diffstat (limited to 'railties/lib/rails/tasks')
-rw-r--r--railties/lib/rails/tasks/annotations.rake6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/tasks/annotations.rake b/railties/lib/rails/tasks/annotations.rake
index 93bc66e2db..60bcdc5e1b 100644
--- a/railties/lib/rails/tasks/annotations.rake
+++ b/railties/lib/rails/tasks/annotations.rake
@@ -4,19 +4,19 @@ require "rails/source_annotation_extractor"
desc "Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)"
task :notes do
- SourceAnnotationExtractor.enumerate "OPTIMIZE|FIXME|TODO", tag: true
+ Rails::SourceAnnotationExtractor.enumerate "OPTIMIZE|FIXME|TODO", tag: true
end
namespace :notes do
["OPTIMIZE", "FIXME", "TODO"].each do |annotation|
# desc "Enumerate all #{annotation} annotations"
task annotation.downcase.intern do
- SourceAnnotationExtractor.enumerate annotation
+ Rails::SourceAnnotationExtractor.enumerate annotation
end
end
desc "Enumerate a custom annotation, specify with ANNOTATION=CUSTOM"
task :custom do
- SourceAnnotationExtractor.enumerate ENV["ANNOTATION"]
+ Rails::SourceAnnotationExtractor.enumerate ENV["ANNOTATION"]
end
end