app_generators/newgem/templates/config/hoe.rb in newgem-0.15.0 vs app_generators/newgem/templates/config/hoe.rb in newgem-0.16.0
- old
+ new
@@ -53,13 +53,13 @@
p.email = EMAIL
p.summary = DESCRIPTION
p.url = HOMEPATH
p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
p.test_globs = ["test/**/test_*.rb"]
- p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
+ p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store', '.git*'] #An array of file patterns to delete on clean.
# == Optional
- p.changes = p.paragraphs_of("History.txt", 0..1).join("\\n\\n")
+ p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
#p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
<% if is_jruby %>
# JRuby gem created, e.g. <%= gem_name %>-X.Y.Z-jruby.gem
p.spec_extras = { :platform => 'jruby' } # A hash of extra values to set in the gemspec.
<% else %>
\ No newline at end of file