em-socksify 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfb363c6f87e596fef416b628cf8805ed4cbbbbb
4
- data.tar.gz: 1c6dc0904d53259c818e6d6cb5923a2b262b5677
3
+ metadata.gz: 19a64d41d0e5a971e90f49f9d2fff72ef6d332f1
4
+ data.tar.gz: b84319d1a48777ee8ab89ea082fc740aeac551d9
5
5
  SHA512:
6
- metadata.gz: 70e7c09912c1bcb54de7765ba99854f827a97ffde975e4af4e53210e1b7dd1dffd4b8273b8cfc11d364124297d4a3e535ae389cffd4f0cc06d9c8fac7f735d8a
7
- data.tar.gz: 06a2d11a2e889584697387859d0dff1f06ce934621b0cf4543e1b435f57f0f5d0edd5ca7bcbb4d01247060525e03a5a2b81fc2dfa1e699691e8a9e9d2d35c748
6
+ metadata.gz: 3c7d00ccce64723dabb97e63fb51e11c01e879e37246e7641981a489445dd295bbbe9ff1e1a8892a35d0baaaa4cc94370de51e474184e6e192d4270e40805f00
7
+ data.tar.gz: a5fa763e7873a624a77e140031f02e84fd4fff1b1037d72dce48790d4e26a65c78db2b26c55b206043c6007d128046a8c16ea4a39b112a8517988857e929c5f8
@@ -20,7 +20,7 @@ module EventMachine
20
20
  end
21
21
 
22
22
  connect_unhook
23
- rescue Exception => e
23
+ rescue => e
24
24
  @connect_deferrable.fail e
25
25
  end
26
26
  end
@@ -2,7 +2,7 @@ module EventMachine
2
2
  module Socksify
3
3
 
4
4
  class SOCKSError < Exception
5
- def self.define (message)
5
+ def self.define(message)
6
6
  Class.new(self) do
7
7
  def initialize
8
8
  super(message)
@@ -67,7 +67,7 @@ module EventMachine
67
67
  raise SOCKSError, "SOCKS version 5 not supported" unless socks_version == 5
68
68
  raise SOCKSError, 'access denied by proxy' unless status_code == 0
69
69
 
70
- send_socks_connect_request
70
+ socks_send_connect_request
71
71
 
72
72
  when :connecting
73
73
  return unless @socks_data.size >= 2
@@ -1,5 +1,5 @@
1
1
  module EventMachine
2
2
  module Socksify
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-socksify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Grigorik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-21 00:00:00.000000000 Z
11
+ date: 2018-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project: em-socksify
97
- rubygems_version: 2.4.5
97
+ rubygems_version: 2.6.11
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Transparent proxy support for any EventMachine protocol