forest_admin_datasource_active_record 1.0.0.pre.beta.25 → 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: 9c8b6b6053c938b270764e56adbc523ef326e4913b2261f8837d06312aa539cb
4
- data.tar.gz: 949d55467f85f27e788dfc3038e1f5239f4b14edfb678d0b2a7f76a36df01daa
3
+ metadata.gz: 2c9ffb13f19ad451e92bdc18d361799e3f0d8381ef2482df6a432071dbfc46ed
4
+ data.tar.gz: 983fed907c07b64ee9ddcdd09164fbae945a4a345b26292993d27b437743ab35
5
5
  SHA512:
6
- metadata.gz: 5b3b8ade7aa53984e53e9131b05419da3b1a0d4bec098d90f66e93757def0d44d24b6940bb44d33d0d4375b02aac5634a89ce7d1769921eb2111e6bcea65eea1
7
- data.tar.gz: eb353ea2cb00b94fc9c2c29b4847abbc613e217005c5238b591f6f14d3c29e9bd66fb695851d3c222204472b06434b0f8aa0d9b8282a385dd1ec3f58e3240289
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.25"
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.25
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-20 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