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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5250837e5888f8aa2983ee21ebb22253702326dcda6eb87de4ee3420c27290a
4
- data.tar.gz: '09699dfc76c18d79058513fe93d58c84c1b5d71cd9a638babf836cdff5da8a08'
3
+ metadata.gz: f3e6da6151544ce719d17e6a14b349c2fe48d623d4f6d8a301a82159e93132a1
4
+ data.tar.gz: 6684f1ba755d15a7ac8dc5a9d46a1fb3a0c46ac77b61dea70d795dd16831dc52
5
5
  SHA512:
6
- metadata.gz: cfd18e71bf277216f8aa9e73970ba325adda38de61cf013b1c5f169ce7817ef37b600b5e936946d3ca12f1087822e2db90dcd294b9668f2839f394ab6e72bec2
7
- data.tar.gz: dcaf0ee66d40428c141d917e829561e3aa7ab3a72f4fea8d47ae13324edd039f4f9178e6f658712e952ad8ce552a5bce5a55ea9792534d96501f2449d9f49b2a
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')
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceToolkit
2
- VERSION = "1.0.0-beta.81"
2
+ VERSION = "1.0.0-beta.83"
3
3
  end
@@ -3,7 +3,7 @@ module ForestAdminDatasourceToolkit
3
3
  module Relations
4
4
  class ManyRelationSchema
5
5
  attr_accessor foreign_key: String
6
- attr_reader foreign_key_target: String
6
+ attr_accessor foreign_key_target: String
7
7
  end
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@ module ForestAdminDatasourceToolkit
3
3
  module Relations
4
4
  class ManyToManySchema
5
5
  attr_accessor origin_key: String
6
- attr_reader origin_key_target: String
6
+ attr_accessor origin_key_target: String
7
7
  attr_accessor through_collection: String
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@ module ForestAdminDatasourceToolkit
3
3
  module Relations
4
4
  class SingleRelationSchema
5
5
  attr_accessor origin_key: String
6
- attr_reader origin_key_target: String
6
+ attr_accessor origin_key_target: String
7
7
  end
8
8
  end
9
9
  end
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.81
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-11-22 00:00:00.000000000 Z
12
+ date: 2024-12-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport