rexslt 0.5.5 → 0.5.6
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.tar.gz.sig +0 -0
- data/lib/rexslt.rb +11 -2
- 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: 8be29888510a0ff64775f8f0fd548fc7315aef5e
|
4
|
+
data.tar.gz: 92cf22e38e42cb3459e929d69f3898d46de837c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bab9db0e8126b174fa2c1ec551e62a62b68af36dbc738bde46d9838149a09907b7b57da17e4b270a0e4c92b41953f349b491630754824ec2172b80b1429ca613
|
7
|
+
data.tar.gz: 13271f23faf47d88fae650ff7606240e881982f8da0e3d6e00f189e0b1178e8c11827f12e0d92c94dd4d66b5227955abc6b4686389198142747f851a2e6270b0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexslt.rb
CHANGED
@@ -301,6 +301,11 @@ class Rexslt
|
|
301
301
|
end
|
302
302
|
|
303
303
|
end
|
304
|
+
|
305
|
+
# Ignores comment tags
|
306
|
+
#
|
307
|
+
def ignore(*args)
|
308
|
+
end
|
304
309
|
|
305
310
|
def indent_before(element, x, doc_element, indent, i)
|
306
311
|
text = ''
|
@@ -337,8 +342,12 @@ class Rexslt
|
|
337
342
|
end
|
338
343
|
|
339
344
|
def read_node(template_node, element, doc_element, indent, i=0)
|
340
|
-
|
341
|
-
procs = {
|
345
|
+
|
346
|
+
procs = {
|
347
|
+
"Rexle::Element" => :read_raw_element,
|
348
|
+
"String" => :read_raw_text,
|
349
|
+
"Rexle::Comment" => :ignore
|
350
|
+
}
|
342
351
|
|
343
352
|
template_node.children.each_with_index do |x,j|
|
344
353
|
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|