net_http_unix 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/net_http_unix/version.rb +1 -1
- data/lib/net_x/http_unix.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7c13caf6007cd5bd78897545e3440b1777dc82d
|
4
|
+
data.tar.gz: 74240ca28bd06d08deead3d5db85ce71ccf4860e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3de2c4d946858990d5fc258834a142198c22b59f95eec57c6f4087d59d88b12c0dee6cb7a511c5f13de4d278cba16efde0a53ac96e9b005dc8d20d81f8a6b328
|
7
|
+
data.tar.gz: 805fc17d02ef729b519ffcc11f5be4e640891cc84aa9c62ffba0b39da430f2ddda63eb563eaac3fae222195150519b02b2bd868284d4d713473fcd21b5dc1829
|
data/lib/net_x/http_unix.rb
CHANGED
@@ -32,7 +32,7 @@ class HTTPUnix < Net::HTTP
|
|
32
32
|
# to the use case of using a Unix Domain Socket.
|
33
33
|
def connect_unix
|
34
34
|
D "opening connection to #{@socket_path}..."
|
35
|
-
s = timeout(@open_timeout) { UNIXSocket.open(@socket_path) }
|
35
|
+
s = Timeout.timeout(@open_timeout) { UNIXSocket.open(@socket_path) }
|
36
36
|
D "opened"
|
37
37
|
@socket = BufferedIO.new(s)
|
38
38
|
@socket.read_timeout = @read_timeout
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net_http_unix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff McCune
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.4.5.1
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Wrapper around Net::HTTP with AF_UNIX support
|
@@ -118,4 +118,3 @@ test_files:
|
|
118
118
|
- spec/net_http_unix_spec.rb
|
119
119
|
- spec/net_x/http_unix_spec.rb
|
120
120
|
- spec/spec_helper.rb
|
121
|
-
has_rdoc:
|