rexle-xpath-parser 0.1.16 → 0.1.17
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 +0 -0
- data/lib/rexle-xpath-parser.rb +3 -3
- metadata +2 -2
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64947852450fbb3e30dbc340bd40102727678360
|
4
|
+
data.tar.gz: 2ed0d2a058e107b5fc7c909f9f6dbf9727d31f6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 136cbeed6ba632da0639926c11fa931ac1bb1a01a41faaa35de11bc58dea7c05aaaec53fc175648f6fa76fac5cfdf820c3b46c9d02094c1303cd75d346e01fb0
|
7
|
+
data.tar.gz: c0a4194989e08fd5bfb72086b4c70dce2061c38690d555ac88e15526e6713f7227a67d351dbb788bbcf59a47087a724faf948ee4c08fa594ca2059d01dda65d0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle-xpath-parser.rb
CHANGED
@@ -63,9 +63,9 @@ class RexleXPathParser
|
|
63
63
|
r << [:index, x]
|
64
64
|
elsif /^attribute::(?<attribute>\w+)/ =~ x
|
65
65
|
r << [:attribute, attribute]
|
66
|
-
elsif /^(?<name>[\w
|
66
|
+
elsif /^(?<name>[\w\*\.]+)\/?/ =~ x
|
67
67
|
|
68
|
-
x.slice!(/^[\w
|
68
|
+
x.slice!(/^[\w\*\.]+\/?/)
|
69
69
|
r3 = [[:select, name]]
|
70
70
|
|
71
71
|
if x.length > 0 then
|
@@ -162,7 +162,7 @@ class RexleXPathParser
|
|
162
162
|
a << name << match($')
|
163
163
|
else
|
164
164
|
|
165
|
-
token = s.slice!(/^[@?\w\/:\*\(\)]+/)
|
165
|
+
token = s.slice!(/^[@?\w\/:\*\(\)\.]+/)
|
166
166
|
a << token
|
167
167
|
remainder = s
|
168
168
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexle-xpath-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
mkV2keVfUpfaTKNzUzo9lt/HSN8u98bD+dZh7rT5z8OBu6Kh0he35JvmyxOTg+Hg
|
32
32
|
u9W2yccAzoPxYA==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-
|
34
|
+
date: 2016-06-02 00:00:00.000000000 Z
|
35
35
|
dependencies: []
|
36
36
|
description:
|
37
37
|
email: james@r0bertson.co.uk
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
g��2��8����|`�e�aF��L�܃u�w\Mt���\;8��qvc�tj� "y�ѳ�ŋ�
|
2
|
+
�b�04�KAv��� ���W�@?��
|
3
|
+
��uF���h���\����4�y/� J�o+&(+�|�s�N��Ƒ/�(+n�����,�h����h��D)Q�xq1�>��&qU�&BF�*����&Σh�#=��LP=�z���1M+$��֫�&3��#�h���4�G嗕śFv+������c���^v1
|