From 1e2544d536e2a4e2971f651ec6e4bfa99ac5b5d2 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 18 Jun 2008 20:03:07 -0700 Subject: Generate rdoc for all .rb files except those in vendor --- activesupport/Rakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activesupport/Rakefile') diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 235094ec54..5b5fe6dfe5 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -36,8 +36,7 @@ Rake::RDocTask.new { |rdoc| rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/active_support.rb') - rdoc.rdoc_files.include('lib/active_support/*.rb') - rdoc.rdoc_files.include('lib/active_support/**/*.rb') + rdoc.rdoc_files.include(Dir['lib/active_support/**/*.rb'] - Dir['lib/active_support/vendor/**/*.rb']) } spec = Gem::Specification.new do |s| -- cgit v1.2.3