elasticgraph-elasticsearch 0.18.0.4 → 0.19.0.0.rc1

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: e2b8cfca107e9e8dd320d99036f1ad7a24a0f58d187643d5893a9868a27cb7da
4
+ data.tar.gz: 4f546a01668597ed7c21792cc3d3868ada188bc2bb2a03def83dedbfb0334210
5
5
  SHA512:
6
- metadata.gz: 5bc3d29fa43074b046b001752dfbe98140dd5be145514d8021107e77dd38f39931dc851578a3dca3b4d6d1012c8808280af6159cfc78cbf2130c64adc9555f07
7
- data.tar.gz: fe62e698ccebfb6497847d620aad5706858391cfc67ace98e1f2244cb62e1ade7f92739be3227f5305cd3c9e8471a1ba7fc2b0b321326826175f87c3b17b3d64
6
+ metadata.gz: 12e7be59191a8f05b59029adc0db35341e760f42468997152e5ad7952755523b5cfb12ba90e87ca26d50e830820a6e3bc1cc14e2211831c30e835b00f0ff5cb8
7
+ data.tar.gz: 744a03f7f2142bfcfda25f3883d391a8888e50cb65ecca0a063d6d382093f7b81b1b7063297a1fd01c93a89b5783e64fae1ebee4f866dbcf7febe689f9879fa7
@@ -13,7 +13,7 @@ ElasticGraphGemspecHelper.define_elasticgraph_gem(gemspec_file: __FILE__, catego
13
13
 
14
14
  spec.add_dependency "elasticgraph-support", eg_version
15
15
  spec.add_dependency "elasticsearch", "~> 8.15"
16
- spec.add_dependency "faraday", "~> 2.11"
16
+ spec.add_dependency "faraday", "~> 2.12"
17
17
  spec.add_dependency "faraday-retry", "~> 2.2"
18
18
 
19
19
  spec.add_development_dependency "httpx", "~> 1.3"
@@ -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.19.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
+ - Ben VandenBos
9
+ - Block 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-12-03 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: rubocop-factory_bot
@@ -44,42 +46,42 @@ dependencies:
44
46
  requirements:
45
47
  - - "~>"
46
48
  - !ruby/object:Gem::Version
47
- version: '3.0'
49
+ version: '3.1'
48
50
  type: :development
49
51
  prerelease: false
50
52
  version_requirements: !ruby/object:Gem::Requirement
51
53
  requirements:
52
54
  - - "~>"
53
55
  - !ruby/object:Gem::Version
54
- version: '3.0'
56
+ version: '3.1'
55
57
  - !ruby/object:Gem::Dependency
56
58
  name: standard
57
59
  requirement: !ruby/object:Gem::Requirement
58
60
  requirements:
59
61
  - - "~>"
60
62
  - !ruby/object:Gem::Version
61
- version: 1.40.0
63
+ version: 1.41.0
62
64
  type: :development
63
65
  prerelease: false
64
66
  version_requirements: !ruby/object:Gem::Requirement
65
67
  requirements:
66
68
  - - "~>"
67
69
  - !ruby/object:Gem::Version
68
- version: 1.40.0
70
+ version: 1.41.0
69
71
  - !ruby/object:Gem::Dependency
70
72
  name: steep
71
73
  requirement: !ruby/object:Gem::Requirement
72
74
  requirements:
73
75
  - - "~>"
74
76
  - !ruby/object:Gem::Version
75
- version: '1.7'
77
+ version: '1.8'
76
78
  type: :development
77
79
  prerelease: false
78
80
  version_requirements: !ruby/object:Gem::Requirement
79
81
  requirements:
80
82
  - - "~>"
81
83
  - !ruby/object:Gem::Version
82
- version: '1.7'
84
+ version: '1.8'
83
85
  - !ruby/object:Gem::Dependency
84
86
  name: coderay
85
87
  requirement: !ruby/object:Gem::Requirement
@@ -134,14 +136,14 @@ dependencies:
134
136
  requirements:
135
137
  - - "~>"
136
138
  - !ruby/object:Gem::Version
137
- version: '0.12'
139
+ version: '0.13'
138
140
  type: :development
139
141
  prerelease: false
140
142
  version_requirements: !ruby/object:Gem::Requirement
141
143
  requirements:
142
144
  - - "~>"
143
145
  - !ruby/object:Gem::Version
144
- version: '0.12'
146
+ version: '0.13'
145
147
  - !ruby/object:Gem::Dependency
146
148
  name: simplecov
147
149
  requirement: !ruby/object:Gem::Requirement
@@ -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.19.0.0.rc1
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.19.0.0.rc1
187
189
  - !ruby/object:Gem::Dependency
188
190
  name: elasticsearch
189
191
  requirement: !ruby/object:Gem::Requirement
@@ -204,14 +206,14 @@ dependencies:
204
206
  requirements:
205
207
  - - "~>"
206
208
  - !ruby/object:Gem::Version
207
- version: '2.11'
209
+ version: '2.12'
208
210
  type: :runtime
209
211
  prerelease: false
210
212
  version_requirements: !ruby/object:Gem::Requirement
211
213
  requirements:
212
214
  - - "~>"
213
215
  - !ruby/object:Gem::Version
214
- version: '2.11'
216
+ version: '2.12'
215
217
  - !ruby/object:Gem::Dependency
216
218
  name: faraday-retry
217
219
  requirement: !ruby/object:Gem::Requirement
@@ -251,10 +253,15 @@ files:
251
253
  - README.md
252
254
  - elasticgraph-elasticsearch.gemspec
253
255
  - lib/elastic_graph/elasticsearch/client.rb
254
- homepage:
256
+ homepage: https://block.github.io/elasticgraph/
255
257
  licenses:
256
258
  - MIT
257
259
  metadata:
260
+ bug_tracker_uri: https://github.com/block/elasticgraph/issues
261
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.0.0.rc1
262
+ documentation_uri: https://block.github.io/elasticgraph/docs/main/
263
+ homepage_uri: https://block.github.io/elasticgraph/
264
+ source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.0.0.rc1/elasticgraph-elasticsearch
258
265
  gem_category: datastore_adapter
259
266
  post_install_message:
260
267
  rdoc_options: []