diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-18 20:03:07 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-18 20:03:18 -0700 |
commit | 1e2544d536e2a4e2971f651ec6e4bfa99ac5b5d2 (patch) | |
tree | b0a18c266556ec0ce1d93eeb1e65d3e982e4a1bd /activesupport/Rakefile | |
parent | 9b3394f7893a02d1abfed780f0f4c823f0df4c42 (diff) | |
download | rails-1e2544d536e2a4e2971f651ec6e4bfa99ac5b5d2.tar.gz rails-1e2544d536e2a4e2971f651ec6e4bfa99ac5b5d2.tar.bz2 rails-1e2544d536e2a4e2971f651ec6e4bfa99ac5b5d2.zip |
Generate rdoc for all .rb files except those in vendor
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r-- | activesupport/Rakefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 235094ec54..5b5fe6dfe5 100644 --- a/activesupport/Rakefile +++ b/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| |