cool.io 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/ext/cool.io/stat_watcher.c +2 -2
- data/ext/cool.io/timer_watcher.c +2 -2
- data/ext/cool.io/watcher.h +1 -1
- data/lib/cool.io/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d730937f1acab28544c904ae2952ed826e8b475
|
4
|
+
data.tar.gz: 728a5a46fa65974a989c38f43249b43eca62fda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff24cd2f7ae57c9f67f70fa7537640ae5e627f274a281eb9888f103ecbb79c330a672678ed83699f420b09259598f57bebfb9051bcf7c31e831cf57d63c53741
|
7
|
+
data.tar.gz: bbf3ecbac1d11057ac86a7cf5d5b1fa7a018249e19f9d780f48da9d6e401d366acdde024fccbaec928cd56308e60f564066debc0c2d48548989d94a243e1333b
|
data/CHANGES.md
CHANGED
data/ext/cool.io/stat_watcher.c
CHANGED
@@ -116,8 +116,8 @@ static VALUE Coolio_StatWatcher_attach(VALUE self, VALUE loop)
|
|
116
116
|
struct Coolio_Loop *loop_data;
|
117
117
|
struct Coolio_Watcher *watcher_data;
|
118
118
|
|
119
|
-
|
120
|
-
|
119
|
+
if(!rb_obj_is_kind_of(loop, cCoolio_Loop))
|
120
|
+
rb_raise(rb_eArgError, "expected loop to be an instance of Coolio::Loop, not %s", RSTRING_PTR(rb_inspect(loop)));
|
121
121
|
|
122
122
|
Data_Get_Struct(loop, struct Coolio_Loop, loop_data);
|
123
123
|
Data_Get_Struct(self, struct Coolio_Watcher, watcher_data);
|
data/ext/cool.io/timer_watcher.c
CHANGED
@@ -95,8 +95,8 @@ static VALUE Coolio_TimerWatcher_attach(VALUE self, VALUE loop)
|
|
95
95
|
struct Coolio_Loop *loop_data;
|
96
96
|
struct Coolio_Watcher *watcher_data;
|
97
97
|
|
98
|
-
|
99
|
-
|
98
|
+
if(!rb_obj_is_kind_of(loop, cCoolio_Loop))
|
99
|
+
rb_raise(rb_eArgError, "expected loop to be an instance of Coolio::Loop, not %s", RSTRING_PTR(rb_inspect(loop)));
|
100
100
|
|
101
101
|
Data_Get_Struct(loop, struct Coolio_Loop, loop_data);
|
102
102
|
Data_Get_Struct(self, struct Coolio_Watcher, watcher_data);
|
data/ext/cool.io/watcher.h
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
struct Coolio_Loop *loop_data; \
|
13
13
|
\
|
14
14
|
if(!rb_obj_is_kind_of(loop, cCoolio_Loop)) \
|
15
|
-
rb_raise(rb_eArgError, "expected loop to be an instance of Coolio::Loop"); \
|
15
|
+
rb_raise(rb_eArgError, "expected loop to be an instance of Coolio::Loop, not %s", RSTRING_PTR(rb_inspect(loop))); \
|
16
16
|
\
|
17
17
|
Data_Get_Struct(watcher, struct Coolio_Watcher, watcher_data); \
|
18
18
|
Data_Get_Struct(loop, struct Coolio_Loop, loop_data); \
|
data/lib/cool.io/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cool.io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Arcieri
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
173
|
rubyforge_project:
|
174
|
-
rubygems_version: 2.
|
174
|
+
rubygems_version: 2.4.5.1
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: A cool framework for doing high performance I/O in Ruby
|