Rakefile in getopt-declare-1.20 vs Rakefile in getopt-declare-1.21

- old
+ new

@@ -1,18 +1,18 @@ #!/usr/bin/env ruby require 'rake/gempackagetask' require 'rake/rdoctask' -rdoc_files = ["Declare.rdoc", 'HISTORY.txt'] +rdoc_files = ["Declare.rdoc", 'HISTORY.txt'] + Dir.glob('lib/*/*.rb') # # TASK: Gem specification and creation ('gem') # spec = Gem::Specification.new do |spec| spec.name = "getopt-declare" - spec.version = '1.20' + spec.version = '1.21' spec.author = "Gonzalo Garramuno" spec.email = 'ggarra@advancedsl.com.ar, GGarramuno@aol.com' spec.homepage = 'http://www.rubyforge.org/projects/getoptdeclare/' spec.summary = 'Getopt-Declare is a command-line argument parser.' spec.require_path = "lib" @@ -40,10 +40,10 @@ # TASK: Run rdoc to document code ('rdoc') # html_dir = 'doc/html' library = 'Getopt/Declare' Rake::RDocTask.new('rdoc') do |t| - t.rdoc_files.include(rdoc_files, 'lib/**/*.rb') + t.rdoc_files.include(rdoc_files) t.main = 'doc/index.html' # Main web page t.title = "#{library} API documentation" t.rdoc_dir = html_dir end