zetaben-Html2Feedbooks 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/feedbooks.rb +1 -1
  2. metadata +1 -1
data/lib/feedbooks.rb CHANGED
@@ -109,7 +109,7 @@ module HTML2FB
109
109
  doc.traverse_all_element do |e|
110
110
  unless e.is_a?Hpricot::Text
111
111
  e.name='xhtml:'+e.name
112
- e.etag='xhtml:'+e.etag unless e.etag.nil?
112
+ e.etag='xhtml:'+e.etag unless (!e.respond_to?:etag) || e.etag.nil?
113
113
  end
114
114
  end
115
115
  FBPost.push(conf,'',doc.to_html,"Text",path)
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: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoit Larroque