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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5250837e5888f8aa2983ee21ebb22253702326dcda6eb87de4ee3420c27290a
4
- data.tar.gz: '09699dfc76c18d79058513fe93d58c84c1b5d71cd9a638babf836cdff5da8a08'
3
+ metadata.gz: 91a20d01ece71a5cee1a61539bb688bc2f4dfb9b643591b8b0e5cd3248c9ba6b
4
+ data.tar.gz: 7af62cd40c923c7fc8d5dae0aa7506875a40612de67100b3d5177041788ccbfe
5
5
  SHA512:
6
- metadata.gz: cfd18e71bf277216f8aa9e73970ba325adda38de61cf013b1c5f169ce7817ef37b600b5e936946d3ca12f1087822e2db90dcd294b9668f2839f394ab6e72bec2
7
- data.tar.gz: dcaf0ee66d40428c141d917e829561e3aa7ab3a72f4fea8d47ae13324edd039f4f9178e6f658712e952ad8ce552a5bce5a55ea9792534d96501f2449d9f49b2a
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')
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceToolkit
2
- VERSION = "1.0.0-beta.81"
2
+ VERSION = "1.0.0-beta.82"
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.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-11-22 00:00:00.000000000 Z
12
+ date: 2024-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport