auto_define_scope 0.1.11 → 0.1.12

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: fa7531da35908d622ee409974fc57b32aec3582c111e1e59cec4a715a57dc271
4
- data.tar.gz: 582c511f48b5c1e7605397c6176a04c65ac0fcaf6a3e946c84019d09760988f1
3
+ metadata.gz: 7315e9b476d285d47db966be0c7898ab40ddde278c620d178440b73b8b199511
4
+ data.tar.gz: 8aa08fd8185b21445d2f22cdf1469db97fc15fda6b7156baceff8ab902675836
5
5
  SHA512:
6
- metadata.gz: 33ec0aa671c96d510f54e42aafc021d3ef0b5d796d5c7979c945dbe5bf59b39b7965b224ddd9e43db9247112d47b08368e8c1c7a0e41d52e05277e87250c963c
7
- data.tar.gz: 2a0018311bb90c3c25b0316b1b3ad1213450e279d7ae71bda9bb713af828ad4017fe82730dc14673a7dbe478c0536161234b15f56f090836bc2baf2d8528f6b1
6
+ metadata.gz: 6f3441c662bd463b521ac096ad80859ba57dfb2f74f09b218cbcaa7d8e53fa8efb7dbda3a526b362b9afdf32d47a9fecdfa7ac5afcbb64dc681399737de1ea3d
7
+ data.tar.gz: d88cb4a4b01d4e19ec092444332c2536d30fc604615b46a30c6bb4ffbe83b18532f95bad243422365e485a1a96d4dfcf761e317d1479d23da4a9c88fbeb4b364
@@ -14,8 +14,8 @@ module AutoDefineScope
14
14
  end
15
15
 
16
16
  def scopes options = { search: [], with: [] }
17
- search_columns options[:search]
18
- with_columns options[:with]
17
+ search_columns options[:search] if options[:search]
18
+ with_columns options[:with] if options[:with]
19
19
  filterrific available_filters: @auto_define_scopes if @auto_define_scopes.present?
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module AutoDefineScope
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto_define_scope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - tinyfeng.hou
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2019-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler