pg_graph 0.1.4 → 0.1.7

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: ea523768bdb76ecb1e4d8a8cee3d1b4afbad3e5735964acf63f78d5152050cf5
4
- data.tar.gz: a29f1abbbdb5b674090a503c9db9ab0357140035b2c5af62a07352d38d5f3009
3
+ metadata.gz: 136ce8c4b3c16482350810101783e0f2ed45efd775d49da517a686c97dba041f
4
+ data.tar.gz: c6a2371d4b1dc9344eb05438cb12c59b7afe4ea632229500604cf83a517996cc
5
5
  SHA512:
6
- metadata.gz: ad4d4f581462c3b982d7e7504a6277e7585e1d422974a6058ca9ba54c4e30ed48ba5ba38e88504d449caa8690c7664a46366187e2ceab7e19a2f8f26abb944ac
7
- data.tar.gz: fff6a163e030d2dfd1187c07e6e69d0da9dbef18b4c0ef2fda393dfe7f9725e61c21f47febed69199b553b17f0285f16c30951e623e0143f0dd37d302228fd8b
6
+ metadata.gz: 6301004fc3fd68f2a6cdb24d52623fc3bcf8f68d0873e99a8c26f43077ff4ea681f63e932ed2a899c36e528b0e5bf86fa684861afa9adfcc5d72234e346c6420
7
+ data.tar.gz: afbea163f01b28362c5cf3f8f70b74772cb97122c6ee1dd4b86cf26ed953b83b44a5d4efb458db97b158291daa54a9daaa9f3c3afed19128a416d2b58812a89f
@@ -84,9 +84,9 @@ 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
89
- when "double precision", "real"; Float
87
+ when "character varying", "varchar", "text", "uuid", "xml"; String
88
+ when "smallint", "integer", "int8", "int4", "int2"; Integer
89
+ when "double precision", "real", "float8"; Float
90
90
  when "numeric", "decimal"; BigDecimal
91
91
  when "bool", "boolean"; Boolean
92
92
  when "json"; Hash
@@ -1,3 +1,3 @@
1
1
  module PgGraph
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.7"
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.4
4
+ version: 0.1.7
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-04-25 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