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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dcadc5a4c0bc52553768f5d4571f3630668e841a
4
- data.tar.gz: 3f3b773ece8adb9a746e315145a3b75fb21e4fed
2
+ SHA256:
3
+ metadata.gz: d1a9a41f4e90815a9229eddc57ec6d47ca4ba621ae482afbb0e33ae6566f826a
4
+ data.tar.gz: 2c15db80ffa0774361b73b16b925de8055ae4c13c83f9f5a21bcf3ec0f98fb96
5
5
  SHA512:
6
- metadata.gz: 500904b87fe0360f1860968fe9d0997568f7f5918685f763419a2097d229a1aa2cec521809c5382ac8404cdf2804105de179976d0ebc48a622c8c5669d1ea2d4
7
- data.tar.gz: 87019a4a269b7bda7873921697bf33d0017bbf4f73c7784670066486fcb426205300253cab147fea77069d8e13d0cbd7319b378f9f05f58d6ac3b7176b5b72e7
6
+ metadata.gz: c9832ac55fda430c1b6cfe541f07bfafd981a94473330550ba0947402c3cf2562c357ecd9d4f9f8b0255c2932bacaa718979699538a3eccc4ae70524242539eb
7
+ data.tar.gz: 4efb7e0db4590fb857e5a7b1661622dba7ba47b311496a4a11ff6cfddf1b0b1647a3fbab810fbdb26bdf7a64b50abaf717bda0365d1b078cb1e7f9ccaaaf90d1
@@ -1,7 +1,6 @@
1
1
  ---
2
- cgit_url: http://bogomips.org/ruby_io_splice.git
3
- git_url: git://bogomips.org/ruby_io_splice.git
4
- rdoc_url: http://bogomips.org/ruby_io_splice/
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
- private_email: bofh@bogomips.org
7
- ml_url: http://bogomips.org/ruby-io-splice/
6
+ ml_url: https://bogomips.org/ruby-io-splice/
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v4.4.0
4
+ DEF_VER=v4.4.1
5
5
 
6
6
  LF='
7
7
  '
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}[http://www.gnu.org/licenses/lgpl-2.1.txt]
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}[http://bogomips.org/ruby_io_splice/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
- http://bogomips.org/ruby_io_splice/files/
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
- git://bogomips.org/ruby_io_splice.git
70
- git://repo.or.cz/ruby_io_splice.git (mirror)
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
- * http://bogomips.org/ruby_io_splice.git (cgit)
76
- * http://repo.or.cz/w/ruby_io_splice.git (gitweb)
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
- We operate a {public-inbox}[http://public-inbox.org/] which
99
- feeds the mailing list. You may subscribe either using
100
- {ssoma}[http://ssoma.public-inbox.org/] or by sending a mail
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
- ssoma is a mail archiver/fetcher using git. It operates in a similar
104
- fashion to tools such as slrnpull, fetchmail, or getmail. ssoma
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
@@ -89,8 +89,8 @@ module IO::Splice
89
89
  end
90
90
 
91
91
  rv
92
- ensure
93
- close.each { |io| io.close }
92
+ ensure
93
+ close.each { |io| io.close }
94
94
  end
95
95
 
96
96
  # splice the full amount specified from +src+ to +dst+
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:: test
116
+ all:: check
125
117
  test_units := $(wildcard test/test_*.rb)
126
- test: test-unit
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.0
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: 2015-01-11 00:00:00.000000000 Z
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: http://bogomips.org/ruby_io_splice/
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
- rubyforge_project:
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