Commit 0d6a79b4 by miyucy

Merge remote branch 'markbates/master' into restart

Conflicts: annotate.gemspec
parents 8d47241e cec00f1a
...@@ -27,12 +27,12 @@ Gem::Specification.new do |s| ...@@ -27,12 +27,12 @@ Gem::Specification.new do |s|
"lib/annotate/annotate_routes.rb", "lib/annotate/annotate_routes.rb",
"lib/tasks/annotate_models.rake", "lib/tasks/annotate_models.rake",
"lib/tasks/annotate_routes.rake", "lib/tasks/annotate_routes.rake",
"lib/tasks/migrate.rake",
"spec/annotate/annotate_models_spec.rb", "spec/annotate/annotate_models_spec.rb",
"spec/annotate/annotate_routes_spec.rb", "spec/annotate/annotate_routes_spec.rb",
"spec/annotate_spec.rb", "spec/annotate_spec.rb",
"spec/spec.opts", "spec/spec.opts",
"spec/spec_helper.rb", "spec/spec_helper.rb"
"tasks/migrate.rake"
] ]
s.homepage = %q{http://github.com/ctran/annotate} s.homepage = %q{http://github.com/ctran/annotate}
s.rdoc_options = ["--charset=UTF-8"] s.rdoc_options = ["--charset=UTF-8"]
......
desc "Prepends the route map to the top of routes.rb" desc "Prepends the route map to the top of routes.rb"
task :annotate_routes do task :annotate_routes => :environment do
require 'annotate/annotate_routes' require 'annotate/annotate_routes'
AnnotateRoutes.do_annotate AnnotateRoutes.do_annotate
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment