rexslt 0.6.0 → 0.6.1
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 +3 -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: 9448fe886690e81555907e4b213e39db47d450c0
|
|
4
|
+
data.tar.gz: 8a45f7ce5b6546392aeacb5a09d2390ede1481b4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f99899f6a01154decb23672d303d30752aa663e6f7193fcc32a3896e64dc1c8801f264879a03291a4366f20f8d828d643ec239d6b1d650d2406242ac40fd44a
|
|
7
|
+
data.tar.gz: 8cded864fb2bf25b30e4dd1171e8616185278fce303abc8a0c94ce57dac8a4aeccb8193c29cdb132bd22a87bcb238a2be4ead2b22e9c3dc331c919c9fe8f4e8b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/rexslt.rb
CHANGED
|
@@ -176,7 +176,7 @@ class Rexslt
|
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
def xsl_choose(element, x, doc_element, indent, i)
|
|
179
|
-
|
|
179
|
+
|
|
180
180
|
r = x.xpath("xsl:when").map do |xsl_node|
|
|
181
181
|
|
|
182
182
|
condition = xsl_node.attributes[:test]
|
|
@@ -189,15 +189,11 @@ class Rexslt
|
|
|
189
189
|
false
|
|
190
190
|
end
|
|
191
191
|
end
|
|
192
|
-
|
|
193
192
|
|
|
194
193
|
unless r.any? then
|
|
195
|
-
|
|
196
|
-
node = x.element 'xsl:otherwise'
|
|
197
|
-
|
|
198
|
-
otherwise = node.element("xsl:otherwise")
|
|
194
|
+
otherwise = x.element("xsl:otherwise")
|
|
199
195
|
if otherwise then
|
|
200
|
-
read_node(otherwise, element, doc_element, indent)
|
|
196
|
+
read_node(otherwise, element, doc_element, indent)
|
|
201
197
|
end
|
|
202
198
|
end
|
|
203
199
|
|
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.6.
|
|
4
|
+
version: 0.6.1
|
|
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-04-
|
|
34
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: rxfhelper
|
metadata.gz.sig
CHANGED
|
Binary file
|