From 6e705731233eb230fc3c7e95a437ff644f6907b3 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Wed, 18 Jun 2008 20:13:21 -0700 Subject: Use native include/exclude instead of doing it by hand --- activesupport/Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 5b5fe6dfe5..74d2750011 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -36,7 +36,8 @@ 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(Dir['lib/active_support/**/*.rb'] - Dir['lib/active_support/vendor/**/*.rb']) + rdoc.rdoc_files.include('lib/active_support/**/*.rb') + rdoc.rdoc_files.exclude('lib/active_support/vendor/*') } spec = Gem::Specification.new do |s| -- cgit v1.2.3