From 8692e1722e3f229d23424c9b247899b8c26c9b0b Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 18 Jun 2008 20:05:23 -0700 Subject: [PATCH] Generate rdoc for all .rb files except those in vendor --- actionpack/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }