rexle 1.0.16 → 1.0.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.rb +4 -1
- metadata +1 -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: 5d0cd773f30476b44a8f3efca774d605dce5d4e8
|
|
4
|
+
data.tar.gz: f70f550783380e1110135310ff6da3888a4dbc5c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e73b58669324eb634853d98da2fd6d7441d0dd1936c823f62f4b4fe621c1586f14d3f58994c2df6f813ac570c7c9f89173736a9c2b442c3b0c3b67670e1ba603
|
|
7
|
+
data.tar.gz: 67c3c47d64f818463a2c5998bb38b23b9cf742ab430cd8b40ef04472497ac1ac1043b69d035751c4e8c5eeefbbdfb60a167ed8e7330c70e6a181f67915aee556
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexle.rb
CHANGED
|
@@ -11,6 +11,7 @@ include REXML
|
|
|
11
11
|
|
|
12
12
|
# modifications:
|
|
13
13
|
|
|
14
|
+
# 14-Jun-2014: bug fix: Processing instructions should now display properly
|
|
14
15
|
# 07-Jun-2014: bug fix: An XPath nested within an XPath (using a selector)
|
|
15
16
|
# should now wok properly e.g. record/abc[item/xyz="red"]
|
|
16
17
|
# 04-Jun-2014: bug fix: If XPath contains /text(), only valid
|
|
@@ -107,7 +108,9 @@ module XMLhelper
|
|
|
107
108
|
end
|
|
108
109
|
|
|
109
110
|
def processing_instructions(s='')
|
|
110
|
-
self.instructions.map
|
|
111
|
+
self.instructions.map do |instruction|
|
|
112
|
+
"<?%s?>" % instruction.join(' ')
|
|
113
|
+
end.join s
|
|
111
114
|
end
|
|
112
115
|
|
|
113
116
|
def scan_print(nodes)
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|