querifier 0.2.2 → 0.2.3

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
  SHA1:
3
- metadata.gz: '0384ae9c72a559364bfcc1ff5a8727e23e333083'
4
- data.tar.gz: 92eb1c2528a31373da3bbce219299fe9b5bc6542
3
+ metadata.gz: 3c85a9f92f220edfcfb0c0431736d21e06ea3cf0
4
+ data.tar.gz: 752e709ccf05123b7f1ac150563e7754f4da5cdb
5
5
  SHA512:
6
- metadata.gz: fa625d8291d0fafb3c89f8b8926cdfdf4367c392efb76bc5cb9778407b082928ad9d7bb0672dda1b5a27b19cb4d491e38498185706154937652b39fee2572ff2
7
- data.tar.gz: 9b882bc922be3d74f548b425e2b66db08354f7a398cbde06e11d5fd9fb3118de458d25ad87ee21dfddfa551b323d859dc3833645fa2833b7799dca5f07c0c286
6
+ metadata.gz: a04717be7b4b1a88941fa0280891a990dfafe864b22616dd3cf781b758b0bfd0ddc79f47997a2f9df76cb1d19a20cc7986233f1a87faeea14306984de0eee3ac
7
+ data.tar.gz: 32c1ed99c67c17d5f2987da5704c40f45adc5beca0571c3d758ff517d6c6e7e676ac3b754864abb619421ef055da931b6a30af3dfafd1a851f2455c285f49121
@@ -49,7 +49,7 @@ module Querifier
49
49
 
50
50
  def order_params
51
51
  @order_params ||=
52
- params.fetch(Config.order_param, {}).select { |k| valid_option? k.to_sym }
52
+ params.fetch(Config.order_param, {}).select { |(k, _)| valid_option? k.to_sym }
53
53
  end
54
54
 
55
55
  def self.included(klass)
@@ -38,7 +38,7 @@ module Querifier
38
38
 
39
39
  def filter_params
40
40
  @filter_params ||=
41
- params.fetch(Config.where_param, {}).select { |k| valid_option? k.to_sym }
41
+ params.fetch(Config.where_param, {}).select { |(k, _)| valid_option? k.to_sym }
42
42
  end
43
43
 
44
44
 
@@ -1,3 +1,3 @@
1
1
  module Querifier
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: querifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hugo Farji