libuv 2.0.8 → 2.0.9

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: 41ddc84e1a810a7612a8110fff4ca3198e64491c
4
- data.tar.gz: b2fabb89a9157bb01ea0a7d9d46546460c1bccd2
3
+ metadata.gz: f6eb385bf4589ab1f536738973bce48b336450cb
4
+ data.tar.gz: 6ca90889175ba8e0fe687fefec7185118d43fe23
5
5
  SHA512:
6
- metadata.gz: 2a11115fd3ee36971ad3a79bd6c7b2e413d2f37738e2e64d2eab37fd3e218f6b3e385d07b8dccbebe4ac1119ea3d6c437262215e414d10eb5cebb4e9768fb1f1
7
- data.tar.gz: 86343c92ae7edfa6606bff919242127083620db9c2d254074b533c19d9db98dca9588c741765ae344d11ae1280b9344501ff3443a78431564a403f3321d72a74
6
+ metadata.gz: 988c1057702e7eb62c1636a6cef39904868c1c805a073e65864c091a91a07354b33946aa68200f58d8fdd338ae9bee51415afc444277cf2c99636028f45c28fe
7
+ data.tar.gz: 413d8ae7c0f65eb0a7f8f7d2bfbac9721ed2798bb55706cbf4482179fbabb57bff6d5e67fb6c0239528655ba04849203e43112e94cd77b3f36e4f1858aebcf27
@@ -4,6 +4,7 @@ rvm:
4
4
  - "2.2"
5
5
  - ruby-head
6
6
  - rbx-2
7
+ - rbx
7
8
  - jruby-head
8
9
  branches:
9
10
  only:
@@ -14,3 +15,8 @@ before_install:
14
15
  before_script:
15
16
  - rake compile
16
17
  sudo: false
18
+ matrix:
19
+ allow_failures:
20
+ - rvm: jruby-head
21
+ - rvm: ruby-head
22
+ - rvm: rbx
@@ -55,7 +55,7 @@ module Libuv
55
55
  def repeat=(repeat)
56
56
  return if @closed
57
57
  repeat = repeat.to_i
58
- check_result ::Libuv::Ext.timer_set_repeat(handle, repeat)
58
+ error = check_result ::Libuv::Ext.timer_set_repeat(handle, repeat)
59
59
  reject(error) if error
60
60
  end
61
61
 
@@ -1,3 +1,6 @@
1
+ require 'ipaddr'
2
+
3
+
1
4
  module Libuv
2
5
  class UDP < Handle
3
6
  include Net
@@ -1,3 +1,3 @@
1
1
  module Libuv
2
- VERSION = '2.0.8'
2
+ VERSION = '2.0.9'
3
3
  end
@@ -0,0 +1,14 @@
1
+ require 'libuv'
2
+
3
+ describe Libuv::Timer do
4
+ describe 'setting properties' do
5
+ it "should allow repeat to be set" do
6
+ @loop = Libuv::Loop.new
7
+ @loop.run { |logger|
8
+ @timer = @loop.timer
9
+ @timer.repeat = 5
10
+ expect(@timer.repeat).to eq(5)
11
+ }
12
+ end
13
+ end
14
+ 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.8
4
+ version: 2.0.9
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: 2016-03-31 00:00:00.000000000 Z
12
+ date: 2016-08-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -180,7 +180,7 @@ files:
180
180
  - ext/libuv/img/banner.png
181
181
  - ext/libuv/img/logos.svg
182
182
  - ext/libuv/include/android-ifaddrs.h
183
- - ext/libuv/include/pthread-fixes.h
183
+ - ext/libuv/include/pthread-barrier.h
184
184
  - ext/libuv/include/stdint-msvc2008.h
185
185
  - ext/libuv/include/tree.h
186
186
  - ext/libuv/include/uv-aix.h
@@ -244,6 +244,7 @@ files:
244
244
  - ext/libuv/src/unix/poll.c
245
245
  - ext/libuv/src/unix/process.c
246
246
  - ext/libuv/src/unix/proctitle.c
247
+ - ext/libuv/src/unix/pthread-barrier.c
247
248
  - ext/libuv/src/unix/pthread-fixes.c
248
249
  - ext/libuv/src/unix/signal.c
249
250
  - ext/libuv/src/unix/spinlock.h
@@ -496,6 +497,7 @@ files:
496
497
  - spec/idle_spec.rb
497
498
  - spec/pipe_spec.rb
498
499
  - spec/tcp_spec.rb
500
+ - spec/timer_spec.rb
499
501
  - spec/udp_spec.rb
500
502
  - spec/zen_spec.rb
501
503
  homepage: https://github.com/cotag/libuv
@@ -518,7 +520,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
518
520
  version: '0'
519
521
  requirements: []
520
522
  rubyforge_project:
521
- rubygems_version: 2.4.6
523
+ rubygems_version: 2.5.1
522
524
  signing_key:
523
525
  specification_version: 4
524
526
  summary: libuv bindings for Ruby
@@ -532,6 +534,7 @@ test_files:
532
534
  - spec/idle_spec.rb
533
535
  - spec/pipe_spec.rb
534
536
  - spec/tcp_spec.rb
537
+ - spec/timer_spec.rb
535
538
  - spec/udp_spec.rb
536
539
  - spec/zen_spec.rb
537
540
  has_rdoc: