elasticsearch 5.0.4 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0124c71316f3bbb6c9d223b1b925dec02d25c780
4
- data.tar.gz: 54e6ef2303636280e0825066547b594ee19cb61d
3
+ metadata.gz: 1391ec84e6ee67622c7e1612fd29266f393beaca
4
+ data.tar.gz: f70e52ef7bf591065532c3ba8c846b17c925b15e
5
5
  SHA512:
6
- metadata.gz: fc5072c9ef7553790c153e58881150f643ff73d8f5373d1346abf192cbf203a1d67e4a854892a26262c917e8b62d5828f228266c098474bfa6c6f25a9884f5fe
7
- data.tar.gz: 391395d12dad089d148b25b86b6a42069d2465fcde2e8f95e77ffb2022166f9e4901d34aa04efef4773d1dd068a02ef1bc6a221fd0a6939efd9723d5f1663191
6
+ metadata.gz: a883bd33f5e2d360e2a7daf9ff6b1d04b83ba8d917800d2311d77899e0699b7fbf47e9df94a3757d5f686b2c5d1be743cfb828ff6dbfc6cae7e9b49930009adc
7
+ data.tar.gz: a23e3ed3f57ad083f4b0cd40a12fc721dd242dcd9084a328da12097e6296b2983f8119f9af244b55730c551e5437b136bf07f070c1294d93e8ffc2dfcb3183aa
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
- * Plugabble connection selection strategies (round-robin, random, custom)
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
data/Rakefile CHANGED
@@ -7,33 +7,21 @@ task :test => 'test:unit'
7
7
 
8
8
  require 'rake/testtask'
9
9
  namespace :test do
10
- task :ci_reporter do
11
- ENV['CI_REPORTS'] ||= 'tmp/reports'
12
- if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
13
- require 'ci/reporter/rake/test_unit'
14
- Rake::Task['ci:setup:testunit'].invoke
15
- else
16
- require 'ci/reporter/rake/minitest'
17
- Rake::Task['ci:setup:minitest'].invoke
18
- end
19
- end
20
-
21
10
  Rake::TestTask.new(:unit) do |test|
22
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
23
11
  test.libs << 'lib' << 'test'
24
12
  test.test_files = FileList["test/unit/**/*_test.rb"]
25
- # test.verbose = true
26
- # test.warning = true
13
+ test.verbose = false
14
+ test.warning = false
27
15
  end
28
16
 
29
17
  Rake::TestTask.new(:integration) do |test|
30
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
31
18
  test.libs << 'lib' << 'test'
32
19
  test.test_files = FileList["test/integration/**/*_test.rb"]
20
+ test.verbose = false
21
+ test.warning = false
33
22
  end
34
23
 
35
24
  Rake::TestTask.new(:all) do |test|
36
- Rake::Task['test:ci_reporter'].invoke if ENV['CI']
37
25
  test.libs << 'lib' << 'test'
38
26
  test.test_files = FileList["test/unit/**/*_test.rb", "test/integration/**/*_test.rb"]
39
27
  end
@@ -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", '5.0.4'
24
- s.add_dependency "elasticsearch-api", '5.0.4'
23
+ s.add_dependency "elasticsearch-transport", '6.0.0'
24
+ s.add_dependency "elasticsearch-api", '6.0.0'
25
25
 
26
26
  s.add_development_dependency "bundler", "> 1"
27
27
 
@@ -41,7 +41,6 @@ Gem::Specification.new do |s|
41
41
  s.add_development_dependency "turn"
42
42
  s.add_development_dependency "yard"
43
43
  s.add_development_dependency "pry"
44
- s.add_development_dependency "ci_reporter", "~> 1.9"
45
44
 
46
45
  # Prevent unit test failures on Ruby 1.8
47
46
  if defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
@@ -1,3 +1,3 @@
1
1
  module Elasticsearch
2
- VERSION = "5.0.4"
2
+ VERSION = "6.0.0"
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: 5.0.4
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karel Minarik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-07 00:00:00.000000000 Z
11
+ date: 2017-11-14 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: 5.0.4
19
+ version: 6.0.0
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: 5.0.4
26
+ version: 6.0.0
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: 5.0.4
33
+ version: 6.0.0
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: 5.0.4
40
+ version: 6.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -164,20 +164,6 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: ci_reporter
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '1.9'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '1.9'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: minitest
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -320,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
306
  version: '0'
321
307
  requirements: []
322
308
  rubyforge_project:
323
- rubygems_version: 2.6.10
309
+ rubygems_version: 2.5.2
324
310
  signing_key:
325
311
  specification_version: 4
326
312
  summary: Ruby integrations for Elasticsearch