redis-search 0.9.3 → 0.9.4

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/base.rb +1 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e6f3906dd34c0d8beb6916d085254907cc78cf9
4
- data.tar.gz: e1a30ca6fb030c376eba1c8678b63c106a7e8bab
3
+ metadata.gz: bb565b1c1ccee90af57c7baa1c704927f67c2e69
4
+ data.tar.gz: 78bf5f15c446c18eba87b1f1d6f8f9284e4345d1
5
5
  SHA512:
6
- metadata.gz: 45f76af210621db1a46794c1c91b68ed6c23c5327bca577f9d6c3c68e9bb3dbbdf3aa6ab0f6539e4b4dbefaccf9988e36bc01a28fb84268991d710fb367576b8
7
- data.tar.gz: 8e819d5b2e02ef8ae3714935b333c1dfb323753b89ebc7576d76e1e91e3436c76eb69db47ba77fd9273e20e42ce60249fd01281fd1bdc7d9fa68636ad7bcd6e7
6
+ metadata.gz: 7adbd0b4309fcede9510a07c36fbb34cb34fe70deb4ce90bb5f9eef918255fe50b4d30aa5095b4c84eb19cd98b97bb905f4bb2d76ada2d047fc3b662ce92e0fb
7
+ data.tar.gz: 4181f0b5924db8f1062cbdc9065e41c8b1f70f4f9a7be8c5d92d7e0cadd22f210a804991dc67973a2b4555b09ec8f1c2ac7e0cc9b50508d4c91b537de235ecd5
@@ -70,6 +70,7 @@ class Redis
70
70
 
71
71
  def redis_search_index_delete(titles)
72
72
  titles.uniq.each do |title|
73
+ next if title.blank?
73
74
  Search::Index.remove(:id => self.id, :title => title, :type => self.class.to_s)
74
75
  end
75
76
  true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee