net_http_unix 0.2.1 → 0.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e49d1ff0a9774c1d709d8459d2c1810bd4eade0a
4
- data.tar.gz: 708215709a1816da72543040c7837327223b7737
3
+ metadata.gz: c7c13caf6007cd5bd78897545e3440b1777dc82d
4
+ data.tar.gz: 74240ca28bd06d08deead3d5db85ce71ccf4860e
5
5
  SHA512:
6
- metadata.gz: 738aec71832876fb2d2cdbe90e7e657e5f5e04950032f673f5d4d395a85283ea48beefa5c49752a9363c89ba8ce3753abcfab6ed75d098b89ee594beb08a0f90
7
- data.tar.gz: 242b27aea283444be01c250aca0c053ca2545e88b1a25d04410c9077d7bcb30dd915ede6cef6c3b904edd7b81b9a64e3fa5a0ec5c4a18c8505d2d6e8f884ca33
6
+ metadata.gz: 3de2c4d946858990d5fc258834a142198c22b59f95eec57c6f4087d59d88b12c0dee6cb7a511c5f13de4d278cba16efde0a53ac96e9b005dc8d20d81f8a6b328
7
+ data.tar.gz: 805fc17d02ef729b519ffcc11f5be4e640891cc84aa9c62ffba0b39da430f2ddda63eb563eaac3fae222195150519b02b2bd868284d4d713473fcd21b5dc1829
@@ -1,3 +1,3 @@
1
1
  module NetHttpUnix
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -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.1
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: 2014-11-25 00:00:00.000000000 Z
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.2.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: