schema2type 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c1f92fd874fa9544443fbb63b86d500777d18ed87b4bff1791cc10cb7e505fc
4
- data.tar.gz: d896d9566f061ed9012927f62ac0dbd858a942ac74f7fdfec1d22aa62856aaaf
3
+ metadata.gz: 7ce9497c7b3f40dc2f44ab9a4c7a4b6a1e4e3c865fb99fd58fbdf01e96b7b6ee
4
+ data.tar.gz: 49a0de50ea29e040d2b7d8dd4914e24887b7ee0e30d83676a906bd08300b3a81
5
5
  SHA512:
6
- metadata.gz: 211ab47195029c4e1bdb334c59fa41c42fcff44399af28ebb38d264d30773792c6e3c8a22cb9ca7882ee7349232bf24aa705a1d1388270f9629e05f701754ab2
7
- data.tar.gz: df37e175322b12a30b51215e68b00319213b8f055a53aa8105e9de0bcdfec9b526eddf68d51d1b17d2b2bfa4bab7c97e6d9b082688cfb14c1aa6256ac5222c47
6
+ metadata.gz: 8ca522a0e1d764b71f9e886245de30b747dfe7de3204a19a75229adc30043cbffbd65219ddac0148271731d62cc78491d13ea27d1af818228e7a6880dac4b3be
7
+ data.tar.gz: 84267680b30d46781ec4059152d7748143f55b6c2a940ab534b5904d57275f1f28fa3c950e26adc30d1472ef0d0a197c40dc58a07a6f162acd3a7645fce9fd60
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- schema2type (0.1.4)
4
+ schema2type (0.1.5)
5
5
  activesupport
6
6
 
7
7
  GEM
@@ -0,0 +1,14 @@
1
+ string: string
2
+ inet: string
3
+ integer: numberg
4
+ bigint: numberg
5
+ float: numberg
6
+ text: string
7
+ boolean: boolean
8
+ decimal: numberg
9
+ json: string
10
+ jsonb: string
11
+ binary: string
12
+ date: TYPE_DATE
13
+ datetime: TYPE_DATE
14
+ timestamp: TYPE_DATE
@@ -7,7 +7,7 @@ module Schema2type
7
7
 
8
8
  TYPE_STRING = 'string'.freeze
9
9
  TYPE_NUMBER = 'number'.freeze
10
- TYPE_BOOLEAN = 'string'.freeze
10
+ TYPE_BOOLEAN = 'boolean'.freeze
11
11
  TYPE_DATE = 'Date'.freeze
12
12
  COLUMN_METHODS = [
13
13
  { string: TYPE_STRING },
@@ -1,3 +1,3 @@
1
1
  module Schema2type
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema2type
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryo
@@ -87,6 +87,7 @@ files:
87
87
  - bin/console
88
88
  - bin/setup
89
89
  - exe/schema2type
90
+ - lib/config/conversion_table.yml
90
91
  - lib/schema2type.rb
91
92
  - lib/schema2type/cli.rb
92
93
  - lib/schema2type/schema_converter.rb