io_splice 4.4.0 → 4.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.olddoc.yml +4 -5
- data/GIT-VERSION-GEN +1 -1
- data/LICENSE +1 -1
- data/README +16 -42
- data/lib/io/splice.rb +2 -2
- data/pkg.mk +6 -13
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d1a9a41f4e90815a9229eddc57ec6d47ca4ba621ae482afbb0e33ae6566f826a
|
4
|
+
data.tar.gz: 2c15db80ffa0774361b73b16b925de8055ae4c13c83f9f5a21bcf3ec0f98fb96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9832ac55fda430c1b6cfe541f07bfafd981a94473330550ba0947402c3cf2562c357ecd9d4f9f8b0255c2932bacaa718979699538a3eccc4ae70524242539eb
|
7
|
+
data.tar.gz: 4efb7e0db4590fb857e5a7b1661622dba7ba47b311496a4a11ff6cfddf1b0b1647a3fbab810fbdb26bdf7a64b50abaf717bda0365d1b078cb1e7f9ccaaaf90d1
|
data/.olddoc.yml
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
---
|
2
|
-
cgit_url:
|
3
|
-
git_url:
|
4
|
-
rdoc_url:
|
2
|
+
cgit_url: https://bogomips.org/ruby_io_splice.git
|
3
|
+
git_url: https://bogomips.org/ruby_io_splice.git
|
4
|
+
rdoc_url: https://bogomips.org/ruby_io_splice/
|
5
5
|
public_email: ruby-io-splice@bogomips.org
|
6
|
-
|
7
|
-
ml_url: http://bogomips.org/ruby-io-splice/
|
6
|
+
ml_url: https://bogomips.org/ruby-io-splice/
|
data/GIT-VERSION-GEN
CHANGED
data/LICENSE
CHANGED
@@ -3,7 +3,7 @@ revision control for names and email addresses of all of them.
|
|
3
3
|
|
4
4
|
You can redistribute it and/or modify it under the terms of the GNU
|
5
5
|
Lesser General Public License as published by the Free Software Foundation,
|
6
|
-
version 2.1 or later {LGPLv2.1}[
|
6
|
+
version 2.1 or later {LGPLv2.1}[https://www.gnu.org/licenses/lgpl-2.1.txt]
|
7
7
|
(see link:COPYING).
|
8
8
|
|
9
9
|
io_splice is distributed in the hope that it will be useful, but WITHOUT
|
data/README
CHANGED
@@ -3,7 +3,10 @@
|
|
3
3
|
The splice family of Linux system calls can transfer data between file
|
4
4
|
descriptors without the need to copy data into userspace. Instead of a
|
5
5
|
userspace buffer, they rely on an ordinary Unix pipe as a kernel-level
|
6
|
-
buffer.
|
6
|
+
buffer. The `splice' and `tee' syscalls are also provided by the
|
7
|
+
{sleepy_penguin}[https://bogomips.org/sleepy_penguin/] library.
|
8
|
+
"io_splice" remains maintained for old applications or users
|
9
|
+
experimenting with the vmsplice syscalls
|
7
10
|
|
8
11
|
== Features
|
9
12
|
|
@@ -21,7 +24,7 @@ buffer.
|
|
21
24
|
when combined with the IO::Splice::F_NONBLOCK flag.
|
22
25
|
|
23
26
|
* Fully-documented library API and
|
24
|
-
{examples}[
|
27
|
+
{examples}[https://bogomips.org/ruby_io_splice/examples/]
|
25
28
|
|
26
29
|
* Adds helpful IO#pipe_size and IO#pipe_size= accessor methods for
|
27
30
|
resizing the pipe buffer in Linux 2.6.35 or later.
|
@@ -43,7 +46,7 @@ If you use RubyGems:
|
|
43
46
|
|
44
47
|
Otherwise grab the latest tarball from:
|
45
48
|
|
46
|
-
|
49
|
+
https://bogomips.org/ruby_io_splice/files/
|
47
50
|
|
48
51
|
Unpack it, and run "ruby setup.rb"
|
49
52
|
|
@@ -66,18 +69,18 @@ standardized and available in non-Linux kernels some day.
|
|
66
69
|
|
67
70
|
You can get the latest source via git from the following locations:
|
68
71
|
|
69
|
-
|
70
|
-
|
72
|
+
https://bogomips.org/ruby_io_splice.git
|
73
|
+
https://repo.or.cz/w/ruby_io_splice.git (mirror)
|
71
74
|
|
72
75
|
You may browse the code from the web and download the latest snapshot
|
73
76
|
tarballs here:
|
74
77
|
|
75
|
-
*
|
76
|
-
*
|
78
|
+
* https://bogomips.org/ruby_io_splice.git
|
79
|
+
* https://repo.or.cz/w/ruby_io_splice.git (gitweb)
|
77
80
|
|
78
81
|
Inline patches (from "git format-patch") to the mailing list are
|
79
82
|
preferred because they allow code review and comments in the reply to
|
80
|
-
the patch.
|
83
|
+
the patch, but attachments are fine, too.
|
81
84
|
|
82
85
|
We will adhere to mostly the same conventions for patch submissions as
|
83
86
|
git itself. See the Documentation/SubmittingPatches document
|
@@ -95,38 +98,9 @@ will usually get a response within 24-72 hours.
|
|
95
98
|
|
96
99
|
== Mailing List Archives
|
97
100
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
to mailto:ruby-io-splice+subscribe@bogomips.org
|
101
|
+
* https://bogomips.org/ruby-io-splice/
|
102
|
+
* nntp://news.public-inbox.org/inbox.comp.lang.ruby.io-splice
|
103
|
+
* nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.io-splice
|
102
104
|
|
103
|
-
|
104
|
-
|
105
|
-
subscription instructions:
|
106
|
-
|
107
|
-
URL=git://bogomips.org/ruby-io-splice
|
108
|
-
LISTNAME=ruby-io-splice
|
109
|
-
|
110
|
-
# to initialize a maildir (this may be a new or existing maildir,
|
111
|
-
# ssoma will not touch existing messages)
|
112
|
-
# If you prefer mbox, use mbox:/path/to/mbox as the last argument
|
113
|
-
# You may also use imap://$MAILSERVER/INBOX for an IMAP account
|
114
|
-
# or imaps:// for an IMAPS account, as well.
|
115
|
-
ssoma add $LISTNAME $URL maildir:/path/to/maildir
|
116
|
-
|
117
|
-
# read with your favorite MUA (only using mutt as an example)
|
118
|
-
mutt -f /path/to/maildir # (or /path/to/mbox)
|
119
|
-
|
120
|
-
# to keep your mbox or maildir up-to-date, periodically run:
|
121
|
-
ssoma sync $LISTNAME
|
122
|
-
|
123
|
-
# your MUA may modify and delete messages from the maildir or mbox,
|
124
|
-
# this does not affect ssoma functionality at all
|
125
|
-
|
126
|
-
# to sync all your ssoma subscriptions
|
127
|
-
ssoma sync
|
128
|
-
|
129
|
-
# You may wish to sync in your cronjob
|
130
|
-
ssoma sync --cron
|
131
|
-
|
132
|
-
* http://bogomips.org/ruby-io-splice/
|
105
|
+
Anybody may post without a subscription, but HTML mail will
|
106
|
+
be rejected: mailto:ruby-io-splice@bogomips.org
|
data/lib/io/splice.rb
CHANGED
data/pkg.mk
CHANGED
@@ -13,14 +13,6 @@ RUBY_VERSION := $(shell $(RUBY) -e 'puts RUBY_VERSION')
|
|
13
13
|
RUBY_ENGINE := $(shell $(RUBY) -e 'puts((RUBY_ENGINE rescue "ruby"))')
|
14
14
|
lib := lib
|
15
15
|
|
16
|
-
ifeq ($(shell test -f script/isolate_for_tests && echo t),t)
|
17
|
-
isolate_libs := tmp/isolate/$(RUBY_ENGINE)-$(RUBY_VERSION)/isolate.mk
|
18
|
-
$(isolate_libs): script/isolate_for_tests
|
19
|
-
@$(RUBY) script/isolate_for_tests
|
20
|
-
-include $(isolate_libs)
|
21
|
-
lib := $(lib):$(ISOLATE_LIBS)
|
22
|
-
endif
|
23
|
-
|
24
16
|
ext := $(firstword $(wildcard ext/*))
|
25
17
|
ifneq ($(ext),)
|
26
18
|
ext_pfx := tmp/ext/$(RUBY_ENGINE)-$(RUBY_VERSION)
|
@@ -37,7 +29,7 @@ $(ext_pfx)/$(ext)/%: $(ext)/% $(ext_d)
|
|
37
29
|
install -m 644 $< $@
|
38
30
|
$(ext_pfx)/$(ext)/Makefile: $(ext)/extconf.rb $(ext_d) $(ext_h)
|
39
31
|
$(RM) -f $(@D)/*.o
|
40
|
-
cd $(@D) && $(RUBY) $(CURDIR)/$(ext)/extconf.rb
|
32
|
+
cd $(@D) && $(RUBY) $(CURDIR)/$(ext)/extconf.rb $(EXTCONF_ARGS)
|
41
33
|
ext_sfx := _ext.$(DLEXT)
|
42
34
|
ext_dl := $(ext_pfx)/$(ext)/$(notdir $(ext)_ext.$(DLEXT))
|
43
35
|
$(ext_dl): $(ext_src) $(ext_pfx_src) $(ext_pfx)/$(ext)/Makefile
|
@@ -94,7 +86,7 @@ fix-perms:
|
|
94
86
|
gem: $(pkggem)
|
95
87
|
|
96
88
|
install-gem: $(pkggem)
|
97
|
-
gem install $(CURDIR)/$<
|
89
|
+
gem install --local $(CURDIR)/$<
|
98
90
|
|
99
91
|
$(pkggem): manifest fix-perms
|
100
92
|
gem build $(rfpackage).gemspec
|
@@ -121,9 +113,10 @@ gem install-gem: GIT-VERSION-FILE
|
|
121
113
|
$(MAKE) $@ VERSION=$(GIT_VERSION)
|
122
114
|
endif
|
123
115
|
|
124
|
-
all::
|
116
|
+
all:: check
|
125
117
|
test_units := $(wildcard test/test_*.rb)
|
126
|
-
test:
|
118
|
+
test: check
|
119
|
+
check: test-unit
|
127
120
|
test-unit: $(test_units)
|
128
121
|
$(test_units): build
|
129
122
|
$(RUBY) -I $(lib) $@ $(RUBY_TEST_OPTS)
|
@@ -153,5 +146,5 @@ $(PLACEHOLDERS):
|
|
153
146
|
echo olddoc_placeholder > $@
|
154
147
|
endif
|
155
148
|
|
156
|
-
.PHONY: all .FORCE-GIT-VERSION-FILE doc test $(test_units) manifest
|
149
|
+
.PHONY: all .FORCE-GIT-VERSION-FILE doc check test $(test_units) manifest
|
157
150
|
.PHONY: check-warnings
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: io_splice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.4.
|
4
|
+
version: 4.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruby io_splice hackers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: olddoc
|
@@ -28,7 +28,10 @@ description: |-
|
|
28
28
|
The splice family of Linux system calls can transfer data between file
|
29
29
|
descriptors without the need to copy data into userspace. Instead of a
|
30
30
|
userspace buffer, they rely on an ordinary Unix pipe as a kernel-level
|
31
|
-
buffer.
|
31
|
+
buffer. The `splice' and `tee' syscalls are also provided by the
|
32
|
+
{sleepy_penguin}[https://bogomips.org/sleepy_penguin/] library.
|
33
|
+
"io_splice" remains maintained for old applications or users
|
34
|
+
experimenting with the vmsplice syscalls
|
32
35
|
email: ruby-io-splice@bogomips.org
|
33
36
|
executables: []
|
34
37
|
extensions:
|
@@ -68,7 +71,7 @@ files:
|
|
68
71
|
- test/test_io_splice.rb
|
69
72
|
- test/test_io_splice_eintr.rb
|
70
73
|
- test/test_io_splice_in_full.rb
|
71
|
-
homepage:
|
74
|
+
homepage: https://bogomips.org/ruby_io_splice/
|
72
75
|
licenses:
|
73
76
|
- LGPL
|
74
77
|
metadata: {}
|
@@ -87,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
90
|
- !ruby/object:Gem::Version
|
88
91
|
version: '0'
|
89
92
|
requirements: []
|
90
|
-
|
91
|
-
rubygems_version: 2.4.5
|
93
|
+
rubygems_version: 3.0.1
|
92
94
|
signing_key:
|
93
95
|
specification_version: 4
|
94
96
|
summary: zero-copy pipe I/O for Linux and Ruby
|