RubyGems
npm
Organizations
Log in
Sign up
RubyGems
socksify-a
Versions diffs
1.1.2 → 1.1.3
socksify-a 1.1.2 → 1.1.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/socksify.rb
+2
-1
metadata
+2
-2
data/lib/socksify.rb
CHANGED
Viewed
@@ -90,8 +90,9 @@ class SOCKSError < RuntimeError
90
90
end
91
91
92
92
class TCPSocket
93
+
@@socks_version ||= 5
94
+
93
95
def self.socks_version
94
-
@@socks_version ||= 5
95
96
@@socks_version == 4 ? "\004" : "\005"
96
97
end
97
98
def self.socks_version=(version)
metadata
CHANGED
Viewed
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
segments:
6
6
- 1
7
7
- 1
8
-
-
2
9
-
version: 1.1.
2
8
+
-
3
9
+
version: 1.1.
3
10
10
platform: ruby
11
11
authors:
12
12
- Andrey Kouznetsov