elasticgraph-opensearch 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 +4 -4
- data/elasticgraph-opensearch.gemspec +1 -1
- data/lib/elastic_graph/opensearch/client.rb +3 -3
- metadata +22 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e5c7fbf8409e358ce77257da606f36a2ca0ceeac9afe15815c4bd83436540d4
|
4
|
+
data.tar.gz: 13ed7e7f80e20e015e7e5c9645e8c2794097ff2f0f0dd65c9fecc526d9bdd063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8838dc08d6e711423573368e08c5927b3e610e32827e185ece35bdb0ec8662a421d8ed53a2681c67b9ab420faa1faa54212e613799e3dffb5e05e185cd53f19f
|
7
|
+
data.tar.gz: 2bc548873fc0d1fdc3107b4f3fe51a075c6251b4405c9b04151e251a26f76ea16a14121490ba685c6a836547d2d7cf336c7a889998015b5c1e84a38e84f85bb9
|
@@ -12,7 +12,7 @@ ElasticGraphGemspecHelper.define_elasticgraph_gem(gemspec_file: __FILE__, catego
|
|
12
12
|
spec.summary = "Wraps the OpenSearch client for use by ElasticGraph."
|
13
13
|
|
14
14
|
spec.add_dependency "elasticgraph-support", eg_version
|
15
|
-
spec.add_dependency "faraday", "~> 2.
|
15
|
+
spec.add_dependency "faraday", "~> 2.12"
|
16
16
|
spec.add_dependency "faraday-retry", "~> 2.2"
|
17
17
|
spec.add_dependency "opensearch-ruby", "~> 3.4"
|
18
18
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# frozen_string_literal: true
|
8
8
|
|
9
9
|
require "elastic_graph/constants"
|
10
|
-
require "elastic_graph/
|
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 "elastic_graph/support/hash_util"
|
@@ -40,7 +40,7 @@ module ElasticGraph
|
|
40
40
|
|
41
41
|
# Note: this overrides the default retry exceptions, which includes `Faraday::TimeoutError`.
|
42
42
|
# That's important because we do NOT want a retry on timeout -- a timeout indicates a slow,
|
43
|
-
# expensive query, and is transformed to a `RequestExceededDeadlineError` by `SupportTimeouts`,
|
43
|
+
# expensive query, and is transformed to a `Errors::RequestExceededDeadlineError` by `SupportTimeouts`,
|
44
44
|
# anyway.
|
45
45
|
#
|
46
46
|
# In addition, it's worth noting that the retry middleware ONLY retries known idempotent HTTP
|
@@ -213,7 +213,7 @@ module ElasticGraph
|
|
213
213
|
def transform_errors
|
214
214
|
yield @raw_client
|
215
215
|
rescue ::OpenSearch::Transport::Transport::Errors::BadRequest => ex
|
216
|
-
raise BadDatastoreRequest, ex.message
|
216
|
+
raise Errors::BadDatastoreRequest, ex.message
|
217
217
|
end
|
218
218
|
end
|
219
219
|
end
|
metadata
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticgraph-opensearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
146
|
+
version: '0.13'
|
145
147
|
- !ruby/object:Gem::Dependency
|
146
148
|
name: simplecov
|
147
149
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,28 +178,28 @@ dependencies:
|
|
176
178
|
requirements:
|
177
179
|
- - '='
|
178
180
|
- !ruby/object:Gem::Version
|
179
|
-
version: 0.
|
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.
|
188
|
+
version: 0.19.0.0.rc1
|
187
189
|
- !ruby/object:Gem::Dependency
|
188
190
|
name: faraday
|
189
191
|
requirement: !ruby/object:Gem::Requirement
|
190
192
|
requirements:
|
191
193
|
- - "~>"
|
192
194
|
- !ruby/object:Gem::Version
|
193
|
-
version: '2.
|
195
|
+
version: '2.12'
|
194
196
|
type: :runtime
|
195
197
|
prerelease: false
|
196
198
|
version_requirements: !ruby/object:Gem::Requirement
|
197
199
|
requirements:
|
198
200
|
- - "~>"
|
199
201
|
- !ruby/object:Gem::Version
|
200
|
-
version: '2.
|
202
|
+
version: '2.12'
|
201
203
|
- !ruby/object:Gem::Dependency
|
202
204
|
name: faraday-retry
|
203
205
|
requirement: !ruby/object:Gem::Requirement
|
@@ -251,10 +253,15 @@ files:
|
|
251
253
|
- README.md
|
252
254
|
- elasticgraph-opensearch.gemspec
|
253
255
|
- lib/elastic_graph/opensearch/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-opensearch
|
258
265
|
gem_category: datastore_adapter
|
259
266
|
post_install_message:
|
260
267
|
rdoc_options: []
|