pxindex-builder 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/pxindex-builder.rb +2 -1
- metadata +2 -2
- metadata.gz.sig +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2128331ce3c8f5897f49a8c5e054cae1ea48cb87
|
4
|
+
data.tar.gz: 71eb92cd87a71fe72e9f66b483a2920b104926be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ebf09ee915af52f7a0fbcf74f26196f137d0f21f8282836507d6ec28d17e9ad4ce3e8a2b86df48236b3811252edc5fd9c3ec34302a123619e39042ea0e29311
|
7
|
+
data.tar.gz: 9ca95e12359981bffd3f9068a52202aa1a2a2edab828708d21f77415c9d777f62baa473a2ee6d71124e07336eb8a5fe85e4e90936d392477e67fccc2091491d1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/pxindex-builder.rb
CHANGED
@@ -38,10 +38,11 @@ class PxIndexBuilder
|
|
38
38
|
s = raw_s.sub(/<[^>]+>\n/,'')
|
39
39
|
doc = LineTree.new(s, debug: @debug).to_doc(encapsulate: true)
|
40
40
|
a = doc.root.xpath('entry/text()')
|
41
|
+
puts 'a: ' + a.inspect if @debug
|
41
42
|
puts 'doc: ' + doc.xml if @debug
|
42
43
|
a2 = doc.root.xpath('entry//entry/text()')
|
43
44
|
puts 'a2: ' + a2.inspect if @debug
|
44
|
-
a3 = a2 - a
|
45
|
+
a3 = a2.map(&:rstrip) - a.map(&:rstrip)
|
45
46
|
puts 'a3:' + a3.inspect if @debug
|
46
47
|
|
47
48
|
# add the new entries to the main index
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pxindex-builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
rpKyBm8O20gPepUR+u4B3OOMZL1vUMzoAppGGdK/fa9iZHfP9tccqmgXIQ8c4X1f
|
32
32
|
C74enOZQySX7LA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2018-04-
|
34
|
+
date: 2018-04-15 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: line-tree
|
metadata.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
sng:�R�����}� �������W�t�XP@L�\��Ti�u�9�2Ԧ+Qf-�H���&��QK� l�m�m��$��� ?��h���f�V�U|Zz�x�������LE���(�� ���j8�E���[�A
|
1
|
+
��?�F �ANX\���z�T����wqTE���|t��������GmT�B�epj��m�ǒ��2�qx�A)|�eO�
|