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 +4 -4
- data/lib/filterer/base.rb +7 -0
- data/lib/filterer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 585d65898ec14dde1412ee6f278b301ddbd1cd3e
|
4
|
+
data.tar.gz: d0f2eb46e7a86e09d7719888d2b0a062c421e5cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf082352a497e1c2a21dad2b3a537529b764d0ee8f933ba82f2364ecbd3b3bcd70faf83cd34bf7f44e2781605a2659cee86bb717df19e0d6da9a50d7b95ea20e
|
7
|
+
data.tar.gz: c0ab88826d056d00cc616b3a5bcec8eea9d059016a228416f4ec61958579e0b6a4c3fc1fdc6915010efe2644cb409722f40cfcb4d92753f38f34d1202d2bdbfa
|
data/lib/filterer/base.rb
CHANGED
@@ -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(
|
data/lib/filterer/version.rb
CHANGED
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.
|
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
|
11
|
+
date: 2015-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|