feed_me 0.6.0 → 0.6.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.
@@ -107,7 +107,7 @@ private
107
107
  if from
108
108
  node[from]
109
109
  else
110
- node.inner_html
110
+ node.text
111
111
  end
112
112
  end
113
113
 
@@ -12,11 +12,11 @@ module FeedMe
12
12
  attr_reader :uri
13
13
 
14
14
  def email
15
- xml.inner_html.split(/\s+/, 2)[0] if xml
15
+ xml.text.split(/\s+/, 2)[0] if xml
16
16
  end
17
17
 
18
18
  def name
19
- xml.inner_html.split(/\s+/, 2)[1].to_s[/\((.*?)\)/, 1] if xml
19
+ xml.text.split(/\s+/, 2)[1].to_s[/\((.*?)\)/, 1] if xml
20
20
  end
21
21
  end
22
22
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feed_me
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Nicklas