Skip to content

Commit

Permalink
Correcting url#to_s bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaben committed May 25, 2009
1 parent 0059b13 commit a9288a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Html2Feedbooks.gemspec
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion bin/html2fb.rb
Expand Up @@ -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
Expand Down

0 comments on commit a9288a6

Please sign in to comment.