em-socksify 0.3.1 → 0.3.3

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
- SHA1:
3
- metadata.gz: bfb363c6f87e596fef416b628cf8805ed4cbbbbb
4
- data.tar.gz: 1c6dc0904d53259c818e6d6cb5923a2b262b5677
2
+ SHA256:
3
+ metadata.gz: 1bdcaaa357cd01961472cabfb999f2e1c9d09ab0e73df4a22cfec9aab6251513
4
+ data.tar.gz: 780cce827092a96a2a9262fba626b1e269eb926810188aa2b46c1548b1c2b381
5
5
  SHA512:
6
- metadata.gz: 70e7c09912c1bcb54de7765ba99854f827a97ffde975e4af4e53210e1b7dd1dffd4b8273b8cfc11d364124297d4a3e535ae389cffd4f0cc06d9c8fac7f735d8a
7
- data.tar.gz: 06a2d11a2e889584697387859d0dff1f06ce934621b0cf4543e1b435f57f0f5d0edd5ca7bcbb4d01247060525e03a5a2b81fc2dfa1e699691e8a9e9d2d35c748
6
+ metadata.gz: bde0abd29a7245cc824737e75afdf8ff54974b0e77681f626560a6718ed4bb58b52935e4d7f1b35edc8b98a73d6ee5fa4de12889bdc434c05f8affa84f32242c
7
+ data.tar.gz: 4b7a0b52c83779e0297d4ce2f9ee9641ed1d50d3d1449bed066f9d0e1fe6c620873f806d78cfadbab29d19f7eb93d0f35feb2cda9d6146e46a974df7af55f5e3
data/em-socksify.gemspec CHANGED
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.rubyforge_project = "em-socksify"
17
17
 
18
+ s.add_dependency "base64"
18
19
  s.add_dependency "eventmachine", ">= 1.0.0.beta.4"
19
20
  s.add_development_dependency "rspec"
20
21
  s.add_development_dependency "rake"
@@ -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.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,29 @@
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Grigorik
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-21 00:00:00.000000000 Z
11
+ date: 2024-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: base64
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: eventmachine
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -61,7 +75,6 @@ extra_rdoc_files: []
61
75
  files:
62
76
  - ".gitignore"
63
77
  - Gemfile
64
- - MIT-LICENSE
65
78
  - README.md
66
79
  - Rakefile
67
80
  - em-socksify.gemspec
@@ -78,7 +91,7 @@ homepage: https://github.com/igrigorik/em-socksify
78
91
  licenses:
79
92
  - MIT
80
93
  metadata: {}
81
- post_install_message:
94
+ post_install_message:
82
95
  rdoc_options: []
83
96
  require_paths:
84
97
  - lib
@@ -93,9 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
106
  - !ruby/object:Gem::Version
94
107
  version: '0'
95
108
  requirements: []
96
- rubyforge_project: em-socksify
97
- rubygems_version: 2.4.5
98
- signing_key:
109
+ rubygems_version: 3.3.26
110
+ signing_key:
99
111
  specification_version: 4
100
112
  summary: Transparent proxy support for any EventMachine protocol
101
113
  test_files:
data/MIT-LICENSE DELETED
@@ -1,10 +0,0 @@
1
- Copyright (c) 2014, Ilya Grigorik and Other Contributors
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
-
6
- 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
-
8
- 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
-
10
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.