uv-rays 1.0.10 → 1.1.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: 1e0029a1210334c29042a4a40070f4024959088a
4
- data.tar.gz: a5f1571c61f7547b09afe11255a7afe2a347aa07
3
+ metadata.gz: 5b5c51e15ae7d4607fd3433140c8bcd6326fd10c
4
+ data.tar.gz: 8c622ba1232907afd7f2502640dd17945ec06c67
5
5
  SHA512:
6
- metadata.gz: a44a3a1aa2c2cfd870a3a53203a96c9d5a5b517513c4f3d3cc6de98f86c7c7659b0c95c2f7ee36f8bdad081cb6827d8cc1c913823a14c22a1e073b1592b483bf
7
- data.tar.gz: de76bdb6c73d7afc01bbbd98cc1746d2cbc8c94d1a4c00aeec189aa416d8c0b4ec1dc4a147cdc1733c83cba4aa7ac227e2a1db810ac1963e773dfe360b92b955
6
+ metadata.gz: 086fd9607731b37d9cf8ddd0b48a1334d6053b138ada693c8dfd164fe43769727e35b5a721100819ce1afbb2204e047d396a37dec794d7ea3e85c12783aee456
7
+ data.tar.gz: 9e336c363de277ede38a1a77e6898a59278eb58c49b57d600022cc1689c27120e657c80237fe86f1afe7a280f130c48bec78430a5c69274fe164bd9526187d03
@@ -50,7 +50,7 @@ module UV
50
50
  attr_reader :inactivity_timeout
51
51
 
52
52
  def initialize(uri, options = {})
53
- @inactivity_timeout = options[:inactivity_timeout] ||= 10 # default connection inactivity (post-setup) timeout
53
+ @inactivity_timeout = options[:inactivity_timeout] ||= 10000 # default connection inactivity (post-setup) timeout
54
54
 
55
55
 
56
56
  uri = uri.kind_of?(Addressable::URI) ? uri : Addressable::URI::parse(uri.to_s)
@@ -164,7 +164,7 @@ module UV
164
164
  stop_timer
165
165
  if @inactivity_timeout > 0
166
166
  @timer.progress @idle_timeout_method
167
- @timer.start @inactivity_timeout * 1000
167
+ @timer.start @inactivity_timeout
168
168
  end
169
169
 
170
170
  # Kick off pending requests
@@ -1,3 +1,3 @@
1
1
  module UV
2
- VERSION = '1.0.10'
2
+ VERSION = '1.1.0'
3
3
  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: 1.0.10
4
+ version: 1.1.0
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: 2015-04-30 00:00:00.000000000 Z
11
+ date: 2015-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libuv