sockit 1.0.0 → 1.0.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 +4 -4
- data/README.md +9 -1
- data/lib/sockit/version.rb +1 -1
- data/sockit.gemspec +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d883599ef33061ab6498daf123c209752d8db63c
|
4
|
+
data.tar.gz: a0b22256f7f8c68c35ed948580e588589ce8eff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e131ee3329070c31a2217e8846f8fe095016c260c33fcbdfce8173c9772050ca3cec5b9f9eb4404a88d8199b33309a7e8ce194a7d14b601ff8056059fdd488de
|
7
|
+
data.tar.gz: 03bb9f54d966539fcfab4b1e962dbea3b7460c7fc644fc0da5544f47749372a10c32e266b67c930e152d513da36943da397991fd4e4ddb60e1ed6e42a38b95d0
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
Transparent SOCKS v4 and SOCKS v5 support for TCPSocket
|
10
10
|
|
11
|
-
Seamlessly route all TCP for you application through a SOCKS server with nearly zero effort. Once `require`'d and configured all traffic leveraging the `TCPSocket` class will route via your configured SOCKS server.
|
11
|
+
Seamlessly route all TCP traffic for you application through a SOCKS v4 or v5 server with nearly zero effort. Once `require`'d and configured all traffic leveraging the `TCPSocket` class will route via your configured SOCKS server.
|
12
12
|
|
13
13
|
This is especially useful for many cases; here are a couple:
|
14
14
|
|
@@ -71,6 +71,14 @@ Ignore some more hosts:
|
|
71
71
|
config.ignore << "192.168.0.1"
|
72
72
|
end
|
73
73
|
|
74
|
+
Once configured you can simply do something along these lines:
|
75
|
+
|
76
|
+
socket = TCPSocket.new('github.com', '22')
|
77
|
+
data = socket.gets
|
78
|
+
expect(data).to match(/SSH/)
|
79
|
+
|
80
|
+
And everything will be magically routed via your configured SOCKS server.
|
81
|
+
|
74
82
|
|
75
83
|
## CONTRIBUTING
|
76
84
|
|
data/lib/sockit/version.rb
CHANGED
data/sockit.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.version = Sockit::VERSION
|
27
27
|
spec.authors = %(Zachary Patten)
|
28
28
|
spec.email = [ %(zachary AT jovelabs DOT com) ]
|
29
|
-
spec.description = %(
|
29
|
+
spec.description = %(Seamlessly route all TCP traffic for you application through a SOCKS v4 or v5 server with nearly zero effort. Once required and configured all traffic leveraging the TCPSocket class will route via your configured SOCKS server.)
|
30
30
|
spec.summary = %(Transparent SOCKS v4 and SOCKS v5 support for TCPSocket)
|
31
31
|
spec.homepage = %(https://github.com/zpatten/sockit)
|
32
32
|
spec.license = "Apache 2.0"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sockit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Patten
|
@@ -150,7 +150,9 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
-
description:
|
153
|
+
description: Seamlessly route all TCP traffic for you application through a SOCKS
|
154
|
+
v4 or v5 server with nearly zero effort. Once required and configured all traffic
|
155
|
+
leveraging the TCPSocket class will route via your configured SOCKS server.
|
154
156
|
email:
|
155
157
|
- zachary AT jovelabs DOT com
|
156
158
|
executables:
|