forest_admin_datasource_toolkit 1.0.0.pre.beta.74 → 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: 1bbe140001ed64860516e450561d3c06110c166cf0481f36c67ab151dd1e4bba
4
- data.tar.gz: f239c1ec1cbdbaa37b5e2178768a84b949865498c0abcc606fc3973a7d83babc
3
+ metadata.gz: 0eaf7cbcf2cec852754e9daaf2f7b3a7de7221c58a97bf51d84a145c55be4d88
4
+ data.tar.gz: 48a1987df05774428910c4dfc35fd704a1b48cb23ce6bdf602ec144877d6333b
5
5
  SHA512:
6
- metadata.gz: 86520f8d9ee9288a856c96ed34ee420deff03c00a79dbb7fb2d5058c3e09ebc137aff5a1b2765c7ecf15bfe45be04b7c08969fcbcd233d517d2379208d2b2c73
7
- data.tar.gz: 3d92927662a0ae4ede17063cee34cebff2868f31ad10372c5a21a9fbe29474577a3e8aae31060c3f37d010cab6f9685cd915c8abdefeffec940a12ed085a68e4
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.74"
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.74
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