zetaben-Html2Feedbooks 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/bin/html2fb.rb +1 -1
  2. metadata +1 -1
data/bin/html2fb.rb CHANGED
@@ -46,7 +46,7 @@ content=Downloader.download(url)
46
46
  doc=Parser.new(conf).parse(content)
47
47
  puts doc.toc.to_yaml
48
48
  if options[:preview]
49
- page=File.join(Dir.tmpdir(),Digest::MD5.hexdigest(url))+'.html'
49
+ page=File.join(Dir.tmpdir(),Digest::MD5.hexdigest(url.to_s))+'.html'
50
50
  f=File.open(page,'w')
51
51
  f.write doc.to_html
52
52
  f.close
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zetaben-Html2Feedbooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Larroque