rexle-diff 0.6.0 → 0.6.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 +1 -2
- data/lib/rexle-diff.rb +15 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59dce319a7f6029782ec17a5ca84a3b916c372d8
|
4
|
+
data.tar.gz: e16e070a37d4e7f4af2ddabcbcaec50c3292f339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ef7bb8eeb3e078f261b5864f7f709bae79462902ac48a9f1b143dfe8cdc81d00debed247e3b2cf9892dff69ffbbeb5d7ad3835f2efa124f8da9c8469f643aed
|
7
|
+
data.tar.gz: c9d91a211a0bd574fd65bdf95971011bbea8455a314880e4fda77f374467f9701a7016eb8d30e50c77321cba41ded28a835eb82c5ae8367247025e8a39b2f51a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
�
|
2
|
-
�͎� �0$DDe�A��t]�.��z#��Ӄ��Oh���J�*�-A{W����k�c���CpY`>��3L6q+�NH�,�=��Wb�9?B��5����[̾�e<�?X��]��*�ʮm�"�3]fڝ\d&֍���6��*o;nd?F��l;���ޤ�
|
1
|
+
Z���Q���gk<��@^��GP�������(S[%�� ]�;�pBH��ħ��@\x�(A���4�q-t�X���fX�s�&t��n��"%Z�d4; �w�+[�[�Y�J��dy\ȗ6O�0�C�u�u�j��Ш�F�p�:^h#�v����v[-<�I�%�Me��]�rt�(���Ux�T�O��Ǚ%ڧ4*?U��KODn��l�b�ǽ)��*�/����qn��*���3�
|
data/lib/rexle-diff.rb
CHANGED
@@ -58,9 +58,7 @@ class RexleDiff
|
|
58
58
|
|
59
59
|
end
|
60
60
|
|
61
|
-
|
62
61
|
|
63
|
-
attr_reader :to_doc
|
64
62
|
|
65
63
|
def initialize(source1, source2, fuzzy_match: false)
|
66
64
|
|
@@ -71,7 +69,21 @@ class RexleDiff
|
|
71
69
|
|
72
70
|
compare(doc1.root, doc2.root)
|
73
71
|
|
74
|
-
@
|
72
|
+
@doc = doc2
|
73
|
+
end
|
74
|
+
|
75
|
+
def changed()
|
76
|
+
@doc.root.xpath('*[@last_modified]')
|
77
|
+
end
|
78
|
+
|
79
|
+
alias updated changed
|
80
|
+
|
81
|
+
def created()
|
82
|
+
@doc.root.xpath('*[@created]')
|
83
|
+
end
|
84
|
+
|
85
|
+
def to_doc()
|
86
|
+
@doc
|
75
87
|
end
|
76
88
|
|
77
89
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexle-diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
q1Kd4dlPzOv4eViQtUu66H9or/lvOPWh/CmIReM06Ant7uX9HVEaRG7XDH9fPp5p
|
32
32
|
3j65mk5AS10weg==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-
|
34
|
+
date: 2016-12-08 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexle
|
metadata.gz.sig
CHANGED
Binary file
|