rexslt 0.6.8 → 0.6.9

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: f3b4e51d09e5a32477d0cbd84750233fb11efd6c
4
- data.tar.gz: 15664915741e3124b9350d4ed21532d83939b0f1
3
+ metadata.gz: 69797514b98a7984bc4175670b6ffc7d7863557e
4
+ data.tar.gz: d62aa717f191ad2bc16998f7c388f668e6853e96
5
5
  SHA512:
6
- metadata.gz: 0e0911d84d2694bbc7f3d6552a8cc8e9ac4620eefd6325166ada84c7aa16a2ecf52a466e0b23359ddc9230b666fb70c403f32f55362f310fa84e63d68431eff0
7
- data.tar.gz: '0738ec497ce3ac97486c89affe40716a10b790cdfa3265aee6614dc0d8e5d3c4d9e4fea8ba86cb7f7ab23fd94956364d686d42a04aa118cec0674a9ebab7082e'
6
+ metadata.gz: 7efcdd6aad9ff17aac7e7aa98273161cd5c5df715e7ac0ca5c7e49b7e63149d9c449f1849329de7c2d39173429b90762adacc2e548f721f726430ce016de353a
7
+ data.tar.gz: 94d967daded356dedf56eeb4b59b8c8a424eaf293de2d96f8fce0395b64d65cce2415b59be4f1c67694dcc87c59fcefc40b153f6607814ad8a5c2e92cf037490
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -8,6 +8,8 @@ require 'rxfhelper'
8
8
 
9
9
  # modifications:
10
10
 
11
+ # 16-Sep-2017: improvement: all predicates in an xsl:choose
12
+ # condition now must be true
11
13
  # 15-Sep-2017: feature: Implemented xsl_call_template
12
14
  # 21-May-2016: bug fix: An update to the Rexle gem regarding the new
13
15
  # Rexle::Element::Attribute datatype caused the sort_by code
@@ -218,9 +220,7 @@ class Rexslt
218
220
 
219
221
  condition = xsl_node.attributes[:test]
220
222
 
221
- node = element.element condition
222
-
223
- if node
223
+ if element.xpath(condition).all? then
224
224
  read_raw_element(element, xsl_node.elements.first, doc_element, indent, i)
225
225
  true
226
226
  else
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.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  f4Fi5ORmK9ccbijkIGmH2JdFYi07Fax/6a8TgcpbSrICHncFAvvPo8hxuUR+aHvg
32
32
  wux0hu0gdmk8nA==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-09-15 00:00:00.000000000 Z
34
+ date: 2017-09-16 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rxfhelper
metadata.gz.sig CHANGED
Binary file