kgio 2.1.0 → 2.1.1
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.
- data/GIT-VERSION-GEN +1 -1
- data/ext/kgio/wait.c +6 -2
- data/kgio.gemspec +1 -1
- metadata +4 -4
data/GIT-VERSION-GEN
CHANGED
data/ext/kgio/wait.c
CHANGED
|
@@ -21,8 +21,10 @@ static ID id_wait_rd, id_wait_wr;
|
|
|
21
21
|
*/
|
|
22
22
|
static VALUE kgio_wait_readable(VALUE self)
|
|
23
23
|
{
|
|
24
|
+
int fd = my_fileno(self);
|
|
25
|
+
|
|
24
26
|
errno = EAGAIN;
|
|
25
|
-
if (!rb_io_wait_readable(
|
|
27
|
+
if (!rb_io_wait_readable(fd))
|
|
26
28
|
rb_sys_fail("kgio_wait_readable");
|
|
27
29
|
|
|
28
30
|
return self;
|
|
@@ -39,8 +41,10 @@ static VALUE kgio_wait_readable(VALUE self)
|
|
|
39
41
|
*/
|
|
40
42
|
static VALUE kgio_wait_writable(VALUE self)
|
|
41
43
|
{
|
|
44
|
+
int fd = my_fileno(self);
|
|
45
|
+
|
|
42
46
|
errno = EAGAIN;
|
|
43
|
-
if (!rb_io_wait_writable(
|
|
47
|
+
if (!rb_io_wait_writable(fd))
|
|
44
48
|
rb_sys_fail("kgio_wait_writable");
|
|
45
49
|
|
|
46
50
|
return self;
|
data/kgio.gemspec
CHANGED
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
|
11
11
|
s.authors = ["#{name} hackers"]
|
|
12
12
|
s.date = Time.now.utc.strftime('%Y-%m-%d')
|
|
13
13
|
s.description = readme_description
|
|
14
|
-
s.email = %q{kgio@
|
|
14
|
+
s.email = %q{kgio@librelist.org}
|
|
15
15
|
s.extra_rdoc_files = extra_rdoc_files(manifest)
|
|
16
16
|
s.files = manifest
|
|
17
17
|
s.rdoc_options = rdoc_options
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kgio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 2.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 2.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- kgio hackers
|
|
@@ -39,7 +39,7 @@ description: |-
|
|
|
39
39
|
exceptions on EAGAIN and EINPROGRESS. It is intended for use with the
|
|
40
40
|
Unicorn and Rainbows! Rack servers, but may be used by other
|
|
41
41
|
applications.
|
|
42
|
-
email: kgio@
|
|
42
|
+
email: kgio@librelist.org
|
|
43
43
|
executables: []
|
|
44
44
|
|
|
45
45
|
extensions:
|