rexslt 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8eebf6d5369eb3e5e8f642f5c2118c4d66f671b3
4
- data.tar.gz: 7044dce5737a4783ef02dc974f0ae7f19c08cae0
3
+ metadata.gz: 9448fe886690e81555907e4b213e39db47d450c0
4
+ data.tar.gz: 8a45f7ce5b6546392aeacb5a09d2390ede1481b4
5
5
  SHA512:
6
- metadata.gz: dbbe00f95314dc5e25ba96fb7a9bce0e4d5d7115b44657469eaa40c0f346945a64b7958d04f5718bd58e3acfb42bb95f99e1ce04d8a828c6a52eb8c12753bc29
7
- data.tar.gz: 91d289a142e0cf347d2ca145321517bc78b49b093e0291b70b772edab02c7f690a8a47e10d0aeedbe2645512adcead9d86cfd100d8424435532f93c36b6e5aa7
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) if node
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.0
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-12 00:00:00.000000000 Z
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