uv-rays 2.2.1 → 2.2.2

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: e78e7156e2749b0ce6c3e4d5bf5606db76aaf96b
4
- data.tar.gz: 1ac6ac77ad8daa8822226643022f22802ffc56c2
3
+ metadata.gz: b98ca3114c943ec05175971d81d65bdfe6572894
4
+ data.tar.gz: d92dcde8d7221fb14a75b6c9d8b3e38af49560bd
5
5
  SHA512:
6
- metadata.gz: 28890ae1bf5f3a59086501c6e335f18bb0d45d02190bf5c727748e61bdce6f2b6fdb8905d8b0fcd3ac782ff5b8c24078a5de93002bbd5a5932a54b046b2e15a0
7
- data.tar.gz: f4c251a43b923455b7e186c18df99c27a3eb06105ec1d405b2d86011b0bfecd44ae5fca132307448c655fc68b527268a050ad208c72fccb5f39e1b5f5c18e204
6
+ metadata.gz: dd9826d083d991d08c12710c693e8eaefa79d74bfb479f104d0f32574dfc820fa58a48264ee5aae3f0cac84066611a381b727e9f437d01a3dd8d7ca4122d844d
7
+ data.tar.gz: 684db01106810c7fe628b1aaceeb917468b25d65f0114350a3fa56f08ad8543a9eea62affe92056ad4da3b8540120d2294063da7d1c29661b7679db62788b1b1
@@ -31,7 +31,7 @@ module Faraday
31
31
  end
32
32
 
33
33
  if (req = env[:request])
34
- opts[:inactivity_timeout] = req[:timeout] if req[:timeout]
34
+ opts[:inactivity_timeout] = (req[:timeout] * 1000) if req[:timeout]
35
35
  end
36
36
 
37
37
  error = nil
@@ -13,7 +13,7 @@ class HTTPI::Adapter::Libuv < HTTPI::Adapter::Base
13
13
  attr_reader :client
14
14
 
15
15
  def request(method)
16
- @client.inactivity_timeout = @request.read_timeout if @request.read_timeout && @request.read_timeout > 0
16
+ @client.inactivity_timeout = (@request.read_timeout * 1000).to_i if @request.read_timeout && @request.read_timeout > 0
17
17
 
18
18
  req = {
19
19
  path: @request.url,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UV
4
- VERSION = '2.2.1'
4
+ VERSION = '2.2.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uv-rays
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-07 00:00:00.000000000 Z
11
+ date: 2017-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libuv