wordpress-wxr 0.7 → 0.71
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/wordpress/wxr/directory_listing.rb +0 -8
- data/lib/wordpress/wxr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b552885cb22509feaeec38a461579a85b597a75
|
4
|
+
data.tar.gz: f490a6aaebe68cfc03084d3e77784fa816bc860a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34e9c840823d83ee33accb5248e3a65b386a4ca5777fea4bad07640f2cfa38d554b5451c3d9e07e2259d337244cb6476859a8270dac90d9d95654330cf85878d
|
7
|
+
data.tar.gz: ca3e579366b2857da2642187b414170c2b1f683ad66b788081ce6bd6a2d929902d578a401941395433fc153072bdea569883828e6f6d0c14d7d2dc005f9d5f66
|
data/README.md
CHANGED
@@ -104,14 +104,6 @@ module Wordpress
|
|
104
104
|
''
|
105
105
|
end
|
106
106
|
end
|
107
|
-
|
108
|
-
private
|
109
|
-
|
110
|
-
def unserialize(xml_field_name, key)
|
111
|
-
serialized_php = node.xpath("//wp:postmeta[wp:meta_key = '#{xml_field_name}']").at_xpath('wp:meta_value').text
|
112
|
-
unserialized_php = PHP.unserialize(serialized_php)
|
113
|
-
!!unserialized_php[key] && !unserialized_php[key].empty? ? unserialized_php[key] : ''
|
114
|
-
end
|
115
107
|
end
|
116
108
|
end
|
117
109
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wordpress-wxr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.71'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ePublishing, inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|