elastic_searchable 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,10 +205,10 @@ module ElasticSearchable
205
205
  response = ElasticSearchable.request :put, self.class.index_mapping_path(self.id), :query => query, :json_body => self.as_json_for_index
206
206
 
207
207
  self.index_lifecycle = lifecycle ? lifecycle.to_sym : nil
208
- _run_index_callbacks
208
+ run_callbacks :index
209
209
 
210
210
  @percolations = response['matches'] || []
211
- _run_percolate_callbacks if @percolations.any?
211
+ run_callbacks :percolate if @percolations.any?
212
212
  end
213
213
 
214
214
  # document to index in elasticsearch
@@ -1,3 +1,3 @@
1
1
  module ElasticSearchable
2
- VERSION = '3.0.1'
2
+ VERSION = '3.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic_searchable
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-26 00:00:00.000000000 Z
12
+ date: 2013-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -212,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
212
  version: '0'
213
213
  segments:
214
214
  - 0
215
- hash: -2636506096074733362
215
+ hash: -2976528035925970423
216
216
  required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  none: false
218
218
  requirements:
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  version: '0'
222
222
  segments:
223
223
  - 0
224
- hash: -2636506096074733362
224
+ hash: -2976528035925970423
225
225
  requirements: []
226
226
  rubyforge_project: elastic_searchable
227
227
  rubygems_version: 1.8.24