tapsoob 0.5.18-java → 0.5.19-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapsoob/utils.rb +5 -5
- data/lib/tapsoob/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94ce22f5995d48ad5008a522728c40b3b6bfe35511b6a696c7428ed68e800d37
|
4
|
+
data.tar.gz: 172533ab25a53c5a5cfd2b9efd8d29d258609894d1080b05d82581b6386f1c40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0fc26dce8628d470ed098858371139cc1ef3197614e8c147e3b1f4d993aa2392e940facede2ee4d354607a6dd6ebf102dfbf1e77f36c2c671a253a1af47c878
|
7
|
+
data.tar.gz: b9f16e984d5ddbee64aa5bc6ca1245071487bec8e86a0e283314034afe2cb8f3eb64fd83778beeeb43ea70d6c5805de6dfeb5488f7675386bfc758545ad9e090
|
data/lib/tapsoob/utils.rb
CHANGED
@@ -77,14 +77,14 @@ Data : #{data}
|
|
77
77
|
# Add types if schema isn't empty
|
78
78
|
db.extension :schema_dumper # Add schema dumper extension in case it hasn't been added until now
|
79
79
|
res[:types] = schema.map do |c|
|
80
|
-
case db.column_schema_to_ruby_type(c.last)[:type]
|
81
|
-
when BigDecimal
|
80
|
+
case db.column_schema_to_ruby_type(c.last)[:type].to_s
|
81
|
+
when "BigDecimal"
|
82
82
|
"float"
|
83
|
-
when
|
83
|
+
when "Bignum"
|
84
84
|
"integer"
|
85
|
-
when File
|
85
|
+
when "File"
|
86
86
|
"blob"
|
87
|
-
when TrueClass
|
87
|
+
when "TrueClass"
|
88
88
|
"boolean"
|
89
89
|
else
|
90
90
|
db.column_schema_to_ruby_type(c.last)[:type].to_s.downcase
|
data/lib/tapsoob/version.rb
CHANGED