collate 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 +4 -4
- data/lib/collate/active_record_extension.rb +5 -1
- data/lib/collate/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: 98bf8cfb044cf4c1eda4f5aa29100568da217204
|
4
|
+
data.tar.gz: 06bfc83fd89c01626c900fef70522d4f6fec2d2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ea9e936a31ae527e54cf34786779d7b3c28fecfe9e3612bcfad1479b09cff1bafb9403ffbf8d74b17ea82f883376b0637131bb39c7bd4039bd56df69bb92a37
|
7
|
+
data.tar.gz: '039b34239160456a1981f4b3b48d5c7332371d33d45da1cbb13c2e32e108f6b28f5fb6764fef321f5e6fd0bf0487600e9130f856e0ba69c3a1e81c6c700567e7'
|
@@ -112,7 +112,11 @@ module Collate
|
|
112
112
|
end
|
113
113
|
|
114
114
|
ar_rel = if query_string.include?('?')
|
115
|
-
|
115
|
+
if filter.or
|
116
|
+
ar_rel.send(ar_method, query_string, *filter_value)
|
117
|
+
else
|
118
|
+
ar_rel.send(ar_method, query_string, filter_value)
|
119
|
+
end
|
116
120
|
else
|
117
121
|
ar_rel.send(ar_method, query_string)
|
118
122
|
end
|
data/lib/collate/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Page
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|