filterer 1.0.0 → 1.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
  SHA1:
3
- metadata.gz: cd3aae394197b00be651ba79a1fccbcb062de3b7
4
- data.tar.gz: 3431174e285213891cef2baaa9c236fb249ec232
3
+ metadata.gz: 585d65898ec14dde1412ee6f278b301ddbd1cd3e
4
+ data.tar.gz: d0f2eb46e7a86e09d7719888d2b0a062c421e5cc
5
5
  SHA512:
6
- metadata.gz: 20156098e5ca54997ca684cd7293f143648a06a837ddd619c281569c8de714db972fc96ca615819e11ad952cd68523d96840e452d7643de36b0d5b57442eef87
7
- data.tar.gz: d99dd3c5d90aaef3cd2cb99927c13706c264b3d61394ad96df07c62f762954ecdc4b9c2ba7e962c48d873e8b2112fda2044a4afc28af1d616dc262c4f73c60e6
6
+ metadata.gz: cf082352a497e1c2a21dad2b3a537529b764d0ee8f933ba82f2364ecbd3b3bcd70faf83cd34bf7f44e2781605a2659cee86bb717df19e0d6da9a50d7b95ea20e
7
+ data.tar.gz: c0ab88826d056d00cc616b3a5bcec8eea9d059016a228416f4ec61958579e0b6a4c3fc1fdc6915010efe2644cb409722f40cfcb4d92753f38f34d1202d2bdbfa
@@ -54,6 +54,13 @@ module Filterer
54
54
  new(params, opts).results
55
55
  end
56
56
 
57
+ # @return [ActiveRecord::Association]
58
+ def filter_without_pagination(params = {}, opts = {})
59
+ new(params, opts.merge(
60
+ skip_pagination: true
61
+ )).results
62
+ end
63
+
57
64
  # @return [ActiveRecord::Association]
58
65
  def chain(params = {}, opts = {})
59
66
  new(params, opts.merge(
@@ -1,3 +1,3 @@
1
1
  module Filterer
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-30 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails