io_splice 4.4.1 → 4.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.olddoc.yml +5 -5
- data/GIT-VERSION-GEN +1 -1
- data/GNUmakefile +1 -1
- data/README +8 -8
- data/ext/io_splice/io_splice_ext.c +1 -1
- data/io_splice.gemspec +10 -13
- data/pkg.mk +1 -1
- metadata +8 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 279e59f567cd4c907402ada59a92ebaec076b753f7d12c9cf93f96fcfb1018cd
|
4
|
+
data.tar.gz: 5f2f7164b55aa803b4b9551421db7086a06265162b2506c111947f845a015ff0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 346c2339cfbdd952228951295e27b0447a3e2b0b24030efbc94bff7f6cb127e1f4b3cae4ec396c65d878a977a5270fede05a22b12d04eabfbb84b66197967b0a
|
7
|
+
data.tar.gz: 4216a29b786804819bae85374227feb126ee512ea599f275298c2bf29b0cf7655dea66a906c44e04453b41266f3199fdc32e80e72f22de8c9fc316ff0152b037
|
data/.olddoc.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
|
-
cgit_url: https://
|
3
|
-
git_url: https://
|
4
|
-
rdoc_url: https://
|
5
|
-
public_email: ruby-io-splice@
|
6
|
-
ml_url: https://
|
2
|
+
cgit_url: https://yhbt.net/ruby_io_splice.git
|
3
|
+
git_url: https://yhbt.net/ruby_io_splice.git
|
4
|
+
rdoc_url: https://yhbt.net/ruby_io_splice/
|
5
|
+
public_email: ruby-io-splice@yhbt.net
|
6
|
+
ml_url: https://yhbt.net/ruby-io-splice/
|
data/GIT-VERSION-GEN
CHANGED
data/GNUmakefile
CHANGED
data/README
CHANGED
@@ -4,7 +4,7 @@ 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
6
|
buffer. The `splice' and `tee' syscalls are also provided by the
|
7
|
-
{sleepy_penguin}[https://
|
7
|
+
{sleepy_penguin}[https://yhbt.net/sleepy_penguin/] library.
|
8
8
|
"io_splice" remains maintained for old applications or users
|
9
9
|
experimenting with the vmsplice syscalls
|
10
10
|
|
@@ -24,7 +24,7 @@ experimenting with the vmsplice syscalls
|
|
24
24
|
when combined with the IO::Splice::F_NONBLOCK flag.
|
25
25
|
|
26
26
|
* Fully-documented library API and
|
27
|
-
{examples}[https://
|
27
|
+
{examples}[https://yhbt.net/ruby_io_splice/examples/]
|
28
28
|
|
29
29
|
* Adds helpful IO#pipe_size and IO#pipe_size= accessor methods for
|
30
30
|
resizing the pipe buffer in Linux 2.6.35 or later.
|
@@ -46,7 +46,7 @@ If you use RubyGems:
|
|
46
46
|
|
47
47
|
Otherwise grab the latest tarball from:
|
48
48
|
|
49
|
-
https://
|
49
|
+
https://yhbt.net/ruby_io_splice/files/
|
50
50
|
|
51
51
|
Unpack it, and run "ruby setup.rb"
|
52
52
|
|
@@ -69,13 +69,13 @@ standardized and available in non-Linux kernels some day.
|
|
69
69
|
|
70
70
|
You can get the latest source via git from the following locations:
|
71
71
|
|
72
|
-
https://
|
72
|
+
https://yhbt.net/ruby_io_splice.git
|
73
73
|
https://repo.or.cz/w/ruby_io_splice.git (mirror)
|
74
74
|
|
75
75
|
You may browse the code from the web and download the latest snapshot
|
76
76
|
tarballs here:
|
77
77
|
|
78
|
-
* https://
|
78
|
+
* https://yhbt.net/ruby_io_splice.git
|
79
79
|
* https://repo.or.cz/w/ruby_io_splice.git (gitweb)
|
80
80
|
|
81
81
|
Inline patches (from "git format-patch") to the mailing list are
|
@@ -90,7 +90,7 @@ don't email the git mailing list or maintainer with io_splice patches.
|
|
90
90
|
== Contact
|
91
91
|
|
92
92
|
All feedback (bug reports, user/development discussion, patches, pull
|
93
|
-
requests) go to the mailing list: mailto:ruby-io-splice@
|
93
|
+
requests) go to the mailing list: mailto:ruby-io-splice@yhbt.net
|
94
94
|
|
95
95
|
Send patches (from "git format-patch") with "git send-email" and do not
|
96
96
|
send HTML email or attachments. We are very responsive to email and you
|
@@ -98,9 +98,9 @@ will usually get a response within 24-72 hours.
|
|
98
98
|
|
99
99
|
== Mailing List Archives
|
100
100
|
|
101
|
-
* https://
|
101
|
+
* https://yhbt.net/ruby-io-splice/
|
102
102
|
* nntp://news.public-inbox.org/inbox.comp.lang.ruby.io-splice
|
103
103
|
* nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.io-splice
|
104
104
|
|
105
105
|
Anybody may post without a subscription, but HTML mail will
|
106
|
-
be rejected: mailto:ruby-io-splice@
|
106
|
+
be rejected: mailto:ruby-io-splice@yhbt.net
|
@@ -476,7 +476,7 @@ static void advance_vmsplice_args(struct vmsplice_args *a, long n)
|
|
476
476
|
* This may allow the kernel to avoid data copies in some cases.
|
477
477
|
* but is (probably) of limited usefulness in Ruby. If you have
|
478
478
|
* use cases or ideas for making this more useful for Ruby users,
|
479
|
-
* please tell us at ruby-io-splice@
|
479
|
+
* please tell us at ruby-io-splice@yhbt.net!
|
480
480
|
*
|
481
481
|
* Also consider the "sendfile" RubyGem or IO.copy_stream in Ruby 1.9
|
482
482
|
* if you want to do zero-copy file transfers to pipes or sockets. As
|
data/io_splice.gemspec
CHANGED
@@ -1,23 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
manifest = File.readlines('.manifest').map! { |x| x.chomp! }
|
4
|
-
require 'olddoc'
|
5
|
-
extend Olddoc::Gemspec
|
6
|
-
name, summary, title = readme_metadata
|
1
|
+
manifest = File.exist?('.manifest') ?
|
2
|
+
IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
|
7
3
|
|
8
4
|
Gem::Specification.new do |s|
|
9
5
|
s.name = %q{io_splice}
|
10
|
-
s.version = ENV["VERSION"].dup
|
6
|
+
s.version = (ENV["VERSION"] || '4.4.2').dup
|
11
7
|
s.authors = ["Ruby io_splice hackers"]
|
12
|
-
s.description =
|
13
|
-
s.email = %q{ruby-io-splice@
|
8
|
+
s.description = File.read('README').split("\n\n")[1]
|
9
|
+
s.email = %q{ruby-io-splice@yhbt.net}
|
14
10
|
s.extensions = %w(ext/io_splice/extconf.rb)
|
15
|
-
s.extra_rdoc_files =
|
11
|
+
s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
|
12
|
+
File.exist?(f)
|
13
|
+
end
|
16
14
|
s.files = manifest
|
17
|
-
s.homepage =
|
18
|
-
s.summary =
|
15
|
+
s.homepage = 'https://yhbt.net/ruby_io_splice/'
|
16
|
+
s.summary = 'zero-copy pipe I/O for Linux and Ruby (deprecated)'
|
19
17
|
s.test_files = Dir['test/test_*.rb']
|
20
|
-
s.add_development_dependency('olddoc', '~> 1.0')
|
21
18
|
|
22
19
|
s.licenses = %w(LGPL) # accessor not compatible with older RubyGems
|
23
20
|
end
|
data/pkg.mk
CHANGED
@@ -60,7 +60,7 @@ doc:: .document .olddoc.yml $(pkg_extra) $(PLACEHOLDERS)
|
|
60
60
|
-find lib -type f -name '*.rbc' -exec rm -f '{}' ';'
|
61
61
|
-find ext -type f -name '*.rbc' -exec rm -f '{}' ';'
|
62
62
|
$(RM) -r doc
|
63
|
-
$(RDOC) -f
|
63
|
+
$(RDOC) -f dark216
|
64
64
|
$(OLDDOC) merge
|
65
65
|
install -m644 COPYING doc/COPYING
|
66
66
|
install -m644 NEWS doc/NEWS
|
metadata
CHANGED
@@ -1,38 +1,24 @@
|
|
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.2
|
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:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: olddoc
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.0'
|
11
|
+
date: 2020-02-22 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
27
13
|
description: |-
|
28
14
|
The splice family of Linux system calls can transfer data between file
|
29
15
|
descriptors without the need to copy data into userspace. Instead of a
|
30
16
|
userspace buffer, they rely on an ordinary Unix pipe as a kernel-level
|
31
17
|
buffer. The `splice' and `tee' syscalls are also provided by the
|
32
|
-
{sleepy_penguin}[https://
|
18
|
+
{sleepy_penguin}[https://yhbt.net/sleepy_penguin/] library.
|
33
19
|
"io_splice" remains maintained for old applications or users
|
34
20
|
experimenting with the vmsplice syscalls
|
35
|
-
email: ruby-io-splice@
|
21
|
+
email: ruby-io-splice@yhbt.net
|
36
22
|
executables: []
|
37
23
|
extensions:
|
38
24
|
- ext/io_splice/extconf.rb
|
@@ -40,8 +26,6 @@ extra_rdoc_files:
|
|
40
26
|
- README
|
41
27
|
- LICENSE
|
42
28
|
- NEWS
|
43
|
-
- lib/io/splice.rb
|
44
|
-
- lib/io/splice/mri_18.rb
|
45
29
|
- ext/io_splice/io_splice_ext.c
|
46
30
|
files:
|
47
31
|
- ".document"
|
@@ -71,7 +55,7 @@ files:
|
|
71
55
|
- test/test_io_splice.rb
|
72
56
|
- test/test_io_splice_eintr.rb
|
73
57
|
- test/test_io_splice_in_full.rb
|
74
|
-
homepage: https://
|
58
|
+
homepage: https://yhbt.net/ruby_io_splice/
|
75
59
|
licenses:
|
76
60
|
- LGPL
|
77
61
|
metadata: {}
|
@@ -90,10 +74,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
74
|
- !ruby/object:Gem::Version
|
91
75
|
version: '0'
|
92
76
|
requirements: []
|
93
|
-
rubygems_version: 3.0.
|
77
|
+
rubygems_version: 3.0.2
|
94
78
|
signing_key:
|
95
79
|
specification_version: 4
|
96
|
-
summary: zero-copy pipe I/O for Linux and Ruby
|
80
|
+
summary: zero-copy pipe I/O for Linux and Ruby (deprecated)
|
97
81
|
test_files:
|
98
82
|
- test/test_io_splice_in_full.rb
|
99
83
|
- test/test_io_splice.rb
|