elasticgraph-elasticsearch 0.18.0.4 → 0.18.0.5

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
  SHA256:
3
- metadata.gz: 3da72e0e6013e7fe1a270925f403ae74fcda6e9876e65858f46e53b269f458d1
4
- data.tar.gz: ba2279518857a50e70addba06b89a7a8907f75686f22a0b5a6a41c5e4cdb00d6
3
+ metadata.gz: ea5fad32e03d1960a3c41453bb2d56d98a1dc2fdffc3273d207dc0617228a9de
4
+ data.tar.gz: 78801220e052c4915e797e33dbfe598056a9a69fa702be63e2ae434b1f23db69
5
5
  SHA512:
6
- metadata.gz: 5bc3d29fa43074b046b001752dfbe98140dd5be145514d8021107e77dd38f39931dc851578a3dca3b4d6d1012c8808280af6159cfc78cbf2130c64adc9555f07
7
- data.tar.gz: fe62e698ccebfb6497847d620aad5706858391cfc67ace98e1f2244cb62e1ade7f92739be3227f5305cd3c9e8471a1ba7fc2b0b321326826175f87c3b17b3d64
6
+ metadata.gz: d96b80d41f99186cfdd908f3ae50fdec0edece93ad1f20d1c0b6c90ef2bcc82e5372c15357da87037d3ddcad116597d99b578f60bf7327c2fede652f6a8611a5
7
+ data.tar.gz: 1d3126c79a589b923391681a11a98fb02376bd0df8d93f9e82e427dd75c8e9f062255fdb253bf7b6d76d3e191a7953e921233efec314292e239d024dbfdc2b0e
@@ -7,7 +7,7 @@
7
7
  # frozen_string_literal: true
8
8
 
9
9
  require "elastic_graph/constants"
10
- require "elastic_graph/error"
10
+ require "elastic_graph/errors"
11
11
  require "elastic_graph/support/faraday_middleware/msearch_using_get_instead_of_post"
12
12
  require "elastic_graph/support/faraday_middleware/support_timeouts"
13
13
  require "elasticsearch"
@@ -38,7 +38,7 @@ module ElasticGraph
38
38
 
39
39
  # Note: this overrides the default retry exceptions, which includes `Faraday::TimeoutError`.
40
40
  # That's important because we do NOT want a retry on timeout -- a timeout indicates a slow,
41
- # expensive query, and is transformed to a `RequestExceededDeadlineError` by `SupportTimeouts`,
41
+ # expensive query, and is transformed to a `Errors::RequestExceededDeadlineError` by `SupportTimeouts`,
42
42
  # anyway.
43
43
  #
44
44
  # In addition, it's worth noting that the retry middleware ONLY retries known idempotent HTTP
@@ -198,7 +198,7 @@ module ElasticGraph
198
198
  def transform_errors
199
199
  yield @raw_client
200
200
  rescue ::Elastic::Transport::Transport::Errors::BadRequest => ex
201
- raise BadDatastoreRequest, ex.message
201
+ raise Errors::BadDatastoreRequest, ex.message
202
202
  end
203
203
  end
204
204
  end
metadata CHANGED
@@ -1,14 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0.4
4
+ version: 0.18.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
+ - Ben VandenBos
9
+ - Square Engineering
8
10
  autorequire:
9
11
  bindir: exe
10
12
  cert_chain: []
11
- date: 2024-09-06 00:00:00.000000000 Z
13
+ date: 2024-09-20 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: rubocop-factory_bot
@@ -176,14 +178,14 @@ dependencies:
176
178
  requirements:
177
179
  - - '='
178
180
  - !ruby/object:Gem::Version
179
- version: 0.18.0.4
181
+ version: 0.18.0.5
180
182
  type: :runtime
181
183
  prerelease: false
182
184
  version_requirements: !ruby/object:Gem::Requirement
183
185
  requirements:
184
186
  - - '='
185
187
  - !ruby/object:Gem::Version
186
- version: 0.18.0.4
188
+ version: 0.18.0.5
187
189
  - !ruby/object:Gem::Dependency
188
190
  name: elasticsearch
189
191
  requirement: !ruby/object:Gem::Requirement