diff options
author | José Valim <jose.valim@gmail.com> | 2010-07-24 00:49:16 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-07-24 00:49:16 +0200 |
commit | 7a7cbab1f4204093796c8d1d3b74a4170cb302c2 (patch) | |
tree | cd1c982df9f7612b6473e5428c3912c47a9b0dd4 /activeresource | |
parent | 76b6136b00a9d0a74f99ca4f1ae347230bde94e0 (diff) | |
parent | 728ba209e7ec3126848ec58cc1388e9eff8145e5 (diff) | |
download | rails-7a7cbab1f4204093796c8d1d3b74a4170cb302c2.tar.gz rails-7a7cbab1f4204093796c8d1d3b74a4170cb302c2.tar.bz2 rails-7a7cbab1f4204093796c8d1d3b74a4170cb302c2.zip |
Merge branch 'master' of github.com:rails/rails
Diffstat (limited to 'activeresource')
-rw-r--r-- | activeresource/Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activeresource/Rakefile b/activeresource/Rakefile index 43b2d15916..63444be1d0 100644 --- a/activeresource/Rakefile +++ b/activeresource/Rakefile @@ -2,7 +2,7 @@ gem 'rdoc', '>= 2.5.9' require 'rdoc' require 'rake' require 'rake/testtask' -require 'rake/rdoctask' +require 'rdoc/task' require 'rake/packagetask' require 'rake/gempackagetask' @@ -29,12 +29,12 @@ end # Generate the RDoc documentation -Rake::RDocTask.new { |rdoc| +RDoc::Task.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Active Resource -- Object-oriented REST services" - rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object' + rdoc.options << '-f' << 'horo' + rdoc.options << '--main' << 'README.rdoc' rdoc.options << '--charset' << 'utf-8' - rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo' rdoc.rdoc_files.include('README.rdoc', 'CHANGELOG') rdoc.rdoc_files.include('lib/**/*.rb') rdoc.rdoc_files.exclude('lib/activeresource.rb') |