script/txt2html in newgem-0.22.0 vs script/txt2html in newgem-0.22.1

- old
+ new

@@ -34,13 +34,13 @@ version = Newgem::VERSION::STRING download = ENV['DOWNLOAD_PATH'] if ARGV.length >= 1 src, template = ARGV - template ||= File.join(File.dirname(__FILE__), '/../website/template.rhtml') + template ||= File.join(File.dirname(__FILE__), '/../website/template.html.erb') else - puts("Usage: #{File.split($0).last} source.txt [template.rhtml] > output.html") + puts("Usage: #{File.split($0).last} source.txt [template.html.erb] > output.html") exit! end template = ERB.new(File.open(template).read)