Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use native include/exclude instead of doing it by hand

  • Loading branch information...
commit 6e705731233eb230fc3c7e95a437ff644f6907b3 1 parent c52d953
Jeremy Kemper jeremy authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  activesupport/Rakefile
3  activesupport/Rakefile
View
@@ -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|
Please sign in to comment.
Something went wrong with that request. Please try again.