forest_admin_datasource_active_record 1.0.0.pre.beta.24 → 1.0.0.pre.beta.26

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: e0e8066d5c92b8c29a1af80b8abf88f7f619eeb22c101a45aab964dd4b1c8d5c
4
- data.tar.gz: bcdf8bbc3b7b45f0488317c56b9058b6becf7a1a93e7aa0f5609f7cbdf362ff0
3
+ metadata.gz: 2c9ffb13f19ad451e92bdc18d361799e3f0d8381ef2482df6a432071dbfc46ed
4
+ data.tar.gz: 983fed907c07b64ee9ddcdd09164fbae945a4a345b26292993d27b437743ab35
5
5
  SHA512:
6
- metadata.gz: 6369edf2a171a44f5ae77474531cbe2d7943b1d12253e423dfc5353e01daacfa22a3f5870d5cc732624329f81c814115056be130c3b2a694bd7f11eaf7449eee
7
- data.tar.gz: 8a91c54e1aecc09faa1dfe38dae73fb40849d73093ad46c99d0b74ea47008ca28a2053147367917a8931fd57364b659caa3f553900f52ffd9aa2569638ca4a89
6
+ metadata.gz: 5d07364828bdb2f19befc15a4f5366b9fc09a5c974b999abb628c2e27e4dc39e7a58ad787de83df6c229227668626d570d5059d6cf1edfc195f3fb01256d5bae
7
+ data.tar.gz: 54f3873b7e5dc9b920fb5ebc36dd98ff771766207616916e384ae71bc28795d020f3db77823c23e9441f303ccbb773cbf55f35369df04c959dff3324062eea67
@@ -62,8 +62,8 @@ module ForestAdminDatasourceActiveRecord
62
62
  @query = @query.send(aggregator, @query.where(@arel_table[field.to_sym].lt(value)))
63
63
  when Operators::NOT_CONTAINS
64
64
  @query = @query.send(aggregator, @query.where.not(@arel_table[field.to_sym].matches("%#{value}%")))
65
- when Operators::CONTAINS
66
- @query = @query.send(aggregator, @query.where(@arel_table[field.to_sym].matches("%#{value}%")))
65
+ when Operators::LIKE
66
+ @query = @query.send(aggregator, @query.where(@arel_table[field.to_sym].matches(value)))
67
67
  when Operators::INCLUDES_ALL
68
68
  # TODO: to implement
69
69
  end
@@ -1,3 +1,3 @@
1
1
  module ForestAdminDatasourceActiveRecord
2
- VERSION = "1.0.0-beta.24"
2
+ VERSION = "1.0.0-beta.26"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_admin_datasource_active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta.24
4
+ version: 1.0.0.pre.beta.26
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: 2023-12-18 00:00:00.000000000 Z
12
+ date: 2024-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord