ransacker_translator 0.1.3 → 0.1.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4142dadc90a0239e95cc7d735d0818fa4e15c3cf6e728c9a88e47b9f544b478e
|
4
|
+
data.tar.gz: 2f9a21baf16f9cdca2ad5486f6e729df5ed8458ee3a1f0846c0a8c21901bd03a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceb6b75ed939e5befbe57942194b1332929685d126283cdeda65089d554d49b0505c0d945e5326893f650a98a045a9bbd1bb1cd58cd855e2b3ecedacc4086aeb
|
7
|
+
data.tar.gz: 2bc87dff591366cd75020989e97b653a24307d4de61e0b41bd384bd53c3e3909d9e964c8a790783f60efdfefe5bb70792b9727d3445967396178ea577df84eef
|
@@ -7,7 +7,7 @@ module RansackerTranslator
|
|
7
7
|
private
|
8
8
|
|
9
9
|
def format_ransack_params
|
10
|
-
params[:q]&.keys
|
10
|
+
params[:q]&.keys&.each do |key|
|
11
11
|
if key.end_with?('_all', '_any') && params.dig(:q, key).instance_of?(String)
|
12
12
|
params[:q][key] = params.dig(:q, key).split(' ')
|
13
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ransacker_translator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- patorash
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|