rexslt 0.5.6 → 0.5.7
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/rexslt.rb +4 -4
- 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: 8ca99a0049f03a0bf76ba1bc87348498c01cb69d
|
|
4
|
+
data.tar.gz: 153e06d4ce746fc56efc35a2f20c3277619f7338
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67e2c9afadbc3b943cf80bfbe207e3e9b6a3f85ea456fa069fd8e9b94ab0bb46da06a901f357912bf85e6e10227de909b12614f153ed46f0db74aad58d3f722f
|
|
7
|
+
data.tar.gz: ae950ac82c2fb673578165d04e1d3496c10e72a71d268f6a4b49032dfa0dc3c2818694c4c0119d5198180b05bcac2f85cb73e46ed6a974366d46e11156e51006
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexslt.rb
CHANGED
|
@@ -350,9 +350,7 @@ class Rexslt
|
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
template_node.children.each_with_index do |x,j|
|
|
353
|
-
|
|
354
353
|
method(procs[x.class.to_s]).call(element, x, doc_element, indent, i)
|
|
355
|
-
|
|
356
354
|
end
|
|
357
355
|
|
|
358
356
|
end
|
|
@@ -395,12 +393,14 @@ class Rexslt
|
|
|
395
393
|
|
|
396
394
|
new_element = x.clone
|
|
397
395
|
|
|
398
|
-
new_element.attributes.each do |k,
|
|
396
|
+
new_element.attributes.each do |k,raw_v|
|
|
399
397
|
|
|
398
|
+
v = raw_v.is_a?(Array) ? raw_v.join(' ') : raw_v
|
|
399
|
+
|
|
400
400
|
if v[/{/] then
|
|
401
401
|
|
|
402
402
|
v.gsub!(/(\{[^\}]+\})/) do |x2|
|
|
403
|
-
|
|
403
|
+
|
|
404
404
|
xpath = x2[/\{([^\}]+)\}/,1]
|
|
405
405
|
text = element.text(xpath)
|
|
406
406
|
text ? text.clone : ''
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rexslt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
|
31
31
|
38j2+6ULVWalsVein3whb7qB6IOvxoSqjz6n7jAKFGHovoXPUqpv5y5Yor23rTrn
|
|
32
32
|
0YwisIc3UkL30g==
|
|
33
33
|
-----END CERTIFICATE-----
|
|
34
|
-
date: 2016-03-
|
|
34
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rxfhelper
|
metadata.gz.sig
CHANGED
|
Binary file
|