Skip to content
Browse files

Generate rdoc for all .rb files except those in vendor

  • Loading branch information...
1 parent 9b3394f commit 1e2544d536e2a4e2971f651ec6e4bfa99ac5b5d2 @jeremy jeremy committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 activesupport/Rakefile
View
3 activesupport/Rakefile
@@ -36,8 +36,7 @@ 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('lib/active_support/*.rb')
- rdoc.rdoc_files.include('lib/active_support/**/*.rb')
+ rdoc.rdoc_files.include(Dir['lib/active_support/**/*.rb'] - Dir['lib/active_support/vendor/**/*.rb'])
}
spec = Gem::Specification.new do |s|

0 comments on commit 1e2544d

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