app_generators/newgem/templates/Rakefile in newgem-1.0.1 vs app_generators/newgem/templates/Rakefile in newgem-1.0.2

- old
+ new

@@ -1,6 +1,6 @@ -%w[rubygems rake rake/clean fileutils hoe newgem rubigen].each { |f| require f } +%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f } require File.dirname(__FILE__) + '/lib/<%= gem_name %>' # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.new('<%= gem_name %>', <%= module_name %>::VERSION) do |p| @@ -15,10 +15,9 @@ ['newgem', ">= #{::Newgem::VERSION}"] ] <% if is_jruby -%> p.spec_extras['platform'] = 'jruby' # JRuby gem created, e.g. <%= gem_name %>-X.Y.Z-jruby.gem <% end -%> - p.spec_extras['rdoc_options'] = ['--main', Dir['README*'].first] # hopefully fixed in future hoe > 1.8 p.clean_globs |= %w[**/.DS_Store tmp *.log] path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}" p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc') p.rsync_args = '-av --delete --ignore-errors' end