polyrex-xslt 0.2.1 → 0.2.2

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
  SHA256:
3
- metadata.gz: 9660b4eda7690314600c913f75ab737eb4e1d6ae51824bfa61f70065d8b47de9
4
- data.tar.gz: 7435a87f9c6137db92ce2115848dcbb5bc0ab7273f0dd7bf46b53dbb23d9d6f8
3
+ metadata.gz: 329c5af1aba7bf78898e1ca676940363219e7acf060abdb30bec097a32da2dc2
4
+ data.tar.gz: 40783f4eb6dc0bbf23ad5d1d23f54d99a08491e354a5e45139b141cac2c4af8e
5
5
  SHA512:
6
- metadata.gz: 671b21d10fd1c1cc93bbde4e0c289beee44a9a356775e9549bf6983e0322b7d80c37d887b20fe6f91b8bfa91eff928e62c062366e0544978a28c2bd1f5a9cbbb
7
- data.tar.gz: 347e6e5ab0074b51fcbad87ce0824a02c988646f4d4da0baf7f12332c726cbf3d5b925d201b105a785ad57133f0e59502cc7792eeda97e8f17e945188896d97f
6
+ metadata.gz: ea24aa661b01fea015615a486fd836ba10db49af33e0b5f003f670f1aec2fe3b5bb65ed015561e9ffa166b28867d4398e97e6e1e0d3be2bf4065735927d0d8ef
7
+ data.tar.gz: 259870827ebba6718d07b5d043b7b53eea1ce462eab022b7c361840e5a779d1e2bbbe0694c1999f38c0e166b58d87339134968851f438b23e55ac601d2ffcfeb
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -85,7 +85,8 @@ class PolyrexXSLT
85
85
  end
86
86
 
87
87
  xml.records do
88
- xml.xsl_apply_templates(select: a2[1][0]) if a2
88
+ field = a2 ? a2[1][0] : a1[1][0]
89
+ xml.xsl_apply_templates(select: field)
89
90
  end
90
91
  end
91
92
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-xslt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file