mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use native include/exclude instead of doing it by hand
This commit is contained in:
parent
c52d9530c3
commit
6e70573123
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ Rake::RDocTask.new { |rdoc|
|
||||||
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
rdoc.template = "#{ENV['template']}.rb" if ENV['template']
|
||||||
rdoc.rdoc_files.include('README', 'CHANGELOG')
|
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(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|
|
spec = Gem::Specification.new do |s|
|
||||||
|
|
Loading…
Reference in a new issue