From 231c2c57092abf4677673b4509c2d29e035e1b96 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 18 Jun 2008 19:56:22 -0700 Subject: Update Rakefiles to connect to wrath as current user. Use ssh config to set a different user. --- actionpack/Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/Rakefile') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index b37f756c1e..f2ac690332 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -132,13 +132,13 @@ task :update_js => [ :update_scriptaculous ] desc "Publish the API documentation" task :pgem => [:package] do - Rake::SshFilePublisher.new("davidhh@wrath.rubyonrails.org", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload - `ssh davidhh@wrath.rubyonrails.org './gemupdate.sh'` + Rake::SshFilePublisher.new("wrath.rubyonrails.org", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload + `ssh wrath.rubyonrails.org './gemupdate.sh'` end desc "Publish the API documentation" task :pdoc => [:rdoc] do - Rake::SshDirPublisher.new("davidhh@wrath.rubyonrails.org", "public_html/ap", "doc").upload + Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/ap", "doc").upload end desc "Publish the release files to RubyForge." -- cgit v1.2.3 From 8692e1722e3f229d23424c9b247899b8c26c9b0b Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 18 Jun 2008 20:05:23 -0700 Subject: Generate rdoc for all .rb files except those in vendor --- actionpack/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/Rakefile') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index f2ac690332..a41b5636b0 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -54,7 +54,7 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/)) else rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG') - rdoc.rdoc_files.include('lib/**/*.rb') + rdoc.rdoc_files.include(Dir['lib/**/*.rb'] - Dir['lib/*/vendor/**/*.rb']) end } -- cgit v1.2.3 From a61a2af6edac78cd35ae87f3c62a1ab1e202a396 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 18 Jun 2008 20:09:48 -0700 Subject: Exclude lib/actionpack.rb from rdoc --- actionpack/Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'actionpack/Rakefile') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index a41b5636b0..23db84b986 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -54,7 +54,9 @@ Rake::RDocTask.new { |rdoc| rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/)) else rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG') - rdoc.rdoc_files.include(Dir['lib/**/*.rb'] - Dir['lib/*/vendor/**/*.rb']) + rdoc.rdoc_files.include(Dir['lib/**/*.rb'] - + Dir['lib/*/vendor/**/*.rb'] - + ['lib/actionpack.rb']) end } -- cgit v1.2.3 From e96d557be0c7a7efe1c09da076f3404afb103bfc Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 18 Jun 2008 20:16:02 -0700 Subject: Use rdoc exclude --- actionpack/Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/Rakefile') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 23db84b986..86a2f3af14 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -55,8 +55,8 @@ Rake::RDocTask.new { |rdoc| else rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG') rdoc.rdoc_files.include(Dir['lib/**/*.rb'] - - Dir['lib/*/vendor/**/*.rb'] - - ['lib/actionpack.rb']) + Dir['lib/*/vendor/**/*.rb']) + rdoc.rdoc_files.exclude('lib/actionpack.rb') end } -- cgit v1.2.3 From a02d672cd7aead8a24e3b10a6b8e12dd91ee0a49 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 22 Jun 2008 10:38:25 -0700 Subject: Horo rdoc template --- actionpack/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/Rakefile') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 86a2f3af14..1880f21f67 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -49,7 +49,7 @@ Rake::RDocTask.new { |rdoc| rdoc.title = "Action Pack -- On rails from request to response" rdoc.options << '--line-numbers' << '--inline-source' rdoc.options << '--charset' << 'utf-8' - rdoc.template = "#{ENV['template']}.rb" if ENV['template'] + rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo' if ENV['DOC_FILES'] rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/)) else -- cgit v1.2.3