activerecord-filter 6.0.0 → 6.0.0.1

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: eb5558c10ab1700003d9bf88d48bd0d70a68e8cba26e802036f1c540b9e105db
4
- data.tar.gz: edabdc23ec140c5cb0ae15078de8f56a8da63e8a813cea36ee9b94b1abf44455
3
+ metadata.gz: '09bb100ef828af898f984d813b053e52af5c0264e1f5991eb62062d641dce71d'
4
+ data.tar.gz: 97fbdfccc6e9dff58be2d37cb4a17cc292c458c4d60610d5d5e31330d4c516d7
5
5
  SHA512:
6
- metadata.gz: 10393c5284c77f55c91d386e696ad6067841db807286ebd0228c0df4a743a5ee66f283b14b2294e6be3d7c7f705f86079c5f9b46280da6cc57065eb2ed1a25a6
7
- data.tar.gz: 8fc0d573ee06224c5c0f9cf245f37011518fac4309689206c5d8f4417efc59ce6e315dc10e36d94af4f00bc9f154d0256e3ba85c52cba6faae6b4cea33a4611f
6
+ metadata.gz: 6d13276e0475e34a6232804118693ffa8e103f5bc34fa781a5a31444da88f968e17c8a81dc37753539681968605c3cbd79f16ef88ded994cb8a7db577c0f2f4a
7
+ data.tar.gz: 772aff1eba3e010a77783ba6e3a40942b20bd4f5a7d4a7c218e31780ac211e9ec6a7fe4b9810b802277f801c9b00cd8434873096e5b62573a6f8f8d4b6789a86
@@ -189,9 +189,9 @@ module ActiveRecord
189
189
  when :has_key
190
190
  attribute.has_key(value)
191
191
  when :has_keys
192
- attribute.has_keys(*Array(value))
192
+ attribute.has_keys(*Array(value).map { |x| Arel::Nodes.build_quoted(x) })
193
193
  when :has_any_key
194
- attribute.has_any_key(*Array(value))
194
+ attribute.has_any_key(*Array(value).map { |x| Arel::Nodes.build_quoted(x) })
195
195
  when :in
196
196
  attribute.in(convert_filter_value(column, value))
197
197
  when :intersects
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module Filter
3
- VERSION = '6.0.0'
3
+ VERSION = '6.0.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Bracy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-30 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord