elasticsearch 7.15.0 → 7.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/elasticsearch.gemspec +6 -6
- data/lib/elasticsearch/version.rb +1 -1
- data/spec/unit/elasticsearch_product_validation_spec.rb +3 -3
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61515e059ebd3fb869ef618dd07e2e219af9c9ce1432b483d65aac34ac2d063c
|
4
|
+
data.tar.gz: 0e8a5216fd4ceb35b3eeb2f73b6042b0b82753041373b8137ab558ba37c6296f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9897b5ba020c4bc8d27ce48456e93a0bd2b9df0de2565ffbb6621975a37e9625298b1c1b1b85ff921abd3e6bbf729b5825e9dc25aa19c36b4d9c74404e219cbb
|
7
|
+
data.tar.gz: 8b091a57468efd7d2484f786b2016acf5b4801963dfc339cbcf2398307f2e9ebb337d6b11e8251127a2fdf74bc0a80df8560a2629cf01ed7b0f23f4f44308707
|
data/elasticsearch.gemspec
CHANGED
@@ -25,12 +25,12 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.authors = ['Karel Minarik']
|
26
26
|
s.email = ['karel.minarik@elasticsearch.org']
|
27
27
|
s.summary = 'Ruby integrations for Elasticsearch'
|
28
|
-
s.homepage = 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
28
|
+
s.homepage = 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html'
|
29
29
|
s.license = 'Apache-2.0'
|
30
30
|
s.metadata = {
|
31
|
-
'homepage_uri' => 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
32
|
-
'changelog_uri' => 'https://github.com/elastic/elasticsearch-ruby/blob/7.
|
33
|
-
'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/7.
|
31
|
+
'homepage_uri' => 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html',
|
32
|
+
'changelog_uri' => 'https://github.com/elastic/elasticsearch-ruby/blob/7.16/CHANGELOG.md',
|
33
|
+
'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/7.16',
|
34
34
|
'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
|
35
35
|
}
|
36
36
|
s.files = `git ls-files`.split($/)
|
@@ -45,8 +45,8 @@ Gem::Specification.new do |s|
|
|
45
45
|
|
46
46
|
s.required_ruby_version = '>= 2.4'
|
47
47
|
|
48
|
-
s.add_dependency 'elasticsearch-transport', '7.
|
49
|
-
s.add_dependency 'elasticsearch-api', '7.
|
48
|
+
s.add_dependency 'elasticsearch-transport', '7.16.0'
|
49
|
+
s.add_dependency 'elasticsearch-api', '7.16.0'
|
50
50
|
|
51
51
|
s.add_development_dependency 'bundler'
|
52
52
|
s.add_development_dependency 'byebug' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
@@ -25,7 +25,7 @@ describe 'Elasticsearch: Validation' do
|
|
25
25
|
.to_return(status: status, body: body, headers: headers)
|
26
26
|
end
|
27
27
|
let(:count_request_stub) do
|
28
|
-
stub_request(:
|
28
|
+
stub_request(:get, "#{host}/_count")
|
29
29
|
.to_return(status: 200, body: nil, headers: {})
|
30
30
|
end
|
31
31
|
let(:status) { 200 }
|
@@ -38,7 +38,7 @@ describe 'Elasticsearch: Validation' do
|
|
38
38
|
def error_requests_and_expectations(message = Elasticsearch::NOT_ELASTICSEARCH_WARNING)
|
39
39
|
expect { client.count }.to raise_error Elasticsearch::UnsupportedProductError, message
|
40
40
|
assert_requested :get, host
|
41
|
-
assert_not_requested :
|
41
|
+
assert_not_requested :get, "#{host}/_count"
|
42
42
|
expect { client.cluster.health }.to raise_error Elasticsearch::UnsupportedProductError, message
|
43
43
|
expect(client.instance_variable_get('@verified')).to be false
|
44
44
|
expect { client.cluster.health }.to raise_error Elasticsearch::UnsupportedProductError, message
|
@@ -51,7 +51,7 @@ describe 'Elasticsearch: Validation' do
|
|
51
51
|
client.count
|
52
52
|
expect(client.instance_variable_get('@verified'))
|
53
53
|
assert_requested :get, host
|
54
|
-
assert_requested :
|
54
|
+
assert_requested :get, "#{host}/_count"
|
55
55
|
end
|
56
56
|
|
57
57
|
context 'When Elasticsearch replies with status 401' do
|
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: 7.
|
4
|
+
version: 7.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elasticsearch-transport
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.
|
19
|
+
version: 7.16.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.
|
26
|
+
version: 7.16.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: elasticsearch-api
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 7.
|
33
|
+
version: 7.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: 7.
|
40
|
+
version: 7.16.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,13 +205,13 @@ files:
|
|
205
205
|
- spec/spec_helper.rb
|
206
206
|
- spec/unit/elasticsearch_product_validation_spec.rb
|
207
207
|
- spec/unit/wrapper_gem_spec.rb
|
208
|
-
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
208
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html
|
209
209
|
licenses:
|
210
210
|
- Apache-2.0
|
211
211
|
metadata:
|
212
|
-
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
213
|
-
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.
|
214
|
-
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.
|
212
|
+
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html
|
213
|
+
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.16/CHANGELOG.md
|
214
|
+
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.16
|
215
215
|
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
216
216
|
post_install_message:
|
217
217
|
rdoc_options:
|