Permalink
Browse files

Use native include/exclude instead of doing it by hand

  • Loading branch information...
1 parent c52d953 commit 6e705731233eb230fc3c7e95a437ff644f6907b3 @jeremy jeremy committed Jun 19, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 activesupport/Rakefile
View
3 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|

0 comments on commit 6e70573

Please sign in to comment.