elasticsearch 7.5.0 → 7.8.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +16 -3
- data/Rakefile +16 -3
- data/elasticsearch.gemspec +51 -48
- data/lib/elasticsearch-ruby.rb +16 -3
- data/lib/elasticsearch.rb +16 -3
- data/lib/elasticsearch/version.rb +17 -4
- data/test/integration/client_integration_test.rb +16 -3
- data/test/test_helper.rb +16 -3
- data/test/unit/wrapper_gem_test.rb +16 -3
- metadata +16 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dcc7bc1c9eaa71e04c6cffc5c341f55bba88e369528fc0f231673e2290b325b
|
4
|
+
data.tar.gz: 7cc4e9ab6fb0ab7f487f3200929db4b4141e45854bd35b07714f7de9d97a7cf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81884ea8eb2492abcd81349b7621f06a632ec55edad0fef9fb4165b2b7be810e17c1c85ad2dfed991e94898027e44dd85d9d979e5327e907c08a7858e0bf6967
|
7
|
+
data.tar.gz: 42c1b9f8d7171ac6b78d283568f5e603349f4755230f0dff6bff1175e3c40f334049cc2c2f71c1f67e35fa4ec011814f498df8a855497b220af198f8410a3316
|
data/Gemfile
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
source 'https://rubygems.org'
|
6
19
|
|
data/Rakefile
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
require "bundler/gem_tasks"
|
6
19
|
|
data/elasticsearch.gemspec
CHANGED
@@ -1,72 +1,75 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
lib = File.expand_path('../lib', __FILE__)
|
6
19
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
7
20
|
require 'elasticsearch/version'
|
8
21
|
|
9
22
|
Gem::Specification.new do |s|
|
10
|
-
s.name =
|
23
|
+
s.name = 'elasticsearch'
|
11
24
|
s.version = Elasticsearch::VERSION
|
12
|
-
s.authors = [
|
13
|
-
s.email = [
|
14
|
-
s.summary =
|
15
|
-
s.homepage =
|
16
|
-
s.license =
|
17
|
-
|
25
|
+
s.authors = ['Karel Minarik']
|
26
|
+
s.email = ['karel.minarik@elasticsearch.org']
|
27
|
+
s.summary = 'Ruby integrations for Elasticsearch'
|
28
|
+
s.homepage = 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html'
|
29
|
+
s.license = 'Apache-2.0'
|
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',
|
34
|
+
'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
|
35
|
+
}
|
18
36
|
s.files = `git ls-files`.split($/)
|
19
37
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
38
|
s.executables << 'elastic_ruby_console'
|
21
39
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
22
|
-
s.require_paths = [
|
23
|
-
s.bindir =
|
40
|
+
s.require_paths = ['lib']
|
41
|
+
s.bindir = 'bin'
|
24
42
|
|
25
|
-
s.extra_rdoc_files = [
|
26
|
-
s.rdoc_options = [
|
43
|
+
s.extra_rdoc_files = [ 'README.md', 'LICENSE' ]
|
44
|
+
s.rdoc_options = [ '--charset=UTF-8' ]
|
27
45
|
|
28
|
-
s.required_ruby_version = '>=
|
46
|
+
s.required_ruby_version = '>= 2.4'
|
29
47
|
|
30
|
-
s.add_dependency
|
31
|
-
s.add_dependency
|
48
|
+
s.add_dependency 'elasticsearch-transport', '7.8.0.pre'
|
49
|
+
s.add_dependency 'elasticsearch-api', '7.8.0.pre'
|
32
50
|
|
33
|
-
s.add_development_dependency
|
51
|
+
s.add_development_dependency 'bundler'
|
34
52
|
|
35
|
-
|
36
|
-
s.add_development_dependency "rake", "~> 11.1"
|
37
|
-
else
|
38
|
-
s.add_development_dependency "rake", "< 11.0"
|
39
|
-
end
|
53
|
+
s.add_development_dependency 'rake', '~> 11.1'
|
40
54
|
|
41
|
-
|
42
|
-
s.add_development_dependency "elasticsearch-extensions"
|
43
|
-
end
|
55
|
+
s.add_development_dependency 'elasticsearch-extensions'
|
44
56
|
|
45
|
-
s.add_development_dependency
|
46
|
-
s.add_development_dependency
|
47
|
-
s.add_development_dependency
|
48
|
-
s.add_development_dependency
|
49
|
-
s.add_development_dependency
|
57
|
+
s.add_development_dependency 'ansi'
|
58
|
+
s.add_development_dependency 'shoulda-context'
|
59
|
+
s.add_development_dependency 'mocha'
|
60
|
+
s.add_development_dependency 'yard'
|
61
|
+
s.add_development_dependency 'pry'
|
50
62
|
|
51
|
-
# Prevent unit test failures on Ruby 1.8
|
52
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
53
|
-
s.add_development_dependency "test-unit", '~> 2'
|
54
|
-
s.add_development_dependency "json", '~> 1.8'
|
55
|
-
end
|
56
63
|
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
s.add_development_dependency "cane"
|
65
|
-
end
|
64
|
+
s.add_development_dependency 'minitest'
|
65
|
+
s.add_development_dependency 'minitest-reporters'
|
66
|
+
s.add_development_dependency 'ruby-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
67
|
+
s.add_development_dependency 'require-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
68
|
+
s.add_development_dependency 'simplecov', '~> 0.17', '< 0.18'
|
69
|
+
s.add_development_dependency 'simplecov-rcov'
|
70
|
+
s.add_development_dependency 'cane'
|
66
71
|
|
67
|
-
|
68
|
-
s.add_development_dependency "test-unit", '~> 2'
|
69
|
-
end
|
72
|
+
s.add_development_dependency 'test-unit', '~> 2'
|
70
73
|
|
71
74
|
s.description = <<-DESC.gsub(/^ /, '')
|
72
75
|
Ruby integrations for Elasticsearch (client, API, etc.)
|
data/lib/elasticsearch-ruby.rb
CHANGED
@@ -1,5 +1,18 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
require 'elasticsearch'
|
data/lib/elasticsearch.rb
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
require "elasticsearch/version"
|
6
19
|
|
@@ -1,7 +1,20 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
module Elasticsearch
|
6
|
-
VERSION = "7.
|
19
|
+
VERSION = "7.8.0.pre"
|
7
20
|
end
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
require 'test_helper'
|
6
19
|
require 'logger'
|
data/test/test_helper.rb
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
ELASTICSEARCH_HOSTS = if hosts = ENV['TEST_ES_SERVER'] || ENV['ELASTICSEARCH_HOSTS']
|
6
19
|
hosts.split(',').map do |host|
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
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.
|
4
17
|
|
5
18
|
require 'test_helper'
|
6
19
|
|
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.
|
4
|
+
version: 7.8.0.pre
|
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
|
+
date: 2020-05-29 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.
|
19
|
+
version: 7.8.0.pre
|
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.
|
26
|
+
version: 7.8.0.pre
|
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.
|
33
|
+
version: 7.8.0.pre
|
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.
|
40
|
+
version: 7.8.0.pre
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -293,10 +293,14 @@ files:
|
|
293
293
|
- test/integration/client_integration_test.rb
|
294
294
|
- test/test_helper.rb
|
295
295
|
- test/unit/wrapper_gem_test.rb
|
296
|
-
homepage:
|
296
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html
|
297
297
|
licenses:
|
298
298
|
- Apache-2.0
|
299
|
-
metadata:
|
299
|
+
metadata:
|
300
|
+
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html
|
301
|
+
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.x/CHANGELOG.md
|
302
|
+
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.x
|
303
|
+
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
300
304
|
post_install_message:
|
301
305
|
rdoc_options:
|
302
306
|
- "--charset=UTF-8"
|
@@ -306,14 +310,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
306
310
|
requirements:
|
307
311
|
- - ">="
|
308
312
|
- !ruby/object:Gem::Version
|
309
|
-
version: '
|
313
|
+
version: '2.4'
|
310
314
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
311
315
|
requirements:
|
312
|
-
- - "
|
316
|
+
- - ">"
|
313
317
|
- !ruby/object:Gem::Version
|
314
|
-
version:
|
318
|
+
version: 1.3.1
|
315
319
|
requirements: []
|
316
|
-
rubygems_version: 3.
|
320
|
+
rubygems_version: 3.1.2
|
317
321
|
signing_key:
|
318
322
|
specification_version: 4
|
319
323
|
summary: Ruby integrations for Elasticsearch
|