elasticsearch 7.14.0 → 7.16.0

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: 716743889b9b5e25022814cceb17d97ac242891c91ca86f8de4dd77003ee8e13
4
- data.tar.gz: e11579ee6907a87f131b689979e6c35df9079177bbf7df0419370c2294f8d86b
3
+ metadata.gz: 61515e059ebd3fb869ef618dd07e2e219af9c9ce1432b483d65aac34ac2d063c
4
+ data.tar.gz: 0e8a5216fd4ceb35b3eeb2f73b6042b0b82753041373b8137ab558ba37c6296f
5
5
  SHA512:
6
- metadata.gz: 53f6244770f02a67315852e6d67cab6f13f6b7ce72ea8c60a93caf2a4ddc47eeb4764ca2fd65cc74413cb4f90f0f1f1792697f874dd0bffa754c9bd1c8fa1cb6
7
- data.tar.gz: daac32d9daac91a0353bbe73ccdbdee5fdb47a39b41f63c4b2fbd50fa532ee1f5771b371053c417e968f98a6e44bbb55da79f09dd1e4f6ad63d5f9b7145b46fc
6
+ metadata.gz: 9897b5ba020c4bc8d27ce48456e93a0bd2b9df0de2565ffbb6621975a37e9625298b1c1b1b85ff921abd3e6bbf729b5825e9dc25aa19c36b4d9c74404e219cbb
7
+ data.tar.gz: 8b091a57468efd7d2484f786b2016acf5b4801963dfc339cbcf2398307f2e9ebb337d6b11e8251127a2fdf74bc0a80df8560a2629cf01ed7b0f23f4f44308707
@@ -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.x/index.html'
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.x/index.html',
32
- 'changelog_uri' => 'https://github.com/elastic/elasticsearch-ruby/blob/7.x/CHANGELOG.md',
33
- 'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/7.x',
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.14.0'
49
- s.add_dependency 'elasticsearch-api', '7.14.0'
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)
@@ -16,5 +16,5 @@
16
16
  # under the License.
17
17
 
18
18
  module Elasticsearch
19
- VERSION = '7.14.0'.freeze
19
+ VERSION = '7.16.0'.freeze
20
20
  end
@@ -51,7 +51,7 @@ context 'Elasticsearch client' do
51
51
  context 'Reports the right meta header' do
52
52
  it 'Reports es service name and gem version' do
53
53
  headers = client.transport.transport.connections.first.connection.headers
54
- expect(headers['x-elastic-client-meta']).to match /^es=#{Elasticsearch::VERSION}/
54
+ expect(headers['x-elastic-client-meta']).to match Elastic.client_meta_version
55
55
  end
56
56
  end
57
57
  end
@@ -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(:post, "#{host}/_count")
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 :post, "#{host}/_count"
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 :post, "#{host}/_count"
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.14.0
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-08-04 00:00:00.000000000 Z
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.14.0
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.14.0
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.14.0
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.14.0
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.x/index.html
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.x/index.html
213
- changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.x/CHANGELOG.md
214
- source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.x
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:
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.2.15
232
+ rubygems_version: 3.2.22
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Ruby integrations for Elasticsearch