pg_graph 0.1.5 → 0.1.6
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 +1 -1
- data/lib/pg_graph/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b24d838b20ef999a63391e330fa9a35b8888a46a20128ea8f41ffaf5c64e4c2f
|
4
|
+
data.tar.gz: ee8a549def41b47989472d7cdb757ceef10a98b758d7e2f89aa65b603ae6baea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 457085837cc06237a3eeabca20e568ebc239e05c4a20467cb1ed08288c6df889fce9cb55c4d27a4c5ad0bc5947cf8a74e869c892b7ff6d43def318e3da92d406
|
7
|
+
data.tar.gz: 9c4ee15fb96f547ac544d2f7608eca0af7eb05a82743440d6c9bb3b335ef362485cbe80716427774a00db8ce9354457b35705278dc8b157b15ba866785e591bf
|
data/lib/pg_graph/inflector.rb
CHANGED
@@ -84,7 +84,7 @@ 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
|
87
|
+
when "character varying", "varchar", "text", "uuid", "xml"; String
|
88
88
|
when "smallint", "integer", "int4", "int2"; Integer
|
89
89
|
when "double precision", "real", "float8"; Float
|
90
90
|
when "numeric", "decimal"; BigDecimal
|
data/lib/pg_graph/version.rb
CHANGED