forest_admin_datasource_toolkit 1.0.0.pre.beta.81 → 1.0.0.pre.beta.83
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: f3e6da6151544ce719d17e6a14b349c2fe48d623d4f6d8a301a82159e93132a1
|
4
|
+
data.tar.gz: 6684f1ba755d15a7ac8dc5a9d46a1fb3a0c46ac77b61dea70d795dd16831dc52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ed9f1764a246355eec14f0ca39bfb37b068b8d24734b98c932cd529ee819e5e858773a347a1a93837f738b225c0a0d8fd8b7ef86742ccc7ffd678770d5385af
|
7
|
+
data.tar.gz: 0caca749790952066e5e518660065600b4e143823b235a9ceb8699e30b9345dca1f1183ff07deedf9c0364736a39f3c8242e7a44b273161b3e2a3913ddaf87bd
|
@@ -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.83
|
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-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|