wordpress-wxr 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wordpress/wxr/author.rb +2 -2
- data/lib/wordpress/wxr/comment.rb +2 -2
- data/lib/wordpress/wxr/version.rb +1 -1
- data/wordpress-wxr.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d098d75c80461cfb88acbaaa2c071ca96dca046
|
4
|
+
data.tar.gz: a20297b555657488ac0db32bb55fd01e600e56a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7172d0b0cd340babe6fcc030ca6b236343565776e2b7c4ff55066dd676f17a345112fbb37357d8ad93908efd0ddd844cccbf44c9c50e19f145792271c4efac95
|
7
|
+
data.tar.gz: fc7942c3eb342f914bc2f83b946b56d5b3dfa0863ec00c7e95448a64e9ca85348e290f4f7423c9322f2a75194f1829605ebc5be15f2417f19356c21c58754da7
|
data/lib/wordpress/wxr/author.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'wordpress/wxr/element'
|
2
|
-
require '
|
2
|
+
require 'mail'
|
3
3
|
|
4
4
|
module Wordpress
|
5
5
|
class WXR
|
@@ -13,7 +13,7 @@ module Wordpress
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def email
|
16
|
-
|
16
|
+
Mail::Address.new(node.xpath('wp:author_email').text)
|
17
17
|
end
|
18
18
|
|
19
19
|
def display_name
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'wordpress/wxr/element'
|
2
|
-
require '
|
2
|
+
require 'mail'
|
3
3
|
require 'uri'
|
4
4
|
|
5
5
|
module Wordpress
|
@@ -10,7 +10,7 @@ module Wordpress
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def email
|
13
|
-
|
13
|
+
Mail::Address.new(node.xpath('wp:comment_author_email').text)
|
14
14
|
end
|
15
15
|
|
16
16
|
def url
|
data/wordpress-wxr.gemspec
CHANGED
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency 'rake', '~> 10.0'
|
23
23
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
24
24
|
|
25
|
-
spec.add_runtime_dependency '
|
25
|
+
spec.add_runtime_dependency 'mail', '~> 2.5.4'
|
26
26
|
spec.add_runtime_dependency 'nokogiri'
|
27
27
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordpress-wxr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ePublishing, inc.
|
@@ -53,19 +53,19 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: mail
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 2.5.4
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.5.4
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: nokogiri
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|