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 +4 -4
- data/{LICENSE.txt → LICENSE} +0 -0
- data/elasticsearch-api.gemspec +2 -2
- data/lib/elasticsearch/api/version.rb +1 -1
- data/spec/elasticsearch/api/rest_api_yaml_spec.rb +11 -6
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dac714c804304eb3c6adb6f684f36a12ac20e434295f9e4112e0688ab7383c07
|
4
|
+
data.tar.gz: 410db64ed13aa2944052ec1cd49f8db3e1ca72ad48b4c1c876f2972a94cd3f93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e56ad971f9768d8ed1e75719cb006ace904b04d132d18a9eebb45678ef4f04d8b286e6326fff427170eae3b912647a43e4d98f3e5d5612e8031c574bbbd57104
|
7
|
+
data.tar.gz: c63a0490e3061f259c8222ea4724bc1c5c711fa1d1608c5c9171a15c222289ac71fa41043f377e2be53bceae9568459f234e733a436b9cc3376510dc393a86b4
|
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
data/elasticsearch-api.gemspec
CHANGED
@@ -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
|
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
|
|
@@ -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
|
-
|
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.
|
27
|
-
test_file.setup
|
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
|
32
|
-
Elasticsearch::RestAPIYAMLTests::TestFile.
|
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
|
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-
|
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
|
350
|
+
- LICENSE
|
351
351
|
files:
|
352
352
|
- ".gitignore"
|
353
353
|
- Gemfile
|
354
|
-
- LICENSE
|
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:
|
705
|
+
version: '0'
|
706
706
|
requirements: []
|
707
707
|
rubygems_version: 3.1.2
|
708
708
|
signing_key:
|