pxindex-builder 0.2.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3229af6d51962358d1f061ef1a0b97bb4c218b33
4
- data.tar.gz: cef39271b8bd4e31d084c3e7cf4e1ad4b075daa2
3
+ metadata.gz: 2128331ce3c8f5897f49a8c5e054cae1ea48cb87
4
+ data.tar.gz: 71eb92cd87a71fe72e9f66b483a2920b104926be
5
5
  SHA512:
6
- metadata.gz: 2faa208ab98b3ade27b8d35b3efb67c0214fac5e94de2cc3e95df971495c785cc26105fd7230b075b30147893660c44dca0f6c9468a7bac8920d2e897a7be78e
7
- data.tar.gz: a6cd4aea8b62250abf85e2867182536a3a7e15ba9030d16ab763729058b6f6465fa97f6045999a2c2137fb0bcd1976b3178e7415fd780ba162826b3039601e80
6
+ metadata.gz: 8ebf09ee915af52f7a0fbcf74f26196f137d0f21f8282836507d6ec28d17e9ad4ce3e8a2b86df48236b3811252edc5fd9c3ec34302a123619e39042ea0e29311
7
+ data.tar.gz: 9ca95e12359981bffd3f9068a52202aa1a2a2edab828708d21f77415c9d777f62baa473a2ee6d71124e07336eb8a5fe85e4e90936d392477e67fccc2091491d1
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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.0
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-14 00:00:00.000000000 Z
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
- _𕀣"%�Xx�6
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