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 +4 -4
- data/lib/uv-rays/tcp_server.rb +1 -6
- data/lib/uv-rays/version.rb +1 -1
- data/uv-rays.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0759a135c26514aba31009fc00e7bcc168e787a8
|
4
|
+
data.tar.gz: e40f9b7b666cca5ffa1d6f31601d64c28f527b3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93b706bc8dea30c146013de18584510888e585163dfdcf37d590afaeaccd2628e01f99d98726234a9282dfdf0a8717bef7af673f2e631ef7bf7bde01a04a0e2d
|
7
|
+
data.tar.gz: 2d762b61e7d2849b4eb77127cf1c8039015d815d20954e01a303017a1938d6c243d4767892d591b99996f4578e5eb2565d213438440451aae54c9eca143815a3
|
data/lib/uv-rays/tcp_server.rb
CHANGED
@@ -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(
|
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
|
|
data/lib/uv-rays/version.rb
CHANGED
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.
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bisect
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|