Permalink
Browse files

Correcting url#to_s bug

  • Loading branch information...
1 parent 0059b13 commit a9288a69de12ca429d35ca0cdf89be68fc48cd55 @zetaben committed May 25, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 Html2Feedbooks.gemspec
  2. +1 −1 bin/html2fb.rb
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{Html2Feedbooks}
- s.version = '0.2.1'
+ s.version = '0.2.2'
s.date = %q{2009-04-28}
s.authors = ["Benoit Larroque"]
s.email = "zeta dot ben at gmail dot com"
View
@@ -46,7 +46,7 @@
doc=Parser.new(conf).parse(content)
puts doc.toc.to_yaml
if options[:preview]
- page=File.join(Dir.tmpdir(),Digest::MD5.hexdigest(url))+'.html'
+ page=File.join(Dir.tmpdir(),Digest::MD5.hexdigest(url.to_s))+'.html'
f=File.open(page,'w')
f.write doc.to_html
f.close

0 comments on commit a9288a6

Please sign in to comment.