forest_admin_datasource_toolkit 1.0.0.pre.beta.75 → 1.0.0.pre.beta.76

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: 0eaf7cbcf2cec852754e9daaf2f7b3a7de7221c58a97bf51d84a145c55be4d88
4
+ data.tar.gz: 48a1987df05774428910c4dfc35fd704a1b48cb23ce6bdf602ec144877d6333b
5
5
  SHA512:
6
- metadata.gz: bf07236928d5cb2055804372ab46c95de9d269af0064ccd7862c7b4c444be1a6bfeac972616d1190a2e8099ead02d29e07681d5c722bc8b70e80821e3524adde
7
- data.tar.gz: bc6dedc1a44071866a18f99dce23caad0e134c4317a4a832ecbccff63b771d4a72fe207f3926a2fcb99dbc78f2b2b0b7f07c4f6054e00d05b0c2adad7011686c
6
+ metadata.gz: 1a470e237928d9994221859521e6308a115b41ed6d961e55c80ebeb464466b7ac6f85e62b967cf07688bc5b7bb0f7e2b1662850399a35ce2e82b1f84d9827f4d
7
+ data.tar.gz: 8c7491914dc07484adda60f0a38f8b4efd875e28205c6cb0a2c1947bad66fbd8b5fbe2650649ed6100efc27d8dc3019f23bf425e1f4493c4a164eacfa1cf2dfa
@@ -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.76"
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.76
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