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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62c100355e026fb8e544f1236fa8d59d8b804bbd
4
- data.tar.gz: 43bc7d8c7c7913c9333d1620b233298f5e0d916f
3
+ metadata.gz: 3dbcce270c919c7131cfea3830acf2c621914f66
4
+ data.tar.gz: 2a2ca9a12228a75a064294b09714e400f5987e96
5
5
  SHA512:
6
- metadata.gz: dec387e517cc1629459c6326feb79a4b3582a1d2a283e9f577551979bfd7f7aca64fe7938e3b82045ceeda63b1d35d3a1ffc95decc575a0850baf1450c81e3b6
7
- data.tar.gz: 826bdf3052e03da8ff55016e6ed9603f235e31f89d07f19a01bc307c5baf10e2becec96ef8e149093c1eb5946105b478dd5ef864cdddff1a74a961dca82bc715
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
  '*'
@@ -1,3 +1,3 @@
1
1
  module Trample
2
- VERSION = "0.18.1"
2
+ VERSION = "0.18.2"
3
3
  end
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.1
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-06 00:00:00.000000000 Z
11
+ date: 2016-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus