elasticsearch-transport 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/elasticsearch/transport/transport/base.rb +2 -2
- data/lib/elasticsearch/transport/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23111be0a2ea476e759c7392a1df7e743b239af3
|
4
|
+
data.tar.gz: 24361866e62cf311ef0f1ec6e29adb91669b484e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b06318eceb6236fac24a57a724625a81c192dd5a84b1cf6fb7055f03df74ac6552f73f38b7ad3a3ae4c61babf79d793d64090082ec86b7dc8032cfe8869b82b
|
7
|
+
data.tar.gz: 37ddea147af57ad7108dc0c6b985325410733175d7b08bc08cbe229c32fa99f293c2d180311ededb6bf42b78317abe32e54df693e03028b7110fed5539f90549
|
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ if File.exist? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemsp
|
|
7
7
|
gem 'elasticsearch-api', :path => File.expand_path("../../elasticsearch-api", __FILE__), :require => false
|
8
8
|
end
|
9
9
|
|
10
|
-
if File.exist? File.expand_path("../../elasticsearch-extensions", __FILE__)
|
10
|
+
if File.exist? File.expand_path("../../elasticsearch-extensions/elasticsearch-extensions.gemspec", __FILE__)
|
11
11
|
gem 'elasticsearch-extensions', :path => File.expand_path("../../elasticsearch-extensions", __FILE__), :require => false
|
12
12
|
end
|
13
13
|
|
@@ -49,9 +49,9 @@ module Elasticsearch
|
|
49
49
|
@counter_mtx = Mutex.new
|
50
50
|
@last_request_at = Time.now
|
51
51
|
@reload_connections = options[:reload_connections]
|
52
|
-
@reload_after = options[:reload_connections].is_a?(
|
52
|
+
@reload_after = options[:reload_connections].is_a?(Integer) ? options[:reload_connections] : DEFAULT_RELOAD_AFTER
|
53
53
|
@resurrect_after = options[:resurrect_after] || DEFAULT_RESURRECT_AFTER
|
54
|
-
@max_retries = options[:retry_on_failure].is_a?(
|
54
|
+
@max_retries = options[:retry_on_failure].is_a?(Integer) ? options[:retry_on_failure] : DEFAULT_MAX_RETRIES
|
55
55
|
@retry_on_status = Array(options[:retry_on_status]).map { |d| d.to_i }
|
56
56
|
end
|
57
57
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-transport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
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: 2017-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -419,4 +419,3 @@ test_files:
|
|
419
419
|
- test/unit/transport_curb_test.rb
|
420
420
|
- test/unit/transport_faraday_test.rb
|
421
421
|
- test/unit/transport_manticore_test.rb
|
422
|
-
has_rdoc:
|