redis-search 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/redis/search/finder.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33272b4ecdd3291d20d8c18b81408df1a285a341
4
- data.tar.gz: 38b7f637d9caf86c4c954a3c3c1c4cb20aa8dc02
3
+ metadata.gz: 8e6f3906dd34c0d8beb6916d085254907cc78cf9
4
+ data.tar.gz: e1a30ca6fb030c376eba1c8678b63c106a7e8bab
5
5
  SHA512:
6
- metadata.gz: 164afbf3600a9fdf21c5beb5426f402e96bdc2f234fbf2c2ec5c141e88be0bb77fc1467942a4a7469cecd2c0ae87dee552aec994e16fa0b256dbf3e97cbfc42b
7
- data.tar.gz: f5c6d1da12d349092eb53f79333a22de834cc5e2077ebb45e0dc1b2455a9bbaadd138425c2d214311829e6474bf04a0d867761e5508bc38453488c0c193f5088
6
+ metadata.gz: 45f76af210621db1a46794c1c91b68ed6c23c5327bca577f9d6c3c68e9bb3dbbdf3aa6ab0f6539e4b4dbefaccf9988e36bc01a28fb84268991d710fb367576b8
7
+ data.tar.gz: 8e819d5b2e02ef8ae3714935b333c1dfb323753b89ebc7576d76e1e91e3436c76eb69db47ba77fd9273e20e42ce60249fd01281fd1bdc7d9fa68636ad7bcd6e7
@@ -180,6 +180,7 @@ class Redis
180
180
 
181
181
  private
182
182
  def self._split(text)
183
+ return [] if text.blank?
183
184
  # return chars if disabled rmmseg
184
185
  return text.split("") if Search.config.disable_rmmseg
185
186
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-14 00:00:00.000000000 Z
11
+ date: 2014-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-pinyin