kgio 2.11.0 → 2.11.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.
- checksums.yaml +5 -5
- data/.olddoc.yml +6 -3
- data/GIT-VERSION-GEN +1 -1
- data/HACKING +2 -2
- data/ISSUES +4 -6
- data/README +8 -9
- data/ext/kgio/wait.c +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5f597184aa46797f8a2a7858e79161278ef4ee6a4a42d6d6ff846122ad8b316a
|
4
|
+
data.tar.gz: 66ea819f6d0dfe148e07d928ec208a5697656634801cefcd2e71e755fc8477c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f01d129d3247512186870a818513578fd930dcd622b8b1eb5b36132c868df5c9dca090b55867e1d9e3c23020505f65f2d69677c090836b4a4545c39308f819df
|
7
|
+
data.tar.gz: 8b5f6612d4fc3dd31607deb1aeeed71244a86557c798bbd1be72650b3a893480c5b4b7a4e69bf2759dbedc9ba33b7f5e32a03aa7314da73f30766f8c1ca6e42c
|
data/.olddoc.yml
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
---
|
2
|
-
cgit_url:
|
2
|
+
cgit_url: https://bogomips.org/kgio.git
|
3
3
|
git_url: git://bogomips.org/kgio.git
|
4
|
-
ml_url:
|
5
|
-
rdoc_url:
|
4
|
+
ml_url: https://bogomips.org/kgio-public/
|
5
|
+
rdoc_url: https://bogomips.org/kgio/
|
6
6
|
public_email: kgio-public@bogomips.org
|
7
7
|
private_email: kgio@bogomips.org
|
8
8
|
noindex:
|
9
9
|
- LATEST
|
10
10
|
- TODO
|
11
|
+
nntp_url:
|
12
|
+
- nntp://news.public-inbox.org/inbox.comp.lang.ruby.kgio
|
13
|
+
- nntp://news.gmane.org/gmane.comp.lang.ruby.kgio.general
|
data/GIT-VERSION-GEN
CHANGED
data/HACKING
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
=== Documentation
|
4
4
|
|
5
|
-
We use the latest version of {olddoc}[
|
5
|
+
We use the latest version of {olddoc}[https://80x24.org/olddoc/] as
|
6
6
|
much as possible.
|
7
7
|
|
8
8
|
Please wrap documentation at 72 characters-per-line or less (long URLs
|
9
9
|
are exempt) so it is comfortably readable from terminals.
|
10
10
|
|
11
11
|
When referencing mailing list posts, use
|
12
|
-
|
12
|
+
<tt>https://bogomips.org/kgio-public/$MESSAGE_ID/</tt> if possible
|
13
13
|
Message-ID remains searchable even if the archive becomes unavailable.
|
14
14
|
|
15
15
|
=== Code Compatibility
|
data/ISSUES
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
The kgio {mailing list}[mailto:kgio-public@bogomips.org] is the best
|
4
4
|
place to report bugs, submit patches and/or obtain support after you
|
5
|
-
have searched the mailing list archives at
|
6
|
-
and {documentation}[
|
5
|
+
have searched the mailing list archives at https://bogomips.org/kgio-public/
|
6
|
+
and {documentation}[https://bogomips.org/kgio/].
|
7
7
|
|
8
8
|
* Do not {top post}[http://catb.org/jargon/html/T/top-post.html] in replies
|
9
9
|
* Quote only the relevant portions of the message you're replying to
|
@@ -30,7 +30,5 @@ guidelines for patch submission.
|
|
30
30
|
|
31
31
|
== Mailing List Archives
|
32
32
|
|
33
|
-
*
|
34
|
-
*
|
35
|
-
(see http://ssoma.public-inbox.org/ for layout)
|
36
|
-
* NNTP coming soon
|
33
|
+
* https://bogomips.org/kgio-public/
|
34
|
+
* nntp://news.public-inbox.org/inbox.comp.lang.ruby.kgio
|
data/README
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
= kgio - kinder, gentler I/O for Ruby
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
This is a legacy project, do not use it for new projects. Ruby
|
4
|
+
2.3 and later should make this obsolete. kgio provides
|
5
|
+
non-blocking I/O methods for Ruby without raising exceptions on
|
6
|
+
EAGAIN and EINPROGRESS.
|
7
7
|
|
8
8
|
== Features
|
9
9
|
|
@@ -11,7 +11,7 @@ Unix-like platforms).
|
|
11
11
|
returning :wait_readable or :wait_writable instead.
|
12
12
|
These exceptions got more expensive to hit under Ruby 1.9.2
|
13
13
|
(but were fixed in Ruby 1.9.3 and later to 1.9.1 performance levels,
|
14
|
-
|
14
|
+
which were still bad)
|
15
15
|
|
16
16
|
* Returns the unwritten portion of the string on partial writes,
|
17
17
|
making it ideal for buffering unwritten data.
|
@@ -21,9 +21,8 @@ Unix-like platforms).
|
|
21
21
|
callbacks (such as adding the file descriptor to a poll set and yielding
|
22
22
|
the current Fiber).
|
23
23
|
|
24
|
-
* Uses
|
25
|
-
|
26
|
-
on new GNU/Linux systems to avoid unnecessary fcntl() calls
|
24
|
+
* Uses {accept4}[http://man7.org/linux/man-pages/man2/accept4.2.html]
|
25
|
+
on newer GNU/Linux systems to avoid unnecessary fcntl() calls
|
27
26
|
|
28
27
|
* Uses MSG_DONTWAIT on GNU/Linux to further avoid unnecessary fcntl() calls
|
29
28
|
|
@@ -46,7 +45,7 @@ You can get the latest source via git from the following locations
|
|
46
45
|
You may browse the code from the web and download the latest snapshot
|
47
46
|
tarballs here:
|
48
47
|
|
49
|
-
*
|
48
|
+
* https://bogomips.org/kgio.git
|
50
49
|
* http://repo.or.cz/w/kgio.git (gitweb)
|
51
50
|
|
52
51
|
See the HACKING guide on how to contribute and build prerelease gems
|
data/ext/kgio/wait.c
CHANGED
@@ -92,12 +92,12 @@ static VALUE kgio_wait_writable(int argc, VALUE *argv, VALUE self)
|
|
92
92
|
|
93
93
|
VALUE kgio_call_wait_writable(VALUE io)
|
94
94
|
{
|
95
|
-
return rb_funcall(io, id_wait_wr, 0
|
95
|
+
return rb_funcall(io, id_wait_wr, 0);
|
96
96
|
}
|
97
97
|
|
98
98
|
VALUE kgio_call_wait_readable(VALUE io)
|
99
99
|
{
|
100
|
-
return rb_funcall(io, id_wait_rd, 0
|
100
|
+
return rb_funcall(io, id_wait_rd, 0);
|
101
101
|
}
|
102
102
|
|
103
103
|
void init_kgio_wait(void)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kgio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kgio hackers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: olddoc
|
@@ -39,10 +39,10 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.0'
|
41
41
|
description: |-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
This is a legacy project, do not use it for new projects. Ruby
|
43
|
+
2.3 and later should make this obsolete. kgio provides
|
44
|
+
non-blocking I/O methods for Ruby without raising exceptions on
|
45
|
+
EAGAIN and EINPROGRESS.
|
46
46
|
email: kgio-public@bogomips.org
|
47
47
|
executables: []
|
48
48
|
extensions:
|
@@ -134,7 +134,7 @@ files:
|
|
134
134
|
- test/test_unix_connect.rb
|
135
135
|
- test/test_unix_server.rb
|
136
136
|
- test/test_unix_server_read_client_write.rb
|
137
|
-
homepage:
|
137
|
+
homepage: https://bogomips.org/kgio/
|
138
138
|
licenses:
|
139
139
|
- LGPL-2.1+
|
140
140
|
metadata: {}
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.
|
157
|
+
rubygems_version: 2.7.3
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: kinder, gentler I/O for Ruby
|