Sha256: ca77a80039161e843165583cd82330b3483a09629b2bf695939176fda972f689

Contents?: true

Size: 607 Bytes

Versions: 227

Compression:

Stored size: 607 Bytes

Contents

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
end

namespace :notes do
  ["OPTIMIZE", "FIXME", "TODO"].each do |annotation|
    # desc "Enumerate all #{annotation} annotations"
    task annotation.downcase.intern do
      SourceAnnotationExtractor.enumerate annotation
    end
  end

  desc "Enumerate a custom annotation, specify with ANNOTATION=CUSTOM"
  task :custom do
    SourceAnnotationExtractor.enumerate ENV['ANNOTATION']
  end
end

Version data entries

227 entries across 188 versions & 19 rubygems

Version Path
railties-3.2.13 lib/rails/tasks/annotations.rake
railties-3.1.12 lib/rails/tasks/annotations.rake
railties-3.2.13.rc2 lib/rails/tasks/annotations.rake
openskies-0.0.5.2 lib/rails/tasks/annotations.rake
openskies-0.0.5.1 lib/rails/tasks/annotations.rake
openskies-0.0.5 lib/rails/tasks/annotations.rake
openskies-0.0.4 lib/rails/tasks/annotations.rake
railties-3.2.13.rc1 lib/rails/tasks/annotations.rake
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/tasks/annotations.rake
openskies-0.0.3 lib/rails/tasks/annotations.rake
active_mailer-0.0.4 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/tasks/annotations.rake
active_mailer-0.0.3 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/tasks/annotations.rake
railties-3.2.12 lib/rails/tasks/annotations.rake
railties-3.1.11 lib/rails/tasks/annotations.rake
openskies-0.0.2 lib/rails/tasks/annotations.rake
openskies-0.0.1 lib/rails/tasks/annotations.rake
graphael-on-rails-0.5.1 vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/annotations.rake
graphael-on-rails-0.0.1 vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/annotations.rake
challah-0.9.1.beta.3 vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/annotations.rake
devise_sociable-0.1.0 vendor/bundle/gems/railties-3.2.11/lib/rails/tasks/annotations.rake