elasticsearch-test-runner 0.12.0 → 0.13.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: aa516016a59871aaa1b443d42c4889d3e5b02ae157562c6086c13fbadb0d492d
4
- data.tar.gz: 802d0d4f3806bdf979ec8e5c7a8fe90a5951622920ed917e4efe83a33d6a6b56
3
+ metadata.gz: f62490fd713d82f5dd9206746d3a3dbfaf57cb0ffccd61ca5efadbdf3fb4dd8e
4
+ data.tar.gz: e3ee9ccb983f74da0e1c55c49997812d332f49760c6af1d8ae33de3078aa8c78
5
5
  SHA512:
6
- metadata.gz: 1614a894297a381fbb1e45a254d61b31ba42dd7a8fef54179d78866c336196b35445e5b737253b7efb226f98d1015853409c9550cd65ec966605c5ee6e980a6b
7
- data.tar.gz: e28f157416ab9baac80b33b4c9584da23d333dcecbfef64191e76437b44d9ea3615be13b4006746c9fca8fa64f645ddcfaa8eb9e82b2c0736f17e0557a5fe3a3
6
+ metadata.gz: 41ff67a4bf679214a2361e92a89873a68d972954b31d0abbafd982b34bf8b6f332ab37dec027960014cdf541c4462c42fa98095e9f22b85d9237eb10e3a72ac7
7
+ data.tar.gz: 96dabaf5ea2445708b3cd834e6e9fa81e5a17b9df2e3c7d51e6da8594da6be4029e9ef9d8dd0200dd4297bb857df23ce2ac1d65c99533bf3a9218ae54aa43ea6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.0] - 2025-06-05
4
+
5
+ - Moves download tests file to Rakefile (namespace is unchanged).
6
+ - Updates Elasticsearch Clients Tests repo URL.
7
+
3
8
  ## [0.12.0] - 2025-01-14
4
9
 
5
10
  - Check TEST_SUITE variable for `serverless`.
data/Rakefile CHANGED
@@ -16,5 +16,13 @@
16
16
  # under the License.
17
17
 
18
18
  require 'bundler/gem_tasks'
19
+ require 'elasticsearch/tests/downloader'
19
20
  task default: %i[]
20
- Dir.glob('lib/elasticsearch/tasks/**/*.rake').each { |f| import f }
21
+
22
+ namespace :es_tests do
23
+ desc 'Download YAML test files'
24
+ task :download do |_, args|
25
+ tests_path = args[:path] || File.expand_path('./tmp', __dir__)
26
+ Elasticsearch::Tests::Downloader::run(tests_path)
27
+ end
28
+ end
@@ -24,9 +24,9 @@ module Elasticsearch
24
24
  class << self
25
25
  FILENAME = 'tests.tar.gz'.freeze
26
26
 
27
- def run(path, branch = 'main')
28
- delete_files(path)
29
- url = "https://api.github.com/repos/elastic/serverless-clients-tests/tarball/#{branch}"
27
+ def run(path, branch = 'main', delete: false)
28
+ delete_files(path) if delete
29
+ url = "https://api.github.com/repos/elastic/elasticsearch-clients-tests/tarball/#{branch}"
30
30
  if download_tests(url)
31
31
  puts "Successfully downloaded #{FILENAME}"
32
32
  else
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Elasticsearch
21
21
  module Tests
22
- VERSION = '0.12.0'
22
+ VERSION = '0.13.0'
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch-test-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic Client Library Maintainers
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-01-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: elasticsearch
@@ -52,7 +52,6 @@ files:
52
52
  - NOTICE
53
53
  - README.md
54
54
  - Rakefile
55
- - lib/elasticsearch/tasks/download_test_suite.rake
56
55
  - lib/elasticsearch/tests.rb
57
56
  - lib/elasticsearch/tests/code_runner.rb
58
57
  - lib/elasticsearch/tests/downloader.rb
@@ -82,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
81
  - !ruby/object:Gem::Version
83
82
  version: '0'
84
83
  requirements: []
85
- rubygems_version: 3.6.2
84
+ rubygems_version: 3.6.9
86
85
  specification_version: 4
87
86
  summary: Tool to test Elasticsearch clients against the YAML clients test suite.
88
87
  test_files: []
@@ -1,25 +0,0 @@
1
- # Licensed to Elasticsearch B.V. under one or more contributor
2
- # license agreements. See the NOTICE file distributed with
3
- # this work for additional information regarding copyright
4
- # ownership. Elasticsearch B.V. licenses this file to you under
5
- # the Apache License, Version 2.0 (the "License"); you may
6
- # not use this file except in compliance with the License.
7
- # You may obtain a copy of the License at
8
- #
9
- # http://www.apache.org/licenses/LICENSE-2.0
10
- #
11
- # Unless required by applicable law or agreed to in writing,
12
- # software distributed under the License is distributed on an
13
- # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
- # KIND, either express or implied. See the License for the
15
- # specific language governing permissions and limitations
16
- # under the License.
17
- require 'elasticsearch/tests/downloader'
18
-
19
- namespace :es_tests do
20
- desc 'Download YAML test files'
21
- task :download do |_, args|
22
- tests_path = args[:path] || File.expand_path('../../tmp', __dir__)
23
- Elasticsearch::Tests::Downloader::run(tests_path)
24
- end
25
- end