libuv 2.0.11 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f992b0f98efe15092c37128f0a10e7d24675402b
4
- data.tar.gz: 87edf2753f9ae734379e17d7677ea8b11421fea1
3
+ metadata.gz: 3392e84572469e65fb1505dc8ca99782acca89af
4
+ data.tar.gz: bf6311317ca08be77c06a503b4e23b5b574c83e9
5
5
  SHA512:
6
- metadata.gz: 4080eac93197f0822b42541603c7869f95889a8e2822ef54cb059b9ff5616be5472f489bd66f7a246908746dff62a144272f04980a6410c6e3c5bc97a4e86a49
7
- data.tar.gz: 942aef61c0dd569a816b784cd1f3ba6ee255bb6d8b60066e08b73f68110a69743060eb3eeac6f337da38847acc89bfdae76fc07724d3740baad9252a237dcfd5
6
+ metadata.gz: 64e492f11ddcac4a87cb3460459fc64bcbfa5484b8732346c18d03071d693c7a04281298edd32f851e3787fb3cccef87bc4af08ac06a55182f8f8eaef6e03e81
7
+ data.tar.gz: 7a4372cce3b02f884a29cb90a03b3a83bfde40d5b9487a1650185d52df53fb93668898e9a89954dc4c360b9b343f8371df121442d5a8523ad131eee2bc2e1714
data/lib/libuv/ext/ext.rb CHANGED
@@ -137,7 +137,7 @@ module Libuv
137
137
  attach_function :tcp_nodelay, :uv_tcp_nodelay, [:uv_tcp_t, :int], :int, :blocking => true
138
138
  attach_function :tcp_keepalive, :uv_tcp_keepalive, [:uv_tcp_t, :int, :uint], :int, :blocking => true
139
139
  attach_function :tcp_simultaneous_accepts, :uv_tcp_simultaneous_accepts, [:uv_tcp_t, :int], :int, :blocking => true
140
- attach_function :tcp_bind, :uv_tcp_bind, [:uv_tcp_t, :sockaddr_in], :int, :blocking => true
140
+ attach_function :tcp_bind, :uv_tcp_bind, [:uv_tcp_t, :sockaddr_in, :uint], :int, :blocking => true
141
141
  attach_function :tcp_getsockname, :uv_tcp_getsockname, [:uv_tcp_t, :pointer, :pointer], :int, :blocking => true
142
142
  attach_function :tcp_getpeername, :uv_tcp_getpeername, [:uv_tcp_t, :pointer, :pointer], :int, :blocking => true
143
143
  attach_function :tcp_connect, :uv_tcp_connect, [:uv_connect_t, :uv_tcp_t, :sockaddr_in, :uv_connect_cb], :int, :blocking => true
data/lib/libuv/tcp.rb CHANGED
@@ -347,7 +347,7 @@ module Libuv
347
347
  end
348
348
 
349
349
  def tcp_bind
350
- ::Libuv::Ext.tcp_bind(@tcp, @sockaddr)
350
+ ::Libuv::Ext.tcp_bind(@tcp, @sockaddr, 0)
351
351
  end
352
352
  end
353
353
 
data/lib/libuv/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Libuv
2
- VERSION = '2.0.11'
2
+ VERSION = '2.0.12'
3
3
  end
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: 2.0.11
4
+ version: 2.0.12
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: 2018-03-12 00:00:00.000000000 Z
12
+ date: 2018-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi