redis-search 1.0.2 → 1.0.3

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: 804fc6a6a29426a456e61001196c3649286e0ec1
4
- data.tar.gz: 580d8cea7d7bc1189bf3bf05ac701b4f1758de07
3
+ metadata.gz: 46cb4cef781bc85a8e83494adda2b28d272bdd99
4
+ data.tar.gz: ef3fc73d7f0738aa7faa7d5b64a54be03932c60d
5
5
  SHA512:
6
- metadata.gz: aa20b21f334eb09449a3271a702a95f6c1f2f537eec92d7128046e887cfc6c995a35a27ae5a4c486045bda1b97f01650b656c2d8c02ce0faeeac6fcba5a0414e
7
- data.tar.gz: 2ecdffdd2e841868404602a79d0445e98cf0e7e1ad6181417dd61c76b8a61bf0bce6c5e0ef568a5374d16e37b5328d6b1e1a622156572636f8ed035f01976c7c
6
+ metadata.gz: 1c6f2e456091de71841e5b84ae9d5e9a8dcb5d69ca3483f61556c843606d8a9e6ee256db5db58d1efb86e3dacb19a5eb937837a0dfea7904428f578d08206b46
7
+ data.tar.gz: bf7faec87c2becd841b12f74f7b649fb1da2be9fa3522284725043251915f52e2740215edcb1a28c85e427b6fa1a28addcc6aa93b1a004085a11750d4ea2af13
@@ -152,12 +152,12 @@ class Redis
152
152
  if ancestors.collect(&:to_s).include?('ActiveRecord::Base'.freeze)
153
153
  find_in_batches(batch_size: batch_size) do |items|
154
154
  _redis_search_reindex_items(items)
155
- count += item.count
155
+ count += items.count
156
156
  end
157
157
  elsif included_modules.collect(&:to_s).include?('Mongoid::Document'.freeze)
158
158
  self.all.each_slice(batch_size) do |items|
159
159
  _redis_search_reindex_items(items)
160
- count += item.count
160
+ count += items.count
161
161
  end
162
162
  else
163
163
  puts 'skiped, not support this ORM in current.'
@@ -1,5 +1,5 @@
1
1
  class Redis
2
2
  module Search
3
- VERSION = '1.0.2'
3
+ VERSION = '1.0.3'
4
4
  end
5
5
  end
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: 1.0.2
4
+ version: 1.0.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: 2016-06-12 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-pinyin
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.5.1
99
+ rubygems_version: 2.4.8
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: High performance real-time prefix search.