diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-18 20:13:21 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-18 20:17:10 -0700 |
commit | 6e705731233eb230fc3c7e95a437ff644f6907b3 (patch) | |
tree | 0647ef86bd2d5d1ecb778b4a5d50e88b6c652b4e /activesupport | |
parent | c52d9530c34d8b58ded1f11692984080913979df (diff) | |
download | rails-6e705731233eb230fc3c7e95a437ff644f6907b3.tar.gz rails-6e705731233eb230fc3c7e95a437ff644f6907b3.tar.bz2 rails-6e705731233eb230fc3c7e95a437ff644f6907b3.zip |
Use native include/exclude instead of doing it by hand
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
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| |