Sha256: 996bf075d9a4c9d92acbd584e96250217bf8e906206ba3fb2331592a1506d9d8

Contents?: true

Size: 307 Bytes

Versions: 30

Compression:

Stored size: 307 Bytes

Contents

# bundle exec rake annotate
# bundle exec rake annotate[user]

desc 'Adds an effective_resources do .. end block to all ActiveRecord model files'
task :annotate, [:resource] => :environment do |t, args|
  args.with_defaults(resource: 'all')
  Effective::Annotator.new(resource: args.resource).annotate!
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
effective_developer-0.8.5 lib/tasks/annotate.rake
effective_developer-0.8.4 lib/tasks/annotate.rake
effective_developer-0.8.3 lib/tasks/annotate.rake
effective_developer-0.8.2 lib/tasks/annotate.rake
effective_developer-0.8.1 lib/tasks/annotate.rake
effective_developer-0.8.0 lib/tasks/annotate.rake
effective_developer-0.7.8 lib/tasks/annotate.rake
effective_developer-0.7.7 lib/tasks/annotate.rake
effective_developer-0.7.6 lib/tasks/annotate.rake
effective_developer-0.7.5 lib/tasks/annotate.rake
effective_developer-0.7.4 lib/tasks/annotate.rake
effective_developer-0.7.3 lib/tasks/annotate.rake
effective_developer-0.7.2 lib/tasks/annotate.rake
effective_developer-0.7.1 lib/tasks/annotate.rake
effective_developer-0.7.0 lib/tasks/annotate.rake
effective_developer-0.6.17 lib/tasks/annotate.rake
effective_developer-0.6.16 lib/tasks/annotate.rake
effective_developer-0.6.15 lib/tasks/annotate.rake
effective_developer-0.6.14 lib/tasks/annotate.rake
effective_developer-0.6.13 lib/tasks/annotate.rake