tasks/rdoc.rake in vigetlabs-acts_as_markup-1.2.1 vs tasks/rdoc.rake in vigetlabs-acts_as_markup-1.3.0

- old
+ new

@@ -5,11 +5,11 @@ namespace :doc do desc 'Generate RDoc documentation' Rake::RDocTask.new do |rd| rdoc = PROJ.rdoc - rd.main = rdoc.main + rd.main = rdoc.main || PROJ.readme_file rd.rdoc_dir = rdoc.dir incl = Regexp.new(rdoc.include.join('|')) excl = Regexp.new(rdoc.exclude.join('|')) files = PROJ.gem.files.find_all do |fn| @@ -19,12 +19,9 @@ else false end end rd.rdoc_files.push(*files) title = "#{PROJ.name}-#{PROJ.version} Documentation" - - rf_name = PROJ.rubyforge.name - title = "#{rf_name}'s " + title if rf_name.valid? and rf_name != title rd.options << "-t #{title}" rd.options.concat(rdoc.opts) end