Skip to content
This repository
Browse code

Use native include/exclude instead of doing it by hand

  • Loading branch information...
commit 6e705731233eb230fc3c7e95a437ff644f6907b3 1 parent c52d953
Jeremy Kemper jeremy authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  activesupport/Rakefile
3  activesupport/Rakefile
@@ -36,7 +36,8 @@ Rake::RDocTask.new { |rdoc|
36 36 rdoc.template = "#{ENV['template']}.rb" if ENV['template']
37 37 rdoc.rdoc_files.include('README', 'CHANGELOG')
38 38 rdoc.rdoc_files.include('lib/active_support.rb')
39   - rdoc.rdoc_files.include(Dir['lib/active_support/**/*.rb'] - Dir['lib/active_support/vendor/**/*.rb'])
  39 + rdoc.rdoc_files.include('lib/active_support/**/*.rb')
  40 + rdoc.rdoc_files.exclude('lib/active_support/vendor/*')
40 41 }
41 42
42 43 spec = Gem::Specification.new do |s|

0 comments on commit 6e70573

Please sign in to comment.
Something went wrong with that request. Please try again.