forest_admin_datasource_toolkit 1.0.0.pre.beta.81 → 1.0.0.pre.beta.82
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/forest_admin_datasource_toolkit/schema/relations/many_to_many_schema.rb +1 -2
- data/lib/forest_admin_datasource_toolkit/schema/relations/many_to_one_schema.rb +1 -2
- data/lib/forest_admin_datasource_toolkit/schema/relations/one_to_many_schema.rb +1 -2
- data/lib/forest_admin_datasource_toolkit/schema/relations/one_to_one_schema.rb +1 -2
- data/lib/forest_admin_datasource_toolkit/version.rb +1 -1
- data/sig/forest_admin_datasource_toolkit/schema/relations/many_relation_schema.rbs +1 -1
- data/sig/forest_admin_datasource_toolkit/schema/relations/many_to_many_schema.rbs +1 -1
- data/sig/forest_admin_datasource_toolkit/schema/relations/single_relation_schema.rbs +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: 91a20d01ece71a5cee1a61539bb688bc2f4dfb9b643591b8b0e5cd3248c9ba6b
|
4
|
+
data.tar.gz: 7af62cd40c923c7fc8d5dae0aa7506875a40612de67100b3d5177041788ccbfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8ba30a2afec1c32ae93719f9978a30348d3f0cbc5402195efe12886e382b92928bf1549099c23fd8087c292a9363a7157fdcbf949dcd4b20c3f2dbfcde5d98
|
7
|
+
data.tar.gz: 7cb3d1992fae952e70daca9bbb9d3efc6b41eac1753560b6df52fa5edbdf8ee0ec19c1275ec19577e5018e18eee3857852e9e0d221a6fbc51e194d7022b1da3b
|
@@ -2,8 +2,7 @@ module ForestAdminDatasourceToolkit
|
|
2
2
|
module Schema
|
3
3
|
module Relations
|
4
4
|
class ManyToManySchema < RelationSchema
|
5
|
-
attr_accessor :origin_key, :through_collection, :foreign_key
|
6
|
-
attr_reader :origin_key_target, :foreign_key_target
|
5
|
+
attr_accessor :origin_key, :through_collection, :foreign_key, :origin_key_target, :foreign_key_target
|
7
6
|
|
8
7
|
def initialize(
|
9
8
|
origin_key:,
|
@@ -2,8 +2,7 @@ module ForestAdminDatasourceToolkit
|
|
2
2
|
module Schema
|
3
3
|
module Relations
|
4
4
|
class ManyToOneSchema < RelationSchema
|
5
|
-
attr_accessor :foreign_key
|
6
|
-
attr_reader :foreign_key_target
|
5
|
+
attr_accessor :foreign_key, :foreign_key_target
|
7
6
|
|
8
7
|
def initialize(foreign_key:, foreign_key_target:, foreign_collection:)
|
9
8
|
super(foreign_collection, 'ManyToOne')
|
@@ -2,8 +2,7 @@ module ForestAdminDatasourceToolkit
|
|
2
2
|
module Schema
|
3
3
|
module Relations
|
4
4
|
class OneToManySchema < RelationSchema
|
5
|
-
attr_accessor :origin_key
|
6
|
-
attr_reader :origin_key_target
|
5
|
+
attr_accessor :origin_key, :origin_key_target
|
7
6
|
|
8
7
|
def initialize(origin_key:, origin_key_target:, foreign_collection:)
|
9
8
|
super(foreign_collection, 'OneToMany')
|
@@ -2,8 +2,7 @@ module ForestAdminDatasourceToolkit
|
|
2
2
|
module Schema
|
3
3
|
module Relations
|
4
4
|
class OneToOneSchema < RelationSchema
|
5
|
-
attr_accessor :origin_key
|
6
|
-
attr_reader :origin_key_target
|
5
|
+
attr_accessor :origin_key, :origin_key_target
|
7
6
|
|
8
7
|
def initialize(origin_key:, origin_key_target:, foreign_collection:)
|
9
8
|
super(foreign_collection, 'OneToOne')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_admin_datasource_toolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.beta.
|
4
|
+
version: 1.0.0.pre.beta.82
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthieu
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|