trample_search 0.18.1 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trample/backend/searchkick.rb +1 -1
- data/lib/trample/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: 3dbcce270c919c7131cfea3830acf2c621914f66
|
4
|
+
data.tar.gz: 2a2ca9a12228a75a064294b09714e400f5987e96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1df72ce11257681fc579b3403d38a7e4ac4fd102cd74c566abee139f0141e089af1ce6819928efece84383e0167d1f02297465e5a514e0eb4558ffefb3e6a3b6
|
7
|
+
data.tar.gz: 8c6286c81340fe879f8e888bc9e4d6223a53e78da30400fcfdae19d7466ce06346551f4cd1f6c716017daf06a34271a6d279f898e776e63b4aa66a011faee120
|
@@ -60,7 +60,7 @@ module Trample
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def keywords(conditions)
|
63
|
-
if conditions[:keywords] and conditions[:keywords].values.first
|
63
|
+
if conditions[:keywords] and ![nil, ''].include?(conditions[:keywords].values.first)
|
64
64
|
conditions[:keywords].values.first
|
65
65
|
else
|
66
66
|
'*'
|
data/lib/trample/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trample_search
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- richmolj
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|