schema2type 0.3.1 → 0.4.0

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: 66c06b1860fe83c6983e2c0249715531317885d9c62616908afc9e02d56eaa3f
4
- data.tar.gz: afa4290333490132677c1da1387d5b7905a09541e5150addc5bdf5c3b97a8698
3
+ metadata.gz: c33b8832f843a68c17296439b5da86d0b9d34cefa4953d0c99ced68186b9bdce
4
+ data.tar.gz: 4c6a2641588b56ddb846903e7fa37c16b8a516733d6c98f300e4cddccba68d8e
5
5
  SHA512:
6
- metadata.gz: 653ce6ec1e4cf47eeb7f79c70ea9da58d348f8cc401949e567e6c8bd807897e6e5a4fbb770b28f98e215ae2abfc2ef71e688227f556df67daefd2e8d07af6017
7
- data.tar.gz: d050b51ab3cf3be417eedba84208cd35a98fa68a15ca89a509c3730392345dac06d71d8bccffdcefeeb1742c5b1b205d6f22b55b0cf72353207ab37787dbc020
6
+ metadata.gz: 057bb0162fb706753ca3d15e658349bd011961f5f7feb567c3f5eec329b981f51260c63da1280bb19030310507fdd8ae4c8a03d1afdc848c3d1672acad779d72
7
+ data.tar.gz: 749dcdbf746789d1d65957723a269d862dab7533170fd6577a7c43a182248f577911d72debbceb43f94cecef0e4baffe010a949b92c1b96c67b253555ec8adfb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- schema2type (0.3.0)
4
+ schema2type (0.4.0)
5
5
  activesupport
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -73,8 +73,8 @@ the schema2type convert as per this conversion table.
73
73
  |---|---|
74
74
  | string | string |
75
75
  | text | string |
76
- | json | string |
77
- | jsonb | string |
76
+ | json | Record<string, any> |
77
+ | jsonb | Record<string, any> |
78
78
  | binary | string |
79
79
  | inet | string |
80
80
  | integer | number |
@@ -2,8 +2,8 @@
2
2
  string: string
3
3
  inet: string
4
4
  text: string
5
- json: string
6
- jsonb: string
5
+ json: Record<string, any>
6
+ jsonb: Record<string, any>
7
7
  binary: string
8
8
  integer: number
9
9
  bigint: number
@@ -1,3 +1,3 @@
1
1
  module Schema2type
2
- VERSION = '0.3.1'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema2type
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-16 00:00:00.000000000 Z
11
+ date: 2021-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport