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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d928e89409e0be9f12fd5fd52b468a27fbab282
4
- data.tar.gz: 380b4a84ebf9f27b762508c6bc68139f4615fefa
3
+ metadata.gz: 23111be0a2ea476e759c7392a1df7e743b239af3
4
+ data.tar.gz: 24361866e62cf311ef0f1ec6e29adb91669b484e
5
5
  SHA512:
6
- metadata.gz: b359789de397b70a9c6e3550d653fc9385c7323f6416de268cd3971bc69f93a8bdfb44991ee59498e7169bc507db81fd89996fcce21e740720b51a893a006457
7
- data.tar.gz: 8b19bee8fbd6d79825e30e58f7a7a277c3e185f4a9eebb4102e3f21e8f3b29cd226c09827b6946d5e51e2656832ce313a3b5c8f143321f88d6717817be308f0a
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?(Fixnum) ? options[:reload_connections] : DEFAULT_RELOAD_AFTER
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?(Fixnum) ? options[:retry_on_failure] : DEFAULT_MAX_RETRIES
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
 
@@ -1,5 +1,5 @@
1
1
  module Elasticsearch
2
2
  module Transport
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
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.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: 2016-07-20 00:00:00.000000000 Z
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: