uv-rays 1.1.0 → 1.2.0

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: 5b5c51e15ae7d4607fd3433140c8bcd6326fd10c
4
- data.tar.gz: 8c622ba1232907afd7f2502640dd17945ec06c67
3
+ metadata.gz: 0759a135c26514aba31009fc00e7bcc168e787a8
4
+ data.tar.gz: e40f9b7b666cca5ffa1d6f31601d64c28f527b3f
5
5
  SHA512:
6
- metadata.gz: 086fd9607731b37d9cf8ddd0b48a1334d6053b138ada693c8dfd164fe43769727e35b5a721100819ce1afbb2204e047d396a37dec794d7ea3e85c12783aee456
7
- data.tar.gz: 9e336c363de277ede38a1a77e6898a59278eb58c49b57d600022cc1689c27120e657c80237fe86f1afe7a280f130c48bec78430a5c69274fe164bd9526187d03
6
+ metadata.gz: 93b706bc8dea30c146013de18584510888e585163dfdcf37d590afaeaccd2628e01f99d98726234a9282dfdf0a8717bef7af673f2e631ef7bf7bde01a04a0e2d
7
+ data.tar.gz: 2d762b61e7d2849b4eb77127cf1c8039015d815d20954e01a303017a1938d6c243d4767892d591b99996f4578e5eb2565d213438440451aae54c9eca143815a3
@@ -6,7 +6,6 @@ module UV
6
6
 
7
7
  @klass = klass
8
8
  @args = args
9
- @accept_method = method(:client_accepted)
10
9
 
11
10
  if server == port && port.is_a?(Fixnum)
12
11
  # We are opening a socket descriptor
@@ -28,11 +27,7 @@ module UV
28
27
  private
29
28
 
30
29
 
31
- def new_connection(server)
32
- server.accept @accept_method
33
- end
34
-
35
- def client_accepted(client)
30
+ def new_connection(client)
36
31
  # prevent buffering
37
32
  client.enable_nodelay
38
33
 
@@ -1,3 +1,3 @@
1
1
  module UV
2
- VERSION = '1.1.0'
2
+ VERSION = '1.2.0'
3
3
  end
data/uv-rays.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.required_ruby_version = '>= 1.9.2'
14
14
  gem.require_paths = ["lib"]
15
15
 
16
- gem.add_runtime_dependency 'libuv', '>= 0.11.20'
16
+ gem.add_runtime_dependency 'libuv', '>= 2.0.0'
17
17
  gem.add_runtime_dependency 'bisect'
18
18
  gem.add_runtime_dependency 'tzinfo'
19
19
  gem.add_runtime_dependency 'cookiejar'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uv-rays
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-28 00:00:00.000000000 Z
11
+ date: 2015-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libuv
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.20
19
+ version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.11.20
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bisect
29
29
  requirement: !ruby/object:Gem::Requirement