From ab7c7a8edd943e178064b2b79c75fb60781eea3e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 26 Feb 2006 00:04:04 +0000 Subject: [PATCH] Fixed rdoc.options use all over (closes #3639) [andy@tinnedfruit.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/Rakefile | 2 +- actionpack/Rakefile | 2 +- actionwebservice/Rakefile | 2 +- activesupport/Rakefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index a45995e52f..9f4ae43bab 100755 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -33,7 +33,7 @@ Rake::TestTask.new { |t| Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Action Mailer -- Easy email delivery and testing" - rdoc.options << '--line-numbers --inline-source --main README --accessor adv_attr_accessor=M' + rdoc.options << '--line-numbers' << '--inline-source' << '--main README' << '--accessor adv_attr_accessor=M' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/action_mailer.rb') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index a1fd6a6064..79c6a0da0b 100755 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -44,7 +44,7 @@ end Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Action Pack -- On rails from request to response" - rdoc.options << '--line-numbers --inline-source --main README' + rdoc.options << '--line-numbers' << '--inline-source' << '--main README' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG') rdoc.rdoc_files.include('lib/**/*.rb') diff --git a/actionwebservice/Rakefile b/actionwebservice/Rakefile index 50c6f25a7a..e128d1198a 100644 --- a/actionwebservice/Rakefile +++ b/actionwebservice/Rakefile @@ -35,7 +35,7 @@ Rake::TestTask.new { |t| Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Action Web Service -- Web services for Action Pack" - rdoc.options << '--line-numbers --inline-source --main README --accessor class_inheritable_option=RW' + rdoc.options << '--line-numbers' << '--inline-source' << '--main README' << '--accessor class_inheritable_option=RW' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('CHANGELOG') diff --git a/activesupport/Rakefile b/activesupport/Rakefile index d49fea4d24..d77a24f72b 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -29,7 +29,7 @@ dist_dirs = [ "lib", "test"] Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' rdoc.title = "Active Support -- Utility classes and standard library extensions from Rails" - rdoc.options << '--line-numbers --inline-source --main README' + rdoc.options << '--line-numbers' << '--inline-source' << '--main README' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/active_support.rb')