tapsoob 0.4.18-java → 0.4.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 +2 -2
- 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: a478b81adfae4bae3508db6802b7b9a7280f8579e4da19cd1d575d741dacd0f3
|
4
|
+
data.tar.gz: 2b29446e1aa6ce40c4aabacbfd2d2e227b75d11f7426706de97948489ee2d87d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4c76f4fb86ef9b0358e24657ea12911dacdd118a484210a97b206ba6b486c7afa1126d0d2fb7f52dc40bca96da9d29317dea687581ff953f4c92d0ca3f43878
|
7
|
+
data.tar.gz: fcfe1fc46dce2b88616557c419c04e451307a0c86e295663a750564efb6de1bf67c1f108d1ea86e9294d6a133abc258995562df657c038a127a3f4b2f9e160b4
|
data/lib/tapsoob/utils.rb
CHANGED
@@ -76,7 +76,7 @@ Data : #{data}
|
|
76
76
|
|
77
77
|
# Add types if schema isn't empty
|
78
78
|
res[:types] = schema.map do |c|
|
79
|
-
case db.column_schema_to_ruby_type(c.last
|
79
|
+
case db.column_schema_to_ruby_type(c.last)[:type]
|
80
80
|
when BigDecimal
|
81
81
|
"float"
|
82
82
|
when :Bignum
|
@@ -86,7 +86,7 @@ Data : #{data}
|
|
86
86
|
when TrueClass
|
87
87
|
"boolean"
|
88
88
|
else
|
89
|
-
db.column_schema_to_ruby_type(c.last
|
89
|
+
db.column_schema_to_ruby_type(c.last)[:type].to_s.downcase
|
90
90
|
end
|
91
91
|
end unless schema.empty?
|
92
92
|
|
data/lib/tapsoob/version.rb
CHANGED