uv-rays 1.0.10 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/uv-rays/http_endpoint.rb +2 -2
- data/lib/uv-rays/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b5c51e15ae7d4607fd3433140c8bcd6326fd10c
|
|
4
|
+
data.tar.gz: 8c622ba1232907afd7f2502640dd17945ec06c67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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] ||=
|
|
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
|
|
167
|
+
@timer.start @inactivity_timeout
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
# Kick off pending requests
|
data/lib/uv-rays/version.rb
CHANGED
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
|
|
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-
|
|
11
|
+
date: 2015-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: libuv
|