rexle 1.3.12 → 1.3.13
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.rb +5 -7
- 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: e8857d193fe5621009f9550a8965fa3ee7689f4c
|
|
4
|
+
data.tar.gz: f62a1e5686fb3a250bbf2025ff3ed21b39fef31d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48ae07113a8d1526d59190a06908d2e7a6ad160244480cb224118d0e5e0d1a4603f21594e899b1c7a3df8965b9547f385b5e5e5bb814640bf0c8a3ae2539d250
|
|
7
|
+
data.tar.gz: 60fc8a90387a80cf2b299c4ff4715b2164c4daa38f1b332e1ad620882e8a353c2a35772b2f65435b6f5c79faa8bc7c451258c0924e668f1f78ff0406646db7ab
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexle.rb
CHANGED
|
@@ -12,6 +12,8 @@ require 'backtrack-xpath'
|
|
|
12
12
|
|
|
13
13
|
# modifications:
|
|
14
14
|
|
|
15
|
+
# 13-Mar-2016: bug fix: Reapplied a statement that was commented out in
|
|
16
|
+
# the previous gem release
|
|
15
17
|
# 12-Mar-2016: A predicate can now handle position() with the
|
|
16
18
|
# equality operator e.g. b[position() = 2]
|
|
17
19
|
# 09-Mar-2016: bug fix: '.' now returns the current element
|
|
@@ -1034,7 +1036,7 @@ class Rexle
|
|
|
1034
1036
|
|
|
1035
1037
|
if x.length >= 3 then
|
|
1036
1038
|
|
|
1037
|
-
|
|
1039
|
+
x[1] = '==' if x[1] == '='
|
|
1038
1040
|
if x[0] != '.' then
|
|
1039
1041
|
if x[0][/\//] then
|
|
1040
1042
|
|
|
@@ -1123,12 +1125,8 @@ class Rexle
|
|
|
1123
1125
|
|
|
1124
1126
|
r = if attr_search.is_a? Fixnum then
|
|
1125
1127
|
block_given? ? blk.call(e) : e if i == attr_search
|
|
1126
|
-
elsif attr_search[/i\s(?:<|>|==)\s\d+/] then
|
|
1127
|
-
|
|
1128
|
-
if eval(attr_search) then
|
|
1129
|
-
block_given? ? blk.call(e) : e
|
|
1130
|
-
end
|
|
1131
|
-
|
|
1128
|
+
elsif attr_search[/i\s(?:<|>|==)\s\d+/] and eval(attr_search) then
|
|
1129
|
+
block_given? ? blk.call(e) : e
|
|
1132
1130
|
elsif h and !h.empty? and attr_search[/^h\[/] and eval(attr_search) then
|
|
1133
1131
|
block_given? ? blk.call(e) : e
|
|
1134
1132
|
elsif attr_search[/^\(name ==/] and e.child_elements.select {|x|
|
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.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
Tkua07gB3/nVO3aPg7C3vEbDZCxT3WAMli2uZisYT6ozmdAlDsixLjipgFN4If3z
|
|
32
32
|
Ej0QR3kvGcAvFQ==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2016-03-
|
|
34
|
+
date: 2016-03-13 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
|
Binary file
|