rexle-xpath 0.2.9 → 0.2.10
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/lib/rexle-xpath.rb +2 -1
- data.tar.gz.sig +0 -0
- 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: cd772e0719f0fd9aa0ecdff1d8e0fa8d095cf1bf
|
4
|
+
data.tar.gz: 11d9f1799d62e8db0d8badf5612d9cc1382a6d1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bca7e3ffbcaa3e2191734796acb164f6377a493e30c9a0ea3751bf203fba1ee5a0e4925c338d5a52244021b41c82427ab844884e2a779e9b01d21c893761f6b
|
7
|
+
data.tar.gz: a6dc153d2cdffa79db23d9a4d9274afd67065f5643fcaa2b0e13aecfb96b86e8869b04da4e6ea311526c864ffc50027ae4035d0b34e0694a0b371771efd14e11
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/rexle-xpath.rb
CHANGED
@@ -63,6 +63,7 @@ class RexleXPath
|
|
63
63
|
def attribute(node, args, xpath_instructions)
|
64
64
|
|
65
65
|
key = args.first.to_sym
|
66
|
+
|
66
67
|
attr = node.attributes[key]
|
67
68
|
|
68
69
|
xi = xpath_instructions
|
@@ -72,7 +73,7 @@ class RexleXPath
|
|
72
73
|
_, operator, value = xi.shift
|
73
74
|
attr.method(operator.to_sym).call value
|
74
75
|
else
|
75
|
-
attr ?
|
76
|
+
attr ? Rexle::Element::Attribute.new(attr) : nil
|
76
77
|
end
|
77
78
|
|
78
79
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexle-xpath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
05Hvy/ad61XnzWtun98claEIk/rC/TxPrbRaOd7vN99WxTy1xn8ElfLSx7CDDrTc
|
32
32
|
qN5t1BlRcAgKNw==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2016-05-
|
34
|
+
date: 2016-05-21 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexle-xpath-parser
|
metadata.gz.sig
CHANGED
Binary file
|