pg_graph 0.3.0 → 0.3.2
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/version.rb +1 -1
- data/lib/type/type.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c732b9a7ff91de02c8e4f0cb0a665b873522a910373653d24ad6479a244e355e
|
4
|
+
data.tar.gz: 1e649ca5b2062b902e433cda89a17a233ad8ed5c3276667703a6704c3263d519
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1e2fe18597653b8f200c0be4c088a5df2bf5e2fedc7ec39b0fd6582d3ae20f1567a34b5f754e88cd056afdffd08acb9bd475cab8a7cd710966ee65db3618c58
|
7
|
+
data.tar.gz: 32fed55e680c8289195e7a5618b65038ea1bd8f9bef835d0f25e95bdb8bcd3e155a1d9084265017b0e8bab6b6a9e4d66ea4d8f2a30f576a3527cc68caa462844
|
data/lib/pg_graph/version.rb
CHANGED
data/lib/type/type.rb
CHANGED
@@ -33,7 +33,10 @@ module PgGraph::Type
|
|
33
33
|
protected
|
34
34
|
# Nodes with nil keys are not attached. This is used in PgCatalogSchema to
|
35
35
|
# avoid being included in the list of schemas
|
36
|
-
def do_attach(key, child)
|
36
|
+
def do_attach(key, child)
|
37
|
+
!key?(key) or raise PgGraph::Error, "Duplicate fields in #{self.uid}: '#{key}'"
|
38
|
+
super if child
|
39
|
+
end
|
37
40
|
|
38
41
|
# Forward list of methods to object. The arguments should be strings or symbols
|
39
42
|
def self.forward_method(object, *methods)
|
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.3.
|
4
|
+
version: 0.3.2
|
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-11-
|
11
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: boolean
|
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: '0'
|
242
242
|
requirements: []
|
243
|
-
rubygems_version: 3.3.
|
243
|
+
rubygems_version: 3.3.7
|
244
244
|
signing_key:
|
245
245
|
specification_version: 4
|
246
246
|
summary: Create graph type model of database
|