pg_graph 0.1.5 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pg_graph/inflector.rb +3 -3
- data/lib/pg_graph/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa1692b7ab3d63c38fdbf070900b2230b94bbe1b449125c0a3317bedb3067a9d
|
4
|
+
data.tar.gz: bf2923bee9600e977612d28dbf1878506d451f72a2221cb53ccbb34e5f8c76a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 816e4a03f7982f3a9c941dad362c47e4deca97eae20fa6d1eca5f780d1cd3a6e2890ed3fabdfe6fa676a46ba96b4922c02efef3578fdf36807cafb20367da572
|
7
|
+
data.tar.gz: f23c6fb8769ba2caee7a72a36397e60f3eb81d7c28beb5064cca9342ae968e1a06a005d2fff6ee3de36638209b98a24a5556f94a1f756eae626da25aee768d73
|
data/lib/pg_graph/inflector.rb
CHANGED
@@ -84,12 +84,12 @@ module PgGraph
|
|
84
84
|
# Types are both native postgres type and types from the information_schema
|
85
85
|
def postgres_type2ruby_class(name)
|
86
86
|
case name
|
87
|
-
when "character varying", "varchar", "text", "uuid"; String
|
88
|
-
when "smallint", "integer", "int4", "int2"; Integer
|
87
|
+
when "character varying", "varchar", "text", "uuid", "xml"; String
|
88
|
+
when "smallint", "integer", "int8", "int4", "int2"; Integer
|
89
89
|
when "double precision", "real", "float8"; Float
|
90
90
|
when "numeric", "decimal"; BigDecimal
|
91
91
|
when "bool", "boolean"; Boolean
|
92
|
-
when "json"; Hash
|
92
|
+
when "json jsonb"; Hash
|
93
93
|
when "bytea"; String
|
94
94
|
when "timestamp", "timestamp without time zone"; Time
|
95
95
|
when /^_/; Array
|
data/lib/pg_graph/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_graph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: boolean
|