libuv 2.0.8 → 2.0.9
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 +4 -4
- data/.travis.yml +6 -0
- data/lib/libuv/timer.rb +1 -1
- data/lib/libuv/udp.rb +3 -0
- data/lib/libuv/version.rb +1 -1
- data/spec/timer_spec.rb +14 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6eb385bf4589ab1f536738973bce48b336450cb
|
4
|
+
data.tar.gz: 6ca90889175ba8e0fe687fefec7185118d43fe23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 988c1057702e7eb62c1636a6cef39904868c1c805a073e65864c091a91a07354b33946aa68200f58d8fdd338ae9bee51415afc444277cf2c99636028f45c28fe
|
7
|
+
data.tar.gz: 413d8ae7c0f65eb0a7f8f7d2bfbac9721ed2798bb55706cbf4482179fbabb57bff6d5e67fb6c0239528655ba04849203e43112e94cd77b3f36e4f1858aebcf27
|
data/.travis.yml
CHANGED
@@ -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
|
data/lib/libuv/timer.rb
CHANGED
data/lib/libuv/udp.rb
CHANGED
data/lib/libuv/version.rb
CHANGED
data/spec/timer_spec.rb
ADDED
@@ -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.
|
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-
|
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-
|
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.
|
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:
|