rbbt-util 5.19.30 → 5.19.31
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/change_id.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc99cd1b3b5c9754551e709119755de51596873d
|
4
|
+
data.tar.gz: 436cff929d063f203c9aeb2dd70b168ad0341331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c8a42f0a548443f54ad73f58615327a5960fba392c4394e35abb1180ef9c698714dab31dc0cab67c21b3636a3d4df3889fb38b194301a0958c68b494b4707cd
|
7
|
+
data.tar.gz: 33d4a8a65dc9ab8b11db8130f3d3c28a226e4636fa1e6bcb252ef12c19e96d2105dfc205b7988a1f1da380a652737dc959241b4685f3758c1646607a24c33e7e
|
data/lib/rbbt/tsv/change_id.rb
CHANGED
@@ -13,7 +13,11 @@ module TSV
|
|
13
13
|
if not tsv.fields.include? format
|
14
14
|
new = {}
|
15
15
|
tsv.each do |k,v|
|
16
|
-
|
16
|
+
if v === String or v === Array
|
17
|
+
new[k] = v.dup
|
18
|
+
else
|
19
|
+
new[k] = v
|
20
|
+
end
|
17
21
|
end
|
18
22
|
orig_fields = tsv.fields
|
19
23
|
tsv = tsv.annotate new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.19.
|
4
|
+
version: 5.19.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|