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.
- checksums.yaml +4 -4
- data/lib/rbbt/tsv/manipulate.rb +1 -0
- 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: adafbfec4c95cf9e51695f569f27f3673ceecd01
|
4
|
+
data.tar.gz: 22292e4bfb285b76dfb507ccea4e28587b3245f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ad8e350e3b18ec9fc164c14773eb9bc209cf2e66a30df467b6921d4e767566a6b28f86d421e2ef868e1a8f9fa4c0219f047350114356d3d7d0bd1289353b0fb
|
7
|
+
data.tar.gz: a4505db4564b987b398aa00727b3d799d1146f3e918ffccfacec8fe9449f404f4c770bea860382ff8f910577ba9bd8871a212bf832e4aa408f771e949e31c020
|
data/lib/rbbt/tsv/manipulate.rb
CHANGED
@@ -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
|