libuv 0.11.7 → 0.11.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libuv/ext/tasks.rb +1 -1
- data/lib/libuv/loop.rb +1 -1
- data/lib/libuv/tcp.rb +12 -0
- data/lib/libuv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52d38595bf236db2b42ddef34fc7e155adfde67a
|
4
|
+
data.tar.gz: 777bb7bfb0b28d2cc40824a038b8226baede054d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 431ae6e5b77407b13790db04fc6c782c63952b86c83686399f49467b69790dbcb9c3b628e590a93cf1d340297d4cc5d1fdfcd628c97003f9c43e8b92978ea888
|
7
|
+
data.tar.gz: e17c15c32b7e1ee7af521998196c9eb3e390755dbbf4d39608c2ed35b2362242c9c17abbd329262ae3d68f19db18aacfaaba66c94ca91e333c9a703ac95d2a6e
|
data/lib/libuv/ext/tasks.rb
CHANGED
@@ -15,7 +15,7 @@ end
|
|
15
15
|
file 'ext/libuv/build/gyp' => 'ext/libuv/build' do
|
16
16
|
result = true
|
17
17
|
if not File.directory?('ext/libuv/build/gyp')
|
18
|
-
result = system "svn", "export", "-
|
18
|
+
result = system "svn", "export", "-r1824", "http://gyp.googlecode.com/svn/trunk", "ext/libuv/build/gyp"
|
19
19
|
end
|
20
20
|
raise 'unable to download gyp' unless result
|
21
21
|
end
|
data/lib/libuv/loop.rb
CHANGED
data/lib/libuv/tcp.rb
CHANGED
@@ -126,6 +126,18 @@ module Libuv
|
|
126
126
|
deferred.promise
|
127
127
|
end
|
128
128
|
end
|
129
|
+
|
130
|
+
alias_method :do_shutdown, :shutdown
|
131
|
+
def shutdown
|
132
|
+
return if @closed
|
133
|
+
if @tls.nil?
|
134
|
+
do_shutdown
|
135
|
+
elsif @handshake == false && @pending_writes.length > 0
|
136
|
+
@pending_writes[-1][0].finally method(:do_shutdown)
|
137
|
+
else
|
138
|
+
do_shutdown
|
139
|
+
end
|
140
|
+
end
|
129
141
|
#
|
130
142
|
# END TLS Abstraction ------------------
|
131
143
|
# --------------------------------------
|
data/lib/libuv/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libuv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bulat Shakirzyanov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-01-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|