proxifier 1.0.2 → 1.0.3
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.
- data/lib/proxifier/env.rb +1 -1
- data/lib/proxifier/errors.rb +4 -0
- data/lib/proxifier/proxy.rb +1 -1
- data/lib/proxifier/version.rb +1 -1
- metadata +4 -3
data/lib/proxifier/env.rb
CHANGED
@@ -6,7 +6,7 @@ module Proxifier
|
|
6
6
|
def open(host, port, local_host = nil, local_port = nil)
|
7
7
|
return TCPSocket.new(host, port, local_host, local_port, :proxy => nil) unless proxify?(host)
|
8
8
|
|
9
|
-
socket = TCPSocket.new(
|
9
|
+
socket = TCPSocket.new(self.host, self.port, local_host, local_port, :proxy => nil)
|
10
10
|
|
11
11
|
begin
|
12
12
|
proxify(socket, host, port)
|
data/lib/proxifier/proxy.rb
CHANGED
@@ -23,7 +23,7 @@ module Proxifier
|
|
23
23
|
def open(host, port, local_host = nil, local_port = nil)
|
24
24
|
return TCPSocket.new(host, port, local_host, local_port) unless proxify?(host)
|
25
25
|
|
26
|
-
socket = TCPSocket.new(
|
26
|
+
socket = TCPSocket.new(self.host, self.port, local_host, local_port)
|
27
27
|
|
28
28
|
begin
|
29
29
|
proxify(socket, host, port)
|
data/lib/proxifier/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proxifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-03-06 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Proxifier adds support for HTTP or SOCKS proxies and lets you force TCPSocket
|
15
15
|
to use proxies.
|
@@ -24,6 +24,7 @@ files:
|
|
24
24
|
- bin/pirb
|
25
25
|
- bin/pruby
|
26
26
|
- lib/proxifier/env.rb
|
27
|
+
- lib/proxifier/errors.rb
|
27
28
|
- lib/proxifier/proxies/http.rb
|
28
29
|
- lib/proxifier/proxies/socks.rb
|
29
30
|
- lib/proxifier/proxies/socks4.rb
|
@@ -54,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
55
|
version: '0'
|
55
56
|
requirements: []
|
56
57
|
rubyforge_project:
|
57
|
-
rubygems_version: 1.8.
|
58
|
+
rubygems_version: 1.8.15
|
58
59
|
signing_key:
|
59
60
|
specification_version: 3
|
60
61
|
summary: Proxifier is a gem to force ruby to use a proxy.
|