elasticsearch 2.0.0 → 5.0.5

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
  SHA1:
3
- metadata.gz: fd9d84ef99ccb07f937fc805e9d61c40948f228a
4
- data.tar.gz: 05142ec3f74396df924b2ad534e7040851567bdb
3
+ metadata.gz: f25c5d71d6dc140ec6f15bfa4fbe7982617a6e3c
4
+ data.tar.gz: 305b478f0e3f298557c1809a0c08a6981a4978f0
5
5
  SHA512:
6
- metadata.gz: 1491802bd44d6e96ce40da6417fd7905c26df6770a33eeb81e8942f7e9a0cdd14d701422ac6e57daf6363c77bca3a18306b65dcc8241fff4aebeee1afe296846
7
- data.tar.gz: e4dee4e1f4e4dc782bcc146ac2a5e3a5e29846a6f2e24d3542e04cfde4c91e965b1f5bf98e922c3df62522b777eb9909a18cf333d322223b07f09c22eaf30b2d
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.exists? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemspec", __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.exists? File.expand_path("../../elasticsearch-transport/elasticsearch-transport.gemspec", __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.exists? File.expand_path("../../elasticsearch-extensions", __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 library is compatible with Ruby 1.8.7 and higher.
23
-
24
- The library is compatible with Elasticsearch 0.90 and 1.0 -- you have to install and use a matching version, though.
25
-
26
- The 1.x versions and the master branch are compatible with **Elasticsearch 1.0** API.
27
-
28
- To use the **Elasticsearch 0.90** API, install the **0.4.x** gem version or use the corresponding
29
- [`0.4`](https://github.com/elasticsearch/elasticsearch-ruby/tree/0.4) branch.
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
 
@@ -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", '2.0.0'
24
- s.add_dependency "elasticsearch-api", '2.0.0'
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'
@@ -1,3 +1,3 @@
1
1
  module Elasticsearch
2
- VERSION = "2.0.0"
2
+ VERSION = "5.0.5"
3
3
  end
@@ -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(nodes: 2) if ENV['SERVER'] and not Elasticsearch::Extensions::Test::Cluster.running?
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: 2.0.0
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: 2016-07-20 00:00:00.000000000 Z
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: 2.0.0
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: 2.0.0
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: 2.0.0
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: 2.0.0
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
- description: |
266
- Ruby integrations for Elasticsearch (client, API, etc.)
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.2.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: