elasticsearch 2.0.0 → 5.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -3
- data/README.md +12 -8
- data/elasticsearch.gemspec +3 -3
- data/lib/elasticsearch/version.rb +1 -1
- data/test/integration/client_integration_test.rb +2 -2
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f25c5d71d6dc140ec6f15bfa4fbe7982617a6e3c
|
4
|
+
data.tar.gz: 305b478f0e3f298557c1809a0c08a6981a4978f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b537c7270e5d2a90f2c6ce38f8c9499cec80a9bafb8e11ab1eb537239649635e7124470bc14aba4ead80d9376c46140b8a2c4d6610aab4374a417de2a4589b48
|
7
|
+
data.tar.gz: 157604795487ea6bb56af8dabc36b281b9f043db5ac9e36deabef5de236076c730e113728575b0db34aa3834270b8ad703afabb82c4b319968dbc77167255643
|
data/Gemfile
CHANGED
@@ -3,14 +3,14 @@ source 'https://rubygems.org'
|
|
3
3
|
# Specify your gem's dependencies in elasticsearch.gemspec
|
4
4
|
gemspec
|
5
5
|
|
6
|
-
if File.
|
6
|
+
if File.exist? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemspec", __FILE__)
|
7
7
|
gem 'elasticsearch-api', :path => File.expand_path("../../elasticsearch-api", __FILE__), :require => false
|
8
8
|
end
|
9
9
|
|
10
|
-
if File.
|
10
|
+
if File.exist? File.expand_path("../../elasticsearch-transport/elasticsearch-transport.gemspec", __FILE__)
|
11
11
|
gem 'elasticsearch-transport', :path => File.expand_path("../../elasticsearch-transport", __FILE__), :require => false
|
12
12
|
end
|
13
13
|
|
14
|
-
if File.
|
14
|
+
if File.exist? File.expand_path("../../elasticsearch-extensions", __FILE__)
|
15
15
|
gem 'elasticsearch-extensions', :path => File.expand_path("../../elasticsearch-extensions", __FILE__), :require => true
|
16
16
|
end
|
data/README.md
CHANGED
@@ -19,14 +19,18 @@ see the <https://github.com/elasticsearch/elasticsearch-rails> project.)
|
|
19
19
|
|
20
20
|
## Compatibility
|
21
21
|
|
22
|
-
The
|
23
|
-
|
24
|
-
The
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
22
|
+
The Elasticsearch client for Ruby is compatible with Ruby 1.8.7 and higher.
|
23
|
+
|
24
|
+
The client's API is compatible with Elasticsearch's API versions from 0.90 till current,
|
25
|
+
just use a release matching major version of Elasticsearch.
|
26
|
+
|
27
|
+
| Ruby | | Elasticsearch |
|
28
|
+
|:-------------:|:-:| :-----------: |
|
29
|
+
| 0.90 | → | 0.90 |
|
30
|
+
| 1.x | → | 1.x |
|
31
|
+
| 2.x | → | 2.x |
|
32
|
+
| 5.x | → | 5.x |
|
33
|
+
| master | → | master |
|
30
34
|
|
31
35
|
## Installation
|
32
36
|
|
data/elasticsearch.gemspec
CHANGED
@@ -20,8 +20,8 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.extra_rdoc_files = [ "README.md", "LICENSE.txt" ]
|
21
21
|
s.rdoc_options = [ "--charset=UTF-8" ]
|
22
22
|
|
23
|
-
s.add_dependency "elasticsearch-transport", '
|
24
|
-
s.add_dependency "elasticsearch-api", '
|
23
|
+
s.add_dependency "elasticsearch-transport", '5.0.5'
|
24
|
+
s.add_dependency "elasticsearch-api", '5.0.5'
|
25
25
|
|
26
26
|
s.add_development_dependency "bundler", "> 1"
|
27
27
|
|
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
|
|
46
46
|
# Prevent unit test failures on Ruby 1.8
|
47
47
|
if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
48
48
|
s.add_development_dependency "test-unit", '~> 2'
|
49
|
-
s.add_development_dependency "json"
|
49
|
+
s.add_development_dependency "json", '~> 1.8'
|
50
50
|
end
|
51
51
|
|
52
52
|
if defined?(RUBY_VERSION) && RUBY_VERSION > '1.9'
|
@@ -5,11 +5,11 @@ module Elasticsearch
|
|
5
5
|
module Test
|
6
6
|
class ClientIntegrationTest < Elasticsearch::Test::IntegrationTestCase
|
7
7
|
startup do
|
8
|
-
Elasticsearch::Extensions::Test::Cluster.start(
|
8
|
+
Elasticsearch::Extensions::Test::Cluster.start(number_of_nodes: 2) if ENV['SERVER'] and not Elasticsearch::Extensions::Test::Cluster.running?(number_of_nodes: 2)
|
9
9
|
end
|
10
10
|
|
11
11
|
shutdown do
|
12
|
-
Elasticsearch::Extensions::Test::Cluster.stop if ENV['SERVER'] and Elasticsearch::Extensions::Test::Cluster.running?
|
12
|
+
Elasticsearch::Extensions::Test::Cluster.stop(number_of_nodes: 2) if ENV['SERVER'] and Elasticsearch::Extensions::Test::Cluster.running?(number_of_nodes: 2)
|
13
13
|
end
|
14
14
|
|
15
15
|
context "Elasticsearch client" do
|
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:
|
4
|
+
version: 5.0.5
|
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: 2018-04-25 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:
|
19
|
+
version: 5.0.5
|
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: 5.0.5
|
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:
|
33
|
+
version: 5.0.5
|
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:
|
40
|
+
version: 5.0.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,8 +262,23 @@ dependencies:
|
|
262
262
|
- - ">="
|
263
263
|
- !ruby/object:Gem::Version
|
264
264
|
version: '0'
|
265
|
-
|
266
|
-
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: test-unit
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "~>"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '2'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - "~>"
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '2'
|
279
|
+
description: 'Ruby integrations for Elasticsearch (client, API, etc.)
|
280
|
+
|
281
|
+
'
|
267
282
|
email:
|
268
283
|
- karel.minarik@elasticsearch.org
|
269
284
|
executables: []
|
@@ -305,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
305
320
|
version: '0'
|
306
321
|
requirements: []
|
307
322
|
rubyforge_project:
|
308
|
-
rubygems_version: 2.
|
323
|
+
rubygems_version: 2.6.11
|
309
324
|
signing_key:
|
310
325
|
specification_version: 4
|
311
326
|
summary: Ruby integrations for Elasticsearch
|
@@ -313,4 +328,3 @@ test_files:
|
|
313
328
|
- test/integration/client_integration_test.rb
|
314
329
|
- test/test_helper.rb
|
315
330
|
- test/unit/wrapper_gem_test.rb
|
316
|
-
has_rdoc:
|