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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/con_duxml/transform.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 50d364878f6e1e1d40c244c26848840a951bc674
4
- data.tar.gz: 558e088bdd171e165b8b27c1147637a9300a6c0a
3
+ metadata.gz: ea6092d7c51dbf6ce598c68947b1ac8ceddb1cdf
4
+ data.tar.gz: a0ad5b0bd5ed055000b4c5a363cc4e1219e94bce
5
5
  SHA512:
6
- metadata.gz: 20f7fd97f29bb18c682bc9c41a0908a589c192faab5ef9135bbc7c36ba33d8756855f0ef6675cac6506f2be80567fc0dbe896585f5a27146254ac7114b590d64
7
- data.tar.gz: 23ad78e7719b3144043756404afb8b7f062acab8e23fd4b39f7abea80bd10f869303c93eda27646a19d958768cfc4a5211d169cdbc4c8496efb4fc2dc20b0ff3
6
+ metadata.gz: 616d12866cc2a18f5fa742958f0cc75711bc4bea6109b5db2aca8c5632814af0260a180a5ad8a24b45637610184bbbdc02cf73663c83da3ef5ad16fe4c8e49da
7
+ data.tar.gz: 500f5e62594877ab62199185e85dce2e127bef44ad3dc1906d4b660f20d6fa00f57c403e8a4dcd985e0fa0beba40b65be93a23a97f1adab9b27e92fe9dad9974
@@ -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 |subj|
16
- args = get_args(xform, subj)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: con_duxml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Kong