forest_admin_datasource_toolkit 1.0.0.pre.beta.75 → 1.0.0.pre.beta.77

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: 99451485f201c0c6d8d80e06706cad97ff97ac4a5ea10434479ba8e6f34ea769
4
- data.tar.gz: 04164330702d650249bf0acc871b74aa29d5da9ee6eb4dae803f99f3fefec10b
3
+ metadata.gz: c3d3867c6c3d933c8e08b28bd8e62324f7bfcd03f7218cf6d2db4b962098da1f
4
+ data.tar.gz: 213c1cf61a5285047c689e4f384cebbadff51db7586041aa6ce4fe52c3ffb978
5
5
  SHA512:
6
- metadata.gz: bf07236928d5cb2055804372ab46c95de9d269af0064ccd7862c7b4c444be1a6bfeac972616d1190a2e8099ead02d29e07681d5c722bc8b70e80821e3524adde
7
- data.tar.gz: bc6dedc1a44071866a18f99dce23caad0e134c4317a4a832ecbccff63b771d4a72fe207f3926a2fcb99dbc78f2b2b0b7f07c4f6054e00d05b0c2adad7011686c
6
+ metadata.gz: 663439961fddfd7ef3b49d4193d15a9146b82b7ab91613fc5ceb755ef8b3af7792a830da45453a742363361cff84a915d8ed7937f3b53817c45eb70f28c18d38
7
+ data.tar.gz: 4381c4fe5d7663bbd154632a9a2766c27359c8cf884120ba3d0e4f68ac2f9c5c5a1844c7d7a6de497f055c3d0eed228ba7b64b5c6994866090c4279db85183ea
@@ -63,7 +63,7 @@ module ForestAdminDatasourceToolkit
63
63
  return nil if trees.nil? || trees.empty?
64
64
 
65
65
  conditions = trees
66
- .filter { |tree| !tree.nil? }
66
+ .compact
67
67
  .reduce([]) do |current_conditions, tree|
68
68
  if tree.is_a?(ConditionTreeBranch) && tree.aggregator == aggregator
69
69
  current_conditions + tree.conditions
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceToolkit
2
- VERSION = "1.0.0-beta.75"
2
+ VERSION = "1.0.0-beta.77"
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.75
4
+ version: 1.0.0.pre.beta.77
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-10-10 00:00:00.000000000 Z
12
+ date: 2024-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport