elasticsearch-api 7.10.0.pre → 7.10.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2400095c01ab8736317b44bd31cfc9019a2097c6d91e81c7c3244b330d79707
4
- data.tar.gz: d1a72b5ff6ce15cb3611877aa22fb1be7828be81fdaebd2a07f1b83789194e7c
3
+ metadata.gz: dac714c804304eb3c6adb6f684f36a12ac20e434295f9e4112e0688ab7383c07
4
+ data.tar.gz: 410db64ed13aa2944052ec1cd49f8db3e1ca72ad48b4c1c876f2972a94cd3f93
5
5
  SHA512:
6
- metadata.gz: 894d646500df0a6c42947e77d2de7f9bfa91949d206be9e870a94ab90c79fc01d7d9661d88bac47d8eaa652264f6b56d35db5c416d8fd7fc251f61f4d229c1b7
7
- data.tar.gz: 40ce7f4354b499556cbdc03ce84830ff0221c22365b6b990167ecc7c8ec9ae2da6731ac3f0edf78e6954cad2100a877750a812295407813dd3d760ee7da56f29
6
+ metadata.gz: e56ad971f9768d8ed1e75719cb006ace904b04d132d18a9eebb45678ef4f04d8b286e6326fff427170eae3b912647a43e4d98f3e5d5612e8031c574bbbd57104
7
+ data.tar.gz: c63a0490e3061f259c8222ea4724bc1c5c711fa1d1608c5c9171a15c222289ac71fa41043f377e2be53bceae9568459f234e733a436b9cc3376510dc393a86b4
File without changes
@@ -39,8 +39,8 @@ Gem::Specification.new do |s|
39
39
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
40
40
  s.require_paths = ['lib']
41
41
 
42
- s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
43
- s.rdoc_options = ['--charset=UTF-8']
42
+ s.extra_rdoc_files = [ 'README.md', 'LICENSE' ]
43
+ s.rdoc_options = [ '--charset=UTF-8' ]
44
44
 
45
45
  s.required_ruby_version = '>= 2.4'
46
46
 
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Elasticsearch
19
19
  module API
20
- VERSION = "7.10.0.pre"
20
+ VERSION = "7.10.0"
21
21
  end
22
22
  end
@@ -8,11 +8,16 @@ require 'rest_yaml_tests_helper'
8
8
  describe 'Rest API YAML tests' do
9
9
  # Traverse YAML files and create TestFile object:
10
10
  REST_API_YAML_FILES.each do |file|
11
- test_file = Elasticsearch::RestAPIYAMLTests::TestFile.new(file, REST_API_YAML_SKIP_FEATURES)
11
+ begin
12
+ test_file = Elasticsearch::RestAPIYAMLTests::TestFile.new(file, ADMIN_CLIENT, REST_API_YAML_SKIP_FEATURES)
13
+ rescue SkipTestsException => _e
14
+ # If the test file has a `skip` at the top level that applies to this
15
+ # version of Elasticsearch, continue with the next text.
16
+ next
17
+ end
12
18
 
13
19
  context "#{file.gsub("#{YAML_FILES_DIRECTORY}/", '')}" do
14
20
  test_file.tests.each do |test|
15
-
16
21
  context "#{test.description}" do
17
22
  if test.skip_test?(ADMIN_CLIENT)
18
23
  skip 'Test contains feature(s) not yet supported or version is not satisfied'
@@ -23,13 +28,13 @@ describe 'Rest API YAML tests' do
23
28
 
24
29
  # Runs once before each test in a test file
25
30
  before(:all) do
26
- Elasticsearch::RestAPIYAMLTests::TestFile.clear_data(ADMIN_CLIENT)
27
- test_file.setup(ADMIN_CLIENT)
31
+ Elasticsearch::RestAPIYAMLTests::TestFile.wipe_cluster(ADMIN_CLIENT)
32
+ test_file.setup
28
33
  end
29
34
 
30
35
  after(:all) do
31
- test_file.teardown(ADMIN_CLIENT)
32
- Elasticsearch::RestAPIYAMLTests::TestFile.clear_data(ADMIN_CLIENT)
36
+ test_file.teardown
37
+ Elasticsearch::RestAPIYAMLTests::TestFile.wipe_cluster(ADMIN_CLIENT)
33
38
  end
34
39
 
35
40
  test.task_groups.each do |task_group|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.10.0.pre
4
+ version: 7.10.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: 2020-11-04 00:00:00.000000000 Z
11
+ date: 2020-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -347,11 +347,11 @@ executables: []
347
347
  extensions: []
348
348
  extra_rdoc_files:
349
349
  - README.md
350
- - LICENSE.txt
350
+ - LICENSE
351
351
  files:
352
352
  - ".gitignore"
353
353
  - Gemfile
354
- - LICENSE.txt
354
+ - LICENSE
355
355
  - README.md
356
356
  - Rakefile
357
357
  - elasticsearch-api.gemspec
@@ -700,9 +700,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
700
700
  version: '2.4'
701
701
  required_rubygems_version: !ruby/object:Gem::Requirement
702
702
  requirements:
703
- - - ">"
703
+ - - ">="
704
704
  - !ruby/object:Gem::Version
705
- version: 1.3.1
705
+ version: '0'
706
706
  requirements: []
707
707
  rubygems_version: 3.1.2
708
708
  signing_key: