forest_admin_datasource_toolkit 1.0.0.pre.beta.43 → 1.0.0.pre.beta.45

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: e9df603aa9cc4c01e6b0c0113c8681297c31448eb28f6b4953689425102abb62
4
- data.tar.gz: 8b419d363ca982fe30b35d22bff09510cc8f7cdf269a4e8cabfc3ad3258e29df
3
+ metadata.gz: c39d0ba5a735c294fa730202c662a7f33c5548df607cc57f0b152b9aeb275086
4
+ data.tar.gz: ca22469b1764b8553be5e41874664d3b4bb2602bf5e7006e7432005d9ebe2d51
5
5
  SHA512:
6
- metadata.gz: abfd571f003187106343baf36be852e982523fcb1d0e2672e7068293f5ec9d2484cb17a76ea3a8d05d5aae7184f918cbb3c74f062fa77a07dc9ad6c6d71cdda4
7
- data.tar.gz: 82404104a0bcae9e620232c3edd6d208467709f4d95dacf4fce95377c5f8d73a6eacea64860dadf422480704925782d7978a8f5b0349e055865a7310a77185e6
6
+ metadata.gz: b4c592ab4aa48f64a041e8666b8769b43603b21a7e52e48c267eca62512f2cbead6cd22e70eada141a95245845bd5e9c70484a0fad78d2f7e509f8b58d3367f4
7
+ data.tar.gz: 89bffec31ec6ecf95a94c155313b736947bc9443b604b8c0a8c5521c3e86b51e5c6e9c6c0b4205d70c29041560c0f123a04398ee4758865e1483880bb814864e
@@ -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.43"
2
+ VERSION = "1.0.0-beta.45"
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.43
4
+ version: 1.0.0.pre.beta.45
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-12 00:00:00.000000000 Z
12
+ date: 2024-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport