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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b01a429faca38a0012c0fbacba964d73b8b446f0
4
- data.tar.gz: 35abca30022f63e2050c08386ede1fadc1d3dc8e
3
+ metadata.gz: 59dce319a7f6029782ec17a5ca84a3b916c372d8
4
+ data.tar.gz: e16e070a37d4e7f4af2ddabcbcaec50c3292f339
5
5
  SHA512:
6
- metadata.gz: 2c9545684ed7caa9942949e001d86e9f48a951a377c348ee61a253f35b318555d8f185665f318cb850698fab9f81ef554726633bba672416d59fbd47a187ad3a
7
- data.tar.gz: 3529f4691329569af9a02a13c69e8b0b2b0c783eed717770cf34997535d1a1bc5e1eeeefdf7fd63c3221d1302b8ca71286c9bdd39d31b1abbb8bd9794b4d009c
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
- 'tg��(J��S�Љ�7ma��nW*�GD�&��M�-�SȎ�r��+���^�6
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���4q-t�X���fX� s�&t��n��"%Z�d4; �w�+[�[�Y�J��dy\ȗ6O0�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
- @to_doc = doc2
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.0
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-11-29 00:00:00.000000000 Z
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