forest_admin_datasource_toolkit 1.0.0.pre.beta.42 → 1.0.0.pre.beta.44

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: d5cdd5f91c1c9bb2576f7fa0aa8966d9ef563c22b16fc2be70badbfb2b3d1515
4
- data.tar.gz: fdc322cd8fdac9dd53a0fb095c1a5e506d0c7ab3a10db4f37902777e61253c13
3
+ metadata.gz: b613a343c9e38c71de9b4d05f461202fb3d2d792e23b76d55aa305db9315d657
4
+ data.tar.gz: d99ad09de5da95a6834b644d5bf43aa9a3368f1dbef7e7a3ece0665abf298033
5
5
  SHA512:
6
- metadata.gz: 517f3e1889c8137c146b429322d3fd22cf9538eec29bacebf30ef0730fb907ca756a1f35772e4e2daa1ae5ee5678a020bde19841125359b7b5a03687398c8d5a
7
- data.tar.gz: 00173db60cf8a882b3afd2629adbc51cb0d5a73ee621e1095afabd9918f7b3965c030ac38e547ebf725e53c2532f1f5e6eb39b702803e739625fa03ddb539bee
6
+ metadata.gz: 844ffc337f360dc3a5e868c83a5a69e377629286dcbb981938af597b3c218fc1241d5c8190b97fae946aa81bff1a566c82d7a4fa963539819da9ffc3b694bc60
7
+ data.tar.gz: 7a795bf72e105c78be339ca28dea7d3dcb67e8bf9c2d74562351903cd69cf780a53590a366a964611437a4a3165434ef766423467121a4b299fe71a1240d16fd
@@ -1,7 +1,5 @@
1
1
  module ForestAdminDatasourceToolkit
2
2
  class Collection < Components::Contracts::CollectionContract
3
- attr_accessor :segments
4
-
5
3
  attr_reader :actions,
6
4
  :datasource,
7
5
  :name,
@@ -17,10 +15,10 @@ module ForestAdminDatasourceToolkit
17
15
  fields: {},
18
16
  countable: false,
19
17
  searchable: false,
20
- charts: []
18
+ charts: [],
19
+ segments: {}
21
20
  }
22
21
  @actions = {}
23
- @segments = {}
24
22
  end
25
23
 
26
24
  def enable_count
@@ -19,7 +19,7 @@ module ForestAdminDatasourceToolkit
19
19
  def schema
20
20
  unless @last_schema
21
21
  sub_schema = @child_collection.schema
22
- @last_schema = refine_schema(sub_schema)
22
+ @last_schema = refine_schema(sub_schema.dup)
23
23
  end
24
24
 
25
25
  @last_schema
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceToolkit
2
- VERSION = "1.0.0-beta.42"
2
+ VERSION = "1.0.0-beta.44"
3
3
  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.42
4
+ version: 1.0.0.pre.beta.44
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-04-11 00:00:00.000000000 Z
12
+ date: 2024-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport