elasticsearch 5.0.5 → 6.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +3 -2
- data/Rakefile +10 -16
- data/elasticsearch.gemspec +37 -53
- data/lib/elasticsearch/version.rb +5 -1
- data/lib/elasticsearch-ruby.rb +4 -0
- data/lib/elasticsearch.rb +17 -0
- data/test/integration/client_integration_test.rb +10 -3
- data/test/test_helper.rb +13 -0
- data/test/unit/wrapper_gem_test.rb +4 -0
- metadata +67 -72
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b60d190c579bec3f57158afae9b4655f37194b8839609b1aab07afbbec4a130a
|
4
|
+
data.tar.gz: e8bf615bd8000d13198a35a04d90cf040464f23e390152f6e58d4a32e8160c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 769b91c8f319b83c46bd6230b0291ab7a23728d666b9d4633350848fc79575cf08c041bc58001a4e420ab7e9a5e4fbf735e17b103123de20f12353ad683ad5fd
|
7
|
+
data.tar.gz: 7c949b714b6c0b16315b7bf04dd71eb68b0745ae59982c3eeae240f459b259f4bfdd3f21670fe18fe9dd73255cca2b5c00f1bed87a0360ffcd2f7b51089b5b03
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ The `elasticsearch` library provides a Ruby client and API for [Elasticsearch](h
|
|
5
5
|
Features overview:
|
6
6
|
|
7
7
|
* Pluggable logging and tracing
|
8
|
-
*
|
8
|
+
* Pluggable connection selection strategies (round-robin, random, custom)
|
9
9
|
* Pluggable transport implementation, customizable and extendable
|
10
10
|
* Pluggable serializer implementation
|
11
11
|
* Request retries and dead connections handling
|
@@ -19,7 +19,7 @@ see the <https://github.com/elasticsearch/elasticsearch-rails> project.)
|
|
19
19
|
|
20
20
|
## Compatibility
|
21
21
|
|
22
|
-
The Elasticsearch client for Ruby is compatible with Ruby 1.
|
22
|
+
The Elasticsearch client for Ruby is compatible with Ruby 1.9 and higher.
|
23
23
|
|
24
24
|
The client's API is compatible with Elasticsearch's API versions from 0.90 till current,
|
25
25
|
just use a release matching major version of Elasticsearch.
|
@@ -30,6 +30,7 @@ just use a release matching major version of Elasticsearch.
|
|
30
30
|
| 1.x | → | 1.x |
|
31
31
|
| 2.x | → | 2.x |
|
32
32
|
| 5.x | → | 5.x |
|
33
|
+
| 6.x | → | 6.x |
|
33
34
|
| master | → | master |
|
34
35
|
|
35
36
|
## Installation
|
data/Rakefile
CHANGED
@@ -7,35 +7,29 @@ task :test => 'test:unit'
|
|
7
7
|
|
8
8
|
require 'rake/testtask'
|
9
9
|
namespace :test do
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
Rake::Task['ci:setup:testunit'].invoke
|
15
|
-
else
|
16
|
-
require 'ci/reporter/rake/minitest'
|
17
|
-
Rake::Task['ci:setup:minitest'].invoke
|
18
|
-
end
|
10
|
+
|
11
|
+
desc "Wait for Elasticsearch to be in a green state"
|
12
|
+
task :wait_for_green do
|
13
|
+
sh '../scripts/wait-cluster.sh'
|
19
14
|
end
|
20
15
|
|
21
16
|
Rake::TestTask.new(:unit) do |test|
|
22
|
-
Rake::Task['test:ci_reporter'].invoke if ENV['CI']
|
23
17
|
test.libs << 'lib' << 'test'
|
24
18
|
test.test_files = FileList["test/unit/**/*_test.rb"]
|
25
|
-
|
26
|
-
|
19
|
+
test.verbose = false
|
20
|
+
test.warning = false
|
27
21
|
end
|
28
22
|
|
29
23
|
Rake::TestTask.new(:integration) do |test|
|
30
|
-
|
24
|
+
test.deps = [ :wait_for_green ]
|
31
25
|
test.libs << 'lib' << 'test'
|
32
26
|
test.test_files = FileList["test/integration/**/*_test.rb"]
|
27
|
+
test.verbose = false
|
28
|
+
test.warning = false
|
33
29
|
end
|
34
30
|
|
35
31
|
Rake::TestTask.new(:all) do |test|
|
36
|
-
|
37
|
-
test.libs << 'lib' << 'test'
|
38
|
-
test.test_files = FileList["test/unit/**/*_test.rb", "test/integration/**/*_test.rb"]
|
32
|
+
test.deps = [ :unit, :integration ]
|
39
33
|
end
|
40
34
|
|
41
35
|
end
|
data/elasticsearch.gemspec
CHANGED
@@ -4,63 +4,47 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'elasticsearch/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
7
|
+
s.name = 'elasticsearch'
|
8
8
|
s.version = Elasticsearch::VERSION
|
9
|
-
s.authors = [
|
10
|
-
s.email = [
|
11
|
-
s.summary =
|
12
|
-
s.homepage =
|
13
|
-
s.license =
|
14
|
-
|
9
|
+
s.authors = ['Karel Minarik']
|
10
|
+
s.email = ['karel.minarik@elasticsearch.org']
|
11
|
+
s.summary = 'Ruby integrations for Elasticsearch'
|
12
|
+
s.homepage = 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html'
|
13
|
+
s.license = 'Apache-2.0'
|
14
|
+
s.metadata = {
|
15
|
+
'homepage_uri' => 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html',
|
16
|
+
'changelog_uri' => 'https://github.com/elastic/elasticsearch-ruby/blob/6.x/CHANGELOG.md',
|
17
|
+
'source_code_uri' => 'https://github.com/elastic/elasticsearch-ruby/tree/6.x',
|
18
|
+
'bug_tracker_uri' => 'https://github.com/elastic/elasticsearch-ruby/issues'
|
19
|
+
}
|
15
20
|
s.files = `git ls-files`.split($/)
|
16
21
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
22
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
|
-
s.require_paths = [
|
19
|
-
|
20
|
-
s.extra_rdoc_files = [
|
21
|
-
s.rdoc_options = [
|
22
|
-
|
23
|
-
s.
|
24
|
-
s.add_dependency
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
s.add_development_dependency
|
39
|
-
s.add_development_dependency
|
40
|
-
s.add_development_dependency
|
41
|
-
s.add_development_dependency
|
42
|
-
s.add_development_dependency
|
43
|
-
s.add_development_dependency "pry"
|
44
|
-
s.add_development_dependency "ci_reporter", "~> 1.9"
|
45
|
-
|
46
|
-
# Prevent unit test failures on Ruby 1.8
|
47
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
48
|
-
s.add_development_dependency "test-unit", '~> 2'
|
49
|
-
s.add_development_dependency "json", '~> 1.8'
|
50
|
-
end
|
51
|
-
|
52
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
53
|
-
s.add_development_dependency "minitest", "~> 4.0"
|
54
|
-
s.add_development_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
55
|
-
s.add_development_dependency "require-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
56
|
-
s.add_development_dependency "simplecov"
|
57
|
-
s.add_development_dependency "simplecov-rcov"
|
58
|
-
s.add_development_dependency "cane"
|
59
|
-
end
|
60
|
-
|
61
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION > '2.2'
|
62
|
-
s.add_development_dependency "test-unit", '~> 2'
|
63
|
-
end
|
23
|
+
s.require_paths = ['lib']
|
24
|
+
|
25
|
+
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
|
26
|
+
s.rdoc_options = ['--charset=UTF-8']
|
27
|
+
|
28
|
+
s.required_ruby_version = '>= 2.4'
|
29
|
+
s.add_dependency 'elasticsearch-api', '6.8.3'
|
30
|
+
s.add_dependency 'elasticsearch-transport', '6.8.3'
|
31
|
+
|
32
|
+
s.add_development_dependency 'ansi'
|
33
|
+
s.add_development_dependency 'bundler'
|
34
|
+
s.add_development_dependency 'cane'
|
35
|
+
s.add_development_dependency 'elasticsearch-extensions'
|
36
|
+
s.add_development_dependency 'minitest', '~> 4.0'
|
37
|
+
s.add_development_dependency 'mocha'
|
38
|
+
s.add_development_dependency 'pry'
|
39
|
+
s.add_development_dependency 'rake', '~> 13'
|
40
|
+
s.add_development_dependency 'require-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
41
|
+
s.add_development_dependency 'ruby-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
42
|
+
s.add_development_dependency 'shoulda-context'
|
43
|
+
s.add_development_dependency 'simplecov', '~> 0.17', '< 0.18'
|
44
|
+
s.add_development_dependency 'simplecov-rcov'
|
45
|
+
s.add_development_dependency 'test-unit', '~> 2'
|
46
|
+
s.add_development_dependency 'turn'
|
47
|
+
s.add_development_dependency 'yard'
|
64
48
|
|
65
49
|
s.description = <<-DESC.gsub(/^ /, '')
|
66
50
|
Ruby integrations for Elasticsearch (client, API, etc.)
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
module Elasticsearch
|
2
|
-
VERSION =
|
6
|
+
VERSION = '6.8.3'
|
3
7
|
end
|
data/lib/elasticsearch-ruby.rb
CHANGED
data/lib/elasticsearch.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
require "elasticsearch/version"
|
2
6
|
|
3
7
|
require 'elasticsearch/transport'
|
@@ -10,3 +14,16 @@ module Elasticsearch
|
|
10
14
|
end
|
11
15
|
end
|
12
16
|
end
|
17
|
+
module Elastic
|
18
|
+
# If the version is X.X.X.pre/alpha/beta, use X.X.Xp for the meta-header:
|
19
|
+
def self.client_meta_version
|
20
|
+
regexp = /^([0-9]+\.[0-9]+\.[0-9]+)\.?([a-z0-9.-]+)?$/
|
21
|
+
match = Elasticsearch::VERSION.match(regexp)
|
22
|
+
return "#{match[1]}p" if match[2]
|
23
|
+
|
24
|
+
Elasticsearch::VERSION
|
25
|
+
end
|
26
|
+
|
27
|
+
# Constant for elasticsearch-transport meta-header
|
28
|
+
META_HEADER_SERVICE_VERSION = [:es, client_meta_version].freeze
|
29
|
+
end
|
@@ -1,3 +1,7 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
require 'test_helper'
|
2
6
|
require 'logger'
|
3
7
|
|
@@ -14,8 +18,7 @@ module Elasticsearch
|
|
14
18
|
|
15
19
|
context "Elasticsearch client" do
|
16
20
|
setup do
|
17
|
-
|
18
|
-
system "curl -X DELETE http://localhost:#{@port}/_all > /dev/null 2>&1"
|
21
|
+
system "curl -X DELETE http://#{TEST_HOST}:#{TEST_PORT}/_all > /dev/null 2>&1"
|
19
22
|
|
20
23
|
@logger = Logger.new(STDERR)
|
21
24
|
@logger.formatter = proc do |severity, datetime, progname, msg|
|
@@ -28,7 +31,7 @@ module Elasticsearch
|
|
28
31
|
ANSI.ansi(severity[0] + ' ', color, :faint) + ANSI.ansi(msg, :white, :faint) + "\n"
|
29
32
|
end
|
30
33
|
|
31
|
-
@client = Elasticsearch::Client.new host: "
|
34
|
+
@client = Elasticsearch::Client.new host: "#{TEST_HOST}:#{TEST_PORT}", logger: (ENV['QUIET'] ? nil : @logger)
|
32
35
|
end
|
33
36
|
|
34
37
|
should "perform the API methods" do
|
@@ -54,6 +57,10 @@ module Elasticsearch
|
|
54
57
|
end
|
55
58
|
end
|
56
59
|
|
60
|
+
should 'report the right meta header' do
|
61
|
+
headers = @client.transport.connections.first.connection.headers
|
62
|
+
assert_match /^es=#{Elasticsearch::VERSION}/, headers['x-elastic-client-meta']
|
63
|
+
end
|
57
64
|
end
|
58
65
|
end
|
59
66
|
end
|
data/test/test_helper.rb
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
4
|
+
|
1
5
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
2
6
|
JRUBY = defined?(JRUBY_VERSION)
|
3
7
|
|
8
|
+
|
9
|
+
ELASTICSEARCH_HOSTS = if hosts = ENV['TEST_ES_SERVER'] || ENV['ELASTICSEARCH_HOSTS']
|
10
|
+
hosts.split(',').map do |host|
|
11
|
+
/(http\:\/\/)?(\S+)/.match(host)[2]
|
12
|
+
end
|
13
|
+
end.freeze
|
14
|
+
|
15
|
+
TEST_HOST, TEST_PORT = ELASTICSEARCH_HOSTS.first.split(':') if ELASTICSEARCH_HOSTS
|
16
|
+
|
4
17
|
if RUBY_1_8 and not ENV['BUNDLE_GEMFILE']
|
5
18
|
require 'rubygems'
|
6
19
|
gem 'test-unit'
|
metadata
CHANGED
@@ -1,73 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: elasticsearch-
|
14
|
+
name: elasticsearch-api
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 6.8.3
|
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:
|
26
|
+
version: 6.8.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: elasticsearch-
|
28
|
+
name: elasticsearch-transport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.8.3
|
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:
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1'
|
40
|
+
version: 6.8.3
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '11.1'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '11.1'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: elasticsearch-extensions
|
42
|
+
name: ansi
|
71
43
|
requirement: !ruby/object:Gem::Requirement
|
72
44
|
requirements:
|
73
45
|
- - ">="
|
@@ -81,7 +53,7 @@ dependencies:
|
|
81
53
|
- !ruby/object:Gem::Version
|
82
54
|
version: '0'
|
83
55
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
56
|
+
name: bundler
|
85
57
|
requirement: !ruby/object:Gem::Requirement
|
86
58
|
requirements:
|
87
59
|
- - ">="
|
@@ -95,7 +67,7 @@ dependencies:
|
|
95
67
|
- !ruby/object:Gem::Version
|
96
68
|
version: '0'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
70
|
+
name: cane
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
100
72
|
requirements:
|
101
73
|
- - ">="
|
@@ -109,7 +81,7 @@ dependencies:
|
|
109
81
|
- !ruby/object:Gem::Version
|
110
82
|
version: '0'
|
111
83
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
84
|
+
name: elasticsearch-extensions
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|
114
86
|
requirements:
|
115
87
|
- - ">="
|
@@ -123,21 +95,21 @@ dependencies:
|
|
123
95
|
- !ruby/object:Gem::Version
|
124
96
|
version: '0'
|
125
97
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
98
|
+
name: minitest
|
127
99
|
requirement: !ruby/object:Gem::Requirement
|
128
100
|
requirements:
|
129
|
-
- - "
|
101
|
+
- - "~>"
|
130
102
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
103
|
+
version: '4.0'
|
132
104
|
type: :development
|
133
105
|
prerelease: false
|
134
106
|
version_requirements: !ruby/object:Gem::Requirement
|
135
107
|
requirements:
|
136
|
-
- - "
|
108
|
+
- - "~>"
|
137
109
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
110
|
+
version: '4.0'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
112
|
+
name: mocha
|
141
113
|
requirement: !ruby/object:Gem::Requirement
|
142
114
|
requirements:
|
143
115
|
- - ">="
|
@@ -165,33 +137,33 @@ dependencies:
|
|
165
137
|
- !ruby/object:Gem::Version
|
166
138
|
version: '0'
|
167
139
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
140
|
+
name: rake
|
169
141
|
requirement: !ruby/object:Gem::Requirement
|
170
142
|
requirements:
|
171
143
|
- - "~>"
|
172
144
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
145
|
+
version: '13'
|
174
146
|
type: :development
|
175
147
|
prerelease: false
|
176
148
|
version_requirements: !ruby/object:Gem::Requirement
|
177
149
|
requirements:
|
178
150
|
- - "~>"
|
179
151
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
152
|
+
version: '13'
|
181
153
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
154
|
+
name: require-prof
|
183
155
|
requirement: !ruby/object:Gem::Requirement
|
184
156
|
requirements:
|
185
|
-
- - "
|
157
|
+
- - ">="
|
186
158
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
159
|
+
version: '0'
|
188
160
|
type: :development
|
189
161
|
prerelease: false
|
190
162
|
version_requirements: !ruby/object:Gem::Requirement
|
191
163
|
requirements:
|
192
|
-
- - "
|
164
|
+
- - ">="
|
193
165
|
- !ruby/object:Gem::Version
|
194
|
-
version: '
|
166
|
+
version: '0'
|
195
167
|
- !ruby/object:Gem::Dependency
|
196
168
|
name: ruby-prof
|
197
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -207,7 +179,7 @@ dependencies:
|
|
207
179
|
- !ruby/object:Gem::Version
|
208
180
|
version: '0'
|
209
181
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
182
|
+
name: shoulda-context
|
211
183
|
requirement: !ruby/object:Gem::Requirement
|
212
184
|
requirements:
|
213
185
|
- - ">="
|
@@ -224,16 +196,22 @@ dependencies:
|
|
224
196
|
name: simplecov
|
225
197
|
requirement: !ruby/object:Gem::Requirement
|
226
198
|
requirements:
|
227
|
-
- - "
|
199
|
+
- - "~>"
|
228
200
|
- !ruby/object:Gem::Version
|
229
|
-
version: '0'
|
201
|
+
version: '0.17'
|
202
|
+
- - "<"
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0.18'
|
230
205
|
type: :development
|
231
206
|
prerelease: false
|
232
207
|
version_requirements: !ruby/object:Gem::Requirement
|
233
208
|
requirements:
|
234
|
-
- - "
|
209
|
+
- - "~>"
|
235
210
|
- !ruby/object:Gem::Version
|
236
|
-
version: '0'
|
211
|
+
version: '0.17'
|
212
|
+
- - "<"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0.18'
|
237
215
|
- !ruby/object:Gem::Dependency
|
238
216
|
name: simplecov-rcov
|
239
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,7 +227,21 @@ dependencies:
|
|
249
227
|
- !ruby/object:Gem::Version
|
250
228
|
version: '0'
|
251
229
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
230
|
+
name: test-unit
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - "~>"
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '2'
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - "~>"
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '2'
|
243
|
+
- !ruby/object:Gem::Dependency
|
244
|
+
name: turn
|
253
245
|
requirement: !ruby/object:Gem::Requirement
|
254
246
|
requirements:
|
255
247
|
- - ">="
|
@@ -263,22 +255,22 @@ dependencies:
|
|
263
255
|
- !ruby/object:Gem::Version
|
264
256
|
version: '0'
|
265
257
|
- !ruby/object:Gem::Dependency
|
266
|
-
name:
|
258
|
+
name: yard
|
267
259
|
requirement: !ruby/object:Gem::Requirement
|
268
260
|
requirements:
|
269
|
-
- - "
|
261
|
+
- - ">="
|
270
262
|
- !ruby/object:Gem::Version
|
271
|
-
version: '
|
263
|
+
version: '0'
|
272
264
|
type: :development
|
273
265
|
prerelease: false
|
274
266
|
version_requirements: !ruby/object:Gem::Requirement
|
275
267
|
requirements:
|
276
|
-
- - "
|
268
|
+
- - ">="
|
277
269
|
- !ruby/object:Gem::Version
|
278
|
-
version: '
|
270
|
+
version: '0'
|
279
271
|
description: 'Ruby integrations for Elasticsearch (client, API, etc.)
|
280
272
|
|
281
|
-
'
|
273
|
+
'
|
282
274
|
email:
|
283
275
|
- karel.minarik@elasticsearch.org
|
284
276
|
executables: []
|
@@ -299,10 +291,14 @@ files:
|
|
299
291
|
- test/integration/client_integration_test.rb
|
300
292
|
- test/test_helper.rb
|
301
293
|
- test/unit/wrapper_gem_test.rb
|
302
|
-
homepage:
|
294
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
303
295
|
licenses:
|
304
|
-
- Apache
|
305
|
-
metadata:
|
296
|
+
- Apache-2.0
|
297
|
+
metadata:
|
298
|
+
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
299
|
+
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/6.x/CHANGELOG.md
|
300
|
+
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/6.x
|
301
|
+
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
306
302
|
post_install_message:
|
307
303
|
rdoc_options:
|
308
304
|
- "--charset=UTF-8"
|
@@ -312,15 +308,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
312
308
|
requirements:
|
313
309
|
- - ">="
|
314
310
|
- !ruby/object:Gem::Version
|
315
|
-
version: '
|
311
|
+
version: '2.4'
|
316
312
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
317
313
|
requirements:
|
318
314
|
- - ">="
|
319
315
|
- !ruby/object:Gem::Version
|
320
316
|
version: '0'
|
321
317
|
requirements: []
|
322
|
-
|
323
|
-
rubygems_version: 2.6.11
|
318
|
+
rubygems_version: 3.1.4
|
324
319
|
signing_key:
|
325
320
|
specification_version: 4
|
326
321
|
summary: Ruby integrations for Elasticsearch
|