Rakefile in yard-rest-1.0.5 vs Rakefile in yard-rest-1.1.0
- old
+ new
@@ -8,11 +8,11 @@
gem.summary = %Q{A customized plugin for Yardoc that produces API documentation for Restful web services}
gem.description = %Q{A customized plugin for Yardoc that produces API documentation for Restful web services}
gem.email = ''
gem.homepage = "https://github.com/spape/yard-rest-plugin"
gem.authors = ['R. Kevin Nelson', 'Aisha Fenton', 'Sebastian Pape']
- gem.add_dependency("yard", '~>0.7.4')
+ gem.add_dependency("yard", '~>0.8.1')
gem.files = Dir.glob("{lib,example,templates}/**/*").concat(["Rakefile"])
gem.extra_rdoc_files = ['VERSION', 'README.markdown']
end
Jeweler::GemcutterTasks.new
rescue LoadError
@@ -29,10 +29,10 @@
end
namespace :ex do
desc "Generate example docs"
task :generate do
- `yardoc 'example/*.rb' --backtrace -e ./lib/yard-rest.rb -r example/README.markdown --title 'Sample API'`
+ `yardoc 'example/app/controllers/examples_controller.rb' -e ./lib/yard-rest.rb --title "Our App's API" --readme "example/doc/README_FOR_API"`
end
desc "Clean example docs"
task :clean do
`rm -R doc`