socksify-a 1.1.2 → 1.1.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.
Files changed (2) hide show
  1. data/lib/socksify.rb +2 -1
  2. metadata +2 -2
data/lib/socksify.rb CHANGED
@@ -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
@@ -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