con_duxml 0.2.0 → 0.2.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
- data/lib/con_duxml/transform.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea6092d7c51dbf6ce598c68947b1ac8ceddb1cdf
|
4
|
+
data.tar.gz: a0ad5b0bd5ed055000b4c5a363cc4e1219e94bce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 616d12866cc2a18f5fa742958f0cc75711bc4bea6109b5db2aca8c5632814af0260a180a5ad8a24b45637610184bbbdc02cf73663c83da3ef5ad16fe4c8e49da
|
7
|
+
data.tar.gz: 500f5e62594877ab62199185e85dce2e127bef44ad3dc1906d4b660f20d6fa00f57c403e8a4dcd985e0fa0beba40b65be93a23a97f1adab9b27e92fe9dad9974
|
data/lib/con_duxml/transform.rb
CHANGED
@@ -12,8 +12,8 @@ module Transform
|
|
12
12
|
# @return [Array[Element]] transformed content; always an array of nodes, even if just one
|
13
13
|
def activate(xform, _source)
|
14
14
|
@source = _source
|
15
|
-
get_sources(xform).collect do |
|
16
|
-
args = get_args(xform,
|
15
|
+
get_sources(xform).collect do |src|
|
16
|
+
args = get_args(xform, src)
|
17
17
|
get_method(xform).call(*args)
|
18
18
|
end
|
19
19
|
end
|