forest_admin_datasource_customizer 1.0.0.pre.beta.60 → 1.0.0.pre.beta.61

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: 546f0cd46dfa45397848a4cf173fc66573b7adf07c68e2255b7b2ee44703d440
4
- data.tar.gz: 62ee92da96f2e7c5b4d1fd3ed90c9aff152356c26545cec579d03ff40da5f4c3
3
+ metadata.gz: 01a3e9d078567da75ac00fbce2df8722f362800ac0e67108691755f8ea3908ea
4
+ data.tar.gz: b7fb6555dcefb5e78f6fceba1afaca3459d73f52692be6492d6992a9875c3de8
5
5
  SHA512:
6
- metadata.gz: b435320c4af013dcef24be9ef7bcf9095cec3deaddb32923d82a027e4149377eddb82fcfbc12e569f5ab34e6121a616d52dba920a0cf22e3558d820016f7af9c
7
- data.tar.gz: '09f6e4b2379e15017598b9b90331f6e9bae0b9fe39a2bb4ff7da6c3a90c1e135eedf295b7d514f2927605e1a37dd91ac1efa23bd06c852521f10a938ccf1e5c7'
6
+ metadata.gz: abfb2618846aebd32cacb55c85a074786e59e72596baefded111a7e1a801622ee9d5b7bc1ab19c3c74018a19e692fb600c9fa47043b146efb1c4fc438cff3b82
7
+ data.tar.gz: ee3c04a82b7b8cc35ee009a935b26f06e014bfb95b6d34b8e82263c3433ba665619d59ad9795020c9399cd83d538758cef97aad01725f7a5701cffb1b0def061
@@ -20,7 +20,7 @@ module ForestAdminDatasourceCustomizer
20
20
 
21
21
  def refine_filter(caller, filter)
22
22
  # Search string is not significant
23
- return filter.override({ search: nil }) if !filter || !filter.search || filter.search.strip&.length&.zero?
23
+ return filter.override({ search: nil }) if !filter || !filter.search || filter.search.strip&.empty?
24
24
 
25
25
  # Implement search ourselves
26
26
  if @replacer || !@child_collection.schema[:searchable]
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceCustomizer
2
- VERSION = "1.0.0-beta.60"
2
+ VERSION = "1.0.0-beta.61"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_admin_datasource_customizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta.60
4
+ version: 1.0.0.pre.beta.61
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-07-08 00:00:00.000000000 Z
12
+ date: 2024-07-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport