elasticsearch 8.14.0 → 8.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/elasticsearch.gemspec +2 -2
- data/lib/elasticsearch/version.rb +1 -1
- data/lib/elasticsearch.rb +1 -0
- data/spec/integration/characters_escaping_spec.rb +2 -0
- data/spec/integration/client_integration_spec.rb +3 -3
- data/spec/integration/opentelemetry_spec.rb +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32cd6c6f02b68199e9e021fc628d7336525284f7111dda9dc82f1cd9600447f1
|
4
|
+
data.tar.gz: a7f3660149d1bdab70ce54402bacd81d715f470206adec898908d54e71879c9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e4e89c10b02281131710598fdc483c8e10ddb6d927b5ce311a1a44043b9dbf2bbd13e542281113a45d066a5a85522960acc2736672bb4d853151fd07ce06fa
|
7
|
+
data.tar.gz: cef1f6fb061b12efa6ca0bc60ed334d57bd17b8f2d64b86eae205743e5b51a631beb44b1391d99590336c79eff175b44b3d406baeb23dbbb4ece6b42aa94c240
|
data/elasticsearch.gemspec
CHANGED
@@ -46,8 +46,8 @@ Gem::Specification.new do |s|
|
|
46
46
|
s.required_ruby_version = '>= 2.5'
|
47
47
|
|
48
48
|
s.add_dependency 'elastic-transport', '~> 8.3'
|
49
|
-
s.add_dependency 'elasticsearch-api', '8.
|
50
|
-
|
49
|
+
s.add_dependency 'elasticsearch-api', '8.16.0'
|
50
|
+
|
51
51
|
s.add_development_dependency 'base64'
|
52
52
|
s.add_development_dependency 'bundler'
|
53
53
|
s.add_development_dependency 'debug' unless defined?(JRUBY_VERSION)
|
data/lib/elasticsearch.rb
CHANGED
@@ -14,7 +14,9 @@
|
|
14
14
|
# KIND, either express or implied. See the License for the
|
15
15
|
# specific language governing permissions and limitations
|
16
16
|
# under the License.
|
17
|
+
|
17
18
|
require 'spec_helper'
|
19
|
+
require 'uri'
|
18
20
|
|
19
21
|
ELASTICSEARCH_URL = ENV['TEST_ES_SERVER'] || "http://localhost:#{(ENV['PORT'] || 9200)}"
|
20
22
|
raise URI::InvalidURIError unless ELASTICSEARCH_URL =~ /\A#{URI::DEFAULT_PARSER.make_regexp}\z/
|
@@ -14,12 +14,12 @@
|
|
14
14
|
# KIND, either express or implied. See the License for the
|
15
15
|
# specific language governing permissions and limitations
|
16
16
|
# under the License.
|
17
|
+
ELASTICSEARCH_URL = ENV['TEST_ES_SERVER'] || "http://localhost:#{(ENV['PORT'] || 9200)}"
|
18
|
+
raise URI::InvalidURIError unless ELASTICSEARCH_URL =~ /\A#{URI::DEFAULT_PARSER.make_regexp}\z/
|
17
19
|
|
18
20
|
require 'spec_helper'
|
19
21
|
require 'logger'
|
20
|
-
|
21
|
-
ELASTICSEARCH_URL = ENV['TEST_ES_SERVER'] || "http://localhost:#{(ENV['PORT'] || 9200)}"
|
22
|
-
raise URI::InvalidURIError unless ELASTICSEARCH_URL =~ /\A#{URI::DEFAULT_PARSER.make_regexp}\z/
|
22
|
+
require 'uri'
|
23
23
|
|
24
24
|
context 'Elasticsearch client' do
|
25
25
|
let(:logger) { Logger.new($stderr) }
|
@@ -36,12 +36,12 @@ if ENV['TEST_WITH_OTEL'] == 'true'
|
|
36
36
|
end
|
37
37
|
|
38
38
|
after do
|
39
|
-
|
39
|
+
client.delete(index: 'myindex', id: 1); rescue
|
40
40
|
end
|
41
41
|
|
42
42
|
context 'when a request is instrumented' do
|
43
43
|
it 'sets the span name to the endpoint id' do
|
44
|
-
client.search(body: { query: { match: {a: 1} } })
|
44
|
+
client.search(body: { query: { match: { a: 1 } } })
|
45
45
|
expect(span.name).to eq 'search'
|
46
46
|
end
|
47
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic Client Library Maintainers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elastic-transport
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 8.
|
33
|
+
version: 8.16.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 8.
|
40
|
+
version: 8.16.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: base64
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -241,7 +241,7 @@ metadata:
|
|
241
241
|
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/main/CHANGELOG.md
|
242
242
|
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/main
|
243
243
|
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
244
|
-
post_install_message:
|
244
|
+
post_install_message:
|
245
245
|
rdoc_options:
|
246
246
|
- "--charset=UTF-8"
|
247
247
|
require_paths:
|
@@ -257,8 +257,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
257
|
- !ruby/object:Gem::Version
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
|
-
rubygems_version: 3.5.
|
261
|
-
signing_key:
|
260
|
+
rubygems_version: 3.5.20
|
261
|
+
signing_key:
|
262
262
|
specification_version: 4
|
263
263
|
summary: Ruby integrations for Elasticsearch
|
264
264
|
test_files:
|