elasticsearch 6.8.1 → 6.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/elasticsearch.gemspec +37 -54
- data/lib/elasticsearch-ruby.rb +4 -0
- data/lib/elasticsearch.rb +4 -0
- data/lib/elasticsearch/version.rb +5 -1
- data/test/integration/client_integration_test.rb +4 -0
- data/test/test_helper.rb +4 -0
- data/test/unit/wrapper_gem_test.rb +4 -0
- metadata +65 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e904c281b7b62b0f9ecc9d4ae503f6be4940e00c3f5341f2e6dafb52ee0b0fb6
|
4
|
+
data.tar.gz: 1658c0968a2f763189836b88cf008641b91d4ce74e1e30692e8c5e136a705858
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c121dfecd1d92b9945bc997fad6700f3541792e759a931fa82682f96ccefc1ab0aa9e025666f9f0e1ec56516561cca17812daa70c07a1af736de60502579eade
|
7
|
+
data.tar.gz: 698e8980ad33579c0e0749aa232175f60ca56b72169c06353f4777211472a7fa32c0dbd08afdcbcf1876ba3b66844a6ea2f1ceeb6cc2931a156e89b2d8fce2ff
|
data/elasticsearch.gemspec
CHANGED
@@ -4,64 +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.required_ruby_version = '>=
|
24
|
-
|
25
|
-
s.add_dependency
|
26
|
-
|
27
|
-
|
28
|
-
s.add_development_dependency
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
s.add_development_dependency
|
41
|
-
s.add_development_dependency
|
42
|
-
s.add_development_dependency
|
43
|
-
s.add_development_dependency "turn"
|
44
|
-
s.add_development_dependency "yard"
|
45
|
-
s.add_development_dependency "pry"
|
46
|
-
|
47
|
-
# Prevent unit test failures on Ruby 1.8
|
48
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
49
|
-
s.add_development_dependency "test-unit", '~> 2'
|
50
|
-
s.add_development_dependency "json", '~> 1.8'
|
51
|
-
end
|
52
|
-
|
53
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
54
|
-
s.add_development_dependency "minitest", "~> 4.0"
|
55
|
-
s.add_development_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
56
|
-
s.add_development_dependency "require-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
57
|
-
s.add_development_dependency "simplecov"
|
58
|
-
s.add_development_dependency "simplecov-rcov"
|
59
|
-
s.add_development_dependency "cane"
|
60
|
-
end
|
61
|
-
|
62
|
-
if defined?(RUBY_VERSION) && RUBY_VERSION > '2.2'
|
63
|
-
s.add_development_dependency "test-unit", '~> 2'
|
64
|
-
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.2'
|
30
|
+
s.add_dependency 'elasticsearch-transport', '6.8.2'
|
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'
|
65
48
|
|
66
49
|
s.description = <<-DESC.gsub(/^ /, '')
|
67
50
|
Ruby integrations for Elasticsearch (client, API, etc.)
|
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'
|
@@ -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.8.
|
6
|
+
VERSION = '6.8.2'
|
3
7
|
end
|
data/test/test_helper.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
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
2
6
|
JRUBY = defined?(JRUBY_VERSION)
|
3
7
|
|
metadata
CHANGED
@@ -1,45 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.8.
|
4
|
+
version: 6.8.2
|
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-04-29 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: 6.8.
|
19
|
+
version: 6.8.2
|
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: 6.8.
|
26
|
+
version: 6.8.2
|
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: 6.8.
|
33
|
+
version: 6.8.2
|
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: 6.8.
|
40
|
+
version: 6.8.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: ansi
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,21 +53,21 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: cane
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: elasticsearch-extensions
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,19 +95,19 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: minitest
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
103
|
+
version: '4.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
110
|
+
version: '4.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: mocha
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: pry
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
@@ -137,21 +137,21 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rake
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '13'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '13'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: require-prof
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
@@ -165,21 +165,21 @@ dependencies:
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: ruby-prof
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
173
|
+
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
180
|
+
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: shoulda-context
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
@@ -193,21 +193,27 @@ dependencies:
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: simplecov
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
|
-
- - "
|
199
|
+
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '0'
|
201
|
+
version: '0.17'
|
202
|
+
- - "<"
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0.18'
|
202
205
|
type: :development
|
203
206
|
prerelease: false
|
204
207
|
version_requirements: !ruby/object:Gem::Requirement
|
205
208
|
requirements:
|
206
|
-
- - "
|
209
|
+
- - "~>"
|
207
210
|
- !ruby/object:Gem::Version
|
208
|
-
version: '0'
|
211
|
+
version: '0.17'
|
212
|
+
- - "<"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0.18'
|
209
215
|
- !ruby/object:Gem::Dependency
|
210
|
-
name: simplecov
|
216
|
+
name: simplecov-rcov
|
211
217
|
requirement: !ruby/object:Gem::Requirement
|
212
218
|
requirements:
|
213
219
|
- - ">="
|
@@ -221,21 +227,21 @@ dependencies:
|
|
221
227
|
- !ruby/object:Gem::Version
|
222
228
|
version: '0'
|
223
229
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
230
|
+
name: test-unit
|
225
231
|
requirement: !ruby/object:Gem::Requirement
|
226
232
|
requirements:
|
227
|
-
- - "
|
233
|
+
- - "~>"
|
228
234
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
235
|
+
version: '2'
|
230
236
|
type: :development
|
231
237
|
prerelease: false
|
232
238
|
version_requirements: !ruby/object:Gem::Requirement
|
233
239
|
requirements:
|
234
|
-
- - "
|
240
|
+
- - "~>"
|
235
241
|
- !ruby/object:Gem::Version
|
236
|
-
version: '
|
242
|
+
version: '2'
|
237
243
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
244
|
+
name: turn
|
239
245
|
requirement: !ruby/object:Gem::Requirement
|
240
246
|
requirements:
|
241
247
|
- - ">="
|
@@ -249,19 +255,19 @@ dependencies:
|
|
249
255
|
- !ruby/object:Gem::Version
|
250
256
|
version: '0'
|
251
257
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
258
|
+
name: yard
|
253
259
|
requirement: !ruby/object:Gem::Requirement
|
254
260
|
requirements:
|
255
|
-
- - "
|
261
|
+
- - ">="
|
256
262
|
- !ruby/object:Gem::Version
|
257
|
-
version: '
|
263
|
+
version: '0'
|
258
264
|
type: :development
|
259
265
|
prerelease: false
|
260
266
|
version_requirements: !ruby/object:Gem::Requirement
|
261
267
|
requirements:
|
262
|
-
- - "
|
268
|
+
- - ">="
|
263
269
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
270
|
+
version: '0'
|
265
271
|
description: 'Ruby integrations for Elasticsearch (client, API, etc.)
|
266
272
|
|
267
273
|
'
|
@@ -285,10 +291,14 @@ files:
|
|
285
291
|
- test/integration/client_integration_test.rb
|
286
292
|
- test/test_helper.rb
|
287
293
|
- test/unit/wrapper_gem_test.rb
|
288
|
-
homepage:
|
294
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/current/index.html
|
289
295
|
licenses:
|
290
296
|
- Apache-2.0
|
291
|
-
metadata:
|
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
|
292
302
|
post_install_message:
|
293
303
|
rdoc_options:
|
294
304
|
- "--charset=UTF-8"
|
@@ -298,14 +308,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
298
308
|
requirements:
|
299
309
|
- - ">="
|
300
310
|
- !ruby/object:Gem::Version
|
301
|
-
version: '
|
311
|
+
version: '2.4'
|
302
312
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
313
|
requirements:
|
304
314
|
- - ">="
|
305
315
|
- !ruby/object:Gem::Version
|
306
316
|
version: '0'
|
307
317
|
requirements: []
|
308
|
-
rubygems_version: 3.
|
318
|
+
rubygems_version: 3.1.2
|
309
319
|
signing_key:
|
310
320
|
specification_version: 4
|
311
321
|
summary: Ruby integrations for Elasticsearch
|