elastic_record 0.6.1 → 0.6.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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'elastic_record'
5
- s.version = '0.6.1'
5
+ s.version = '0.6.2'
6
6
  s.summary = 'Use Elastic Search with your objects'
7
7
  s.description = 'Find your records with elastic search'
8
8
 
@@ -2,7 +2,6 @@ module ElasticRecord
2
2
  class Index
3
3
  module Percolator
4
4
  def create_percolator(name, elastic_query)
5
- p "creating #{elastic_query.inspect}"
6
5
  unless exists? percolator_index_name
7
6
  create percolator_index_name
8
7
  else
@@ -21,7 +20,6 @@ module ElasticRecord
21
20
  end
22
21
 
23
22
  def percolate(document)
24
- # p "document = #{document}"
25
23
  connection.json_get("/#{percolator_index_name}/#{type}/_percolate", 'doc' => document)['matches']
26
24
  end
27
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: