rbbt-util 5.17.44 → 5.17.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/tsv/manipulate.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1611ca04d7763d056195c336284ad3f6fbd325a
4
- data.tar.gz: 54faf03af65f34c0dacb980cbbe16d5651e4046d
3
+ metadata.gz: adafbfec4c95cf9e51695f569f27f3673ceecd01
4
+ data.tar.gz: 22292e4bfb285b76dfb507ccea4e28587b3245f9
5
5
  SHA512:
6
- metadata.gz: 6a4aa49d73e3aa4635035b4d6fb9057efd2021682d3e78f4d3f2d1b9e9bdf86fc2fa2e2c410f11fc107e2e9057be78d9212a32d4bea3f7ae348c04e99fa64ff9
7
- data.tar.gz: 5fc7d1e9c24789539e02df1d618c50f09dbb4c724107f368d7d18145be56c3db8f467c2cea57f5dc752cd80bc2be497a6bca61cc9f86ec9c140bac58176d29e4
6
+ metadata.gz: 4ad8e350e3b18ec9fc164c14773eb9bc209cf2e66a30df467b6921d4e767566a6b28f86d421e2ef868e1a8f9fa4c0219f047350114356d3d7d0bd1289353b0fb
7
+ data.tar.gz: a4505db4564b987b398aa00727b3d799d1146f3e918ffccfacec8fe9449f404f4c770bea860382ff8f910577ba9bd8871a212bf832e4aa408f771e949e31c020
@@ -263,6 +263,7 @@ module TSV
263
263
  case type
264
264
  when :double
265
265
  new_key_field_name, new_field_names = through new_key_field, new_fields, uniq, zipped do |keys, value|
266
+ keys = [keys] unless Array === keys
266
267
  keys.each do |key|
267
268
  if data[key]
268
269
  current = data[key].dup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.17.44
4
+ version: 5.17.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez