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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bbbf1239ad74e0ccf7709ce4bd1ccf77d6e319c390836aa749000a0ce3360ef
4
- data.tar.gz: 4c433919870bb792e153105cf23ea4f9c969cb8c1251da5671793c5941ebc084
3
+ metadata.gz: fa1692b7ab3d63c38fdbf070900b2230b94bbe1b449125c0a3317bedb3067a9d
4
+ data.tar.gz: bf2923bee9600e977612d28dbf1878506d451f72a2221cb53ccbb34e5f8c76a1
5
5
  SHA512:
6
- metadata.gz: 26f90ddc3c0302bb0584013ab7abeb2236d3d663541a63adc51f9b7d05baa063477efdac183c52ae998fbe14b91da9ebda0f659b8112c35e2fba125254ebbf0b
7
- data.tar.gz: a1bd282fd15b758251bab23adf20585b05f2ec58e1ffa39dc91350430bf06f5e8b1c7dda061015376bc42441a9137c52d0d9b30e171b3c2d0a17235c8d1efb9e
6
+ metadata.gz: 816e4a03f7982f3a9c941dad362c47e4deca97eae20fa6d1eca5f780d1cd3a6e2890ed3fabdfe6fa676a46ba96b4922c02efef3578fdf36807cafb20367da572
7
+ data.tar.gz: f23c6fb8769ba2caee7a72a36397e60f3eb81d7c28beb5064cca9342ae968e1a06a005d2fff6ee3de36638209b98a24a5556f94a1f756eae626da25aee768d73
@@ -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
@@ -1,3 +1,3 @@
1
1
  module PgGraph
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.8"
3
3
  end
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.5
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-14 00:00:00.000000000 Z
11
+ date: 2022-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: boolean