aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/Rakefile
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-23 21:11:29 +0200
committerXavier Noria <fxn@hashref.com>2010-07-23 21:11:29 +0200
commitb50635a59f7d2fab2cdba348c4169536fbbb77f4 (patch)
tree9efa442c92693fb18bfae39c5758ac80275b8121 /activesupport/Rakefile
parent5ebc1d88d3c80f8773d39b155a4e6f66544ec46b (diff)
downloadrails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.gz
rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.bz2
rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.zip
update Rakefiles for RDoc 2.5
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r--activesupport/Rakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile
index 922e0da236..28426f94ea 100644
--- a/activesupport/Rakefile
+++ b/activesupport/Rakefile
@@ -1,7 +1,7 @@
gem 'rdoc', '>= 2.5.9'
require 'rdoc'
require 'rake/testtask'
-require 'rake/rdoctask'
+require 'rdoc/task'
require 'rake/gempackagetask'
task :default => :test
@@ -22,12 +22,12 @@ dist_dirs = [ "lib", "test"]
# Genereate the RDoc documentation
-Rake::RDocTask.new { |rdoc|
+RDoc::Task.new { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "Active Support -- Utility classes and standard library extensions from Rails"
- rdoc.options << '--line-numbers' << '--inline-source'
+ 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/active_support.rb')
rdoc.rdoc_files.include('lib/active_support/**/*.rb')