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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 264143377d615e0ea97a2a4662223fc092d596439e04d26dd4d55a6573f42376
4
- data.tar.gz: f529f8fc13c44d6fa58bbf93bc31024c25356ef24f2618ce9891d50e49849ddd
3
+ metadata.gz: 94ce22f5995d48ad5008a522728c40b3b6bfe35511b6a696c7428ed68e800d37
4
+ data.tar.gz: 172533ab25a53c5a5cfd2b9efd8d29d258609894d1080b05d82581b6386f1c40
5
5
  SHA512:
6
- metadata.gz: 945524a15035febcf6e8e29f4a158012128e7144cbfcd7d63207e9608554adf23989865f620932a1afc00e93db234be7108b8fdaa2bd08af71052bb1d80fb385
7
- data.tar.gz: b7351a86a5f4c3e37dc9751adb9c4c9e0cd2e52d4b0c53caa38b73e94e1e953bb5ab4921819940ca50a66d96f7d8529d7484aa986e3e948ed7dd9b239bae1e01
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 :Bignum
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
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Tapsoob
3
- VERSION = "0.5.18".freeze
3
+ VERSION = "0.5.19".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tapsoob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.18
4
+ version: 0.5.19
5
5
  platform: java
6
6
  authors:
7
7
  - Félix Bellanger