elasticsearch 7.15.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: f76ffd45f5f83c91c089fb7e627adf3f7ac79f88dee48d20e0b95938269a797e
4
- data.tar.gz: 5dacc32bac7bc899f60d90ad6a69fcbe60b8d906da2670787cadc37e108fcca6
3
+ metadata.gz: 61515e059ebd3fb869ef618dd07e2e219af9c9ce1432b483d65aac34ac2d063c
4
+ data.tar.gz: 0e8a5216fd4ceb35b3eeb2f73b6042b0b82753041373b8137ab558ba37c6296f
5
5
  SHA512:
6
- metadata.gz: 92121776b9b8b373f6ecc20ee45599b19df9d25dd58e6d7bb1f05b0d1ff0b1d79e33b379f6f5da473fab7aa52a8b179297932127c4ab8b5fa5a3471dac0262ff
7
- data.tar.gz: d464d2cc22b7c831325e386dc9e760a15d207c48f110c2fc4d6829636af03d4f19c2b1c6a0f21600eb6c1c6f347012ce317b8f2939dfdd7e9d2a09267bf4d97d
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.15.0'
49
- s.add_dependency 'elasticsearch-api', '7.15.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.15.0'.freeze
19
+ VERSION = '7.16.0'.freeze
20
20
  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.15.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-09-22 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.15.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.15.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.15.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.15.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: