es-elasticity 0.7.0 → 0.7.1

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: 475db9ebbb3bc139cc781106af4b0b772d3e079d
4
- data.tar.gz: 32f41d6db179f34e13667ec08965ec399718d03c
3
+ metadata.gz: 04e7ce66153cf480adc1bf812e4008990cfbe42e
4
+ data.tar.gz: 2921aadea55a478b5828fe5c951e69f2d40f92da
5
5
  SHA512:
6
- metadata.gz: 3dc5e7dd4c5f32cf03352f5066f7c5f0e7c19b42a147ac2adc95c48cb310f565d574df2d64570e667f6316a8e190c85b66db0e9dbd40f54ebfe12db78ce45ead
7
- data.tar.gz: 75005b8509ee2c720ff92ce9baae739dc6aa66595ac40aac156da7011c2fcf9adc7093aae991a9808b775493c2837de8a9e962391142f80ada921088723eedbc
6
+ metadata.gz: 96f0fec58b65a740c6fcde60eeddbd304312bee52a37fdac467ce41f738226d0554d18ff11433b54ccaedd004626baaddd84fbbc69a8cfaa54b0b03fe7d79dca
7
+ data.tar.gz: d85e97773d2ebb371de50e484cbe7f13cde68da36e15e76ceceb89aa4c0dbfb33c6a576b9de161e792a20693e751a42ac8f58e5d1be1bc9b21b6cbdef471d1b7
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.7.1
2
+ - add more response info to raised exceptions from reindexing
1
3
  v0.6.5
2
4
  - update search and multi search interfaces to allow passing of general
3
5
  search definition arguments found in https://github.com/elastic/elasticsearch-ruby/blob/bdf5e145e5acc21726dddcd34492debbbddde568/elasticsearch-api/lib/elasticsearch/api/actions/search.rb#L125-L162
@@ -197,7 +197,7 @@ module Elasticity
197
197
  if id = res["_id"]
198
198
  [id, res["created"]]
199
199
  else
200
- raise IndexError.new(@update_alias, "failed to index document")
200
+ raise IndexError.new(@update_alias, "failed to index document. Response: #{res.inspect}")
201
201
  end
202
202
  end
203
203
 
@@ -52,7 +52,7 @@ module Elasticity
52
52
  if id = res["_id"]
53
53
  [id, res["created"]]
54
54
  else
55
- raise IndexError.new(@update_alias, "failed to index document")
55
+ raise IndexError.new(@update_alias, "failed to index document. Response: #{res.inspect}")
56
56
  end
57
57
  end
58
58
 
@@ -1,3 +1,3 @@
1
1
  module Elasticity
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: es-elasticity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Kochenburger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-05 00:00:00.000000000 Z
11
+ date: 2017-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 2.4.5.1
245
+ rubygems_version: 2.4.5
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: ActiveModel-based library for working with Elasticsearch
@@ -255,4 +255,3 @@ test_files:
255
255
  - spec/units/multi_search_spec.rb
256
256
  - spec/units/search_spec.rb
257
257
  - spec/units/strategies/single_index_spec.rb
258
- has_rdoc: