rexle 1.3.0 → 1.3.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -1
- data/lib/rexle.rb +6 -0
- metadata +21 -1
- 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: 5bf60ae25658ed969dbe3950f707b4ff7e94afd0
|
|
4
|
+
data.tar.gz: c30ecda0639ac7c4f8234143a65e3b9e9fd64a41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b797c8787295ecfcf2c86bc84dd33be781eb9ba03a6c086346e7d453c044dfd9085d7849800d11188cb07e50fea6f47db215813174784db1037e2b0ee64f039
|
|
7
|
+
data.tar.gz: e9cf788c8c308d81102a2a796571a95c2b8a054cf236f7cb79e079b861710e3e851c119b71e778a632c445322c5ba0dbe26255b4c2c790def110f24652fe4da3
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
-X ���lr�.�`�6�1/iy�M�"�����؍F�`���cEzh�6 �Xq;jF1���5ji��6o�#�3 ������xIK�{ep�A��S��(���O���J���˯%nG��t�� �pX�%�I���բ��o"�����N�p//�˘�F3��wF���g8t��ֶ1e�=�f�cQqv��r��"rX�I����ݸ������n4���g�z�30Wl��.-i5V�lC(�|�j<
|
data/lib/rexle.rb
CHANGED
|
@@ -13,6 +13,8 @@ require 'cgi'
|
|
|
13
13
|
|
|
14
14
|
# 30-Apr-2015: improvement: Rexle::Element#xpath function contains() can
|
|
15
15
|
# now handle string values
|
|
16
|
+
# feature: Implemented Rexle::Element#backtrack which
|
|
17
|
+
# uses the Backtrack-xpath gem
|
|
16
18
|
# 24-Mar-2015: bug fix: Rexle::Elements no longer allows indexes less than 1
|
|
17
19
|
# 20-Mar-2015: bug fix: Dynarex documents which fail to parse properly with the
|
|
18
20
|
# Dynarex parser are now parsed by by the Rexle parser
|
|
@@ -368,6 +370,10 @@ class Rexle
|
|
|
368
370
|
|
|
369
371
|
end
|
|
370
372
|
|
|
373
|
+
def backtrack()
|
|
374
|
+
BacktrackXPath.new(self).to_s
|
|
375
|
+
end
|
|
376
|
+
|
|
371
377
|
def cdata?()
|
|
372
378
|
self.is_a? CData
|
|
373
379
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rexle
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -133,6 +133,26 @@ dependencies:
|
|
|
133
133
|
- - ">="
|
|
134
134
|
- !ruby/object:Gem::Version
|
|
135
135
|
version: 0.1.3
|
|
136
|
+
- !ruby/object:Gem::Dependency
|
|
137
|
+
name: backtrack-xpath
|
|
138
|
+
requirement: !ruby/object:Gem::Requirement
|
|
139
|
+
requirements:
|
|
140
|
+
- - "~>"
|
|
141
|
+
- !ruby/object:Gem::Version
|
|
142
|
+
version: '0.1'
|
|
143
|
+
- - ">="
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: 0.1.6
|
|
146
|
+
type: :runtime
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - "~>"
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: '0.1'
|
|
153
|
+
- - ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: 0.1.6
|
|
136
156
|
description:
|
|
137
157
|
email: james@r0bertson.co.uk
|
|
138
158
|
executables: []
|
metadata.gz.sig
CHANGED
|
Binary file
|