zetaben-Html2Feedbooks 0.4 → 0.4.1

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 (3) hide show
  1. data/bin/html2fb.rb +4 -1
  2. data/lib/conf.rb +1 -0
  3. metadata +1 -1
data/bin/html2fb.rb CHANGED
@@ -50,7 +50,10 @@ if options[:preview]
50
50
  f=File.open(page,'w')
51
51
  f.write doc.to_html
52
52
  f.close
53
- Launchy::Browser.run('file://'+page)
53
+ puts "A preview of the parsed file should be opening in your webbrowser now"
54
+ puts "If nothing open you can open the file located at : #{page}"
55
+ puts "When happy with the parsed output rerun with -s option to send to Feedbooks.com"
56
+ Launchy::Browser.run(page)
54
57
  else
55
58
  doc.to_feedbooks(conf)
56
59
  end
data/lib/conf.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'yaml'
1
2
 
2
3
  module HTML2FB
3
4
  class Conf
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.4"
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Larroque