feed_me 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/feed_me/abstract_parser.rb +1 -1
- data/lib/feed_me/person_parser.rb +2 -2
- metadata +1 -1
@@ -12,11 +12,11 @@ module FeedMe
|
|
12
12
|
attr_reader :uri
|
13
13
|
|
14
14
|
def email
|
15
|
-
xml.
|
15
|
+
xml.text.split(/\s+/, 2)[0] if xml
|
16
16
|
end
|
17
17
|
|
18
18
|
def name
|
19
|
-
xml.
|
19
|
+
xml.text.split(/\s+/, 2)[1].to_s[/\((.*?)\)/, 1] if xml
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|