io_splice 2.2.0.18.g3025 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v2.1.0.GIT
4
+ DEF_VER=v3.0.0.GIT
5
5
 
6
6
  LF='
7
7
  '
@@ -394,7 +394,14 @@ static void advance_vmsplice_args(struct vmsplice_args *a, long n)
394
394
  * +fd+ must be the writable end of a pipe.
395
395
  *
396
396
  * This may allow the kernel to avoid data copies in some cases.
397
- * but is (probably) of limited usefulness in Ruby.
397
+ * but is (probably) of limited usefulness in Ruby. If you have
398
+ * use cases or ideas for making this more useful for Ruby users,
399
+ * please tell us at ruby.io.splice@librelist.com!
400
+ *
401
+ * Also consider the "sendfile" RubyGem or IO.copy_stream in Ruby 1.9
402
+ * if you want to do zero-copy file transfers to pipes or sockets. As
403
+ * of Linux 2.6.33, sendfile(2) can copy to any output descriptor,
404
+ * not just sockets.
398
405
  *
399
406
  * See manpage for full documentation:
400
407
  * http://kernel.org/doc/man-pages/online/pages/man2/vmsplice.2.html
data/lib/io/splice.rb CHANGED
@@ -3,9 +3,6 @@ require 'io_splice_ext'
3
3
 
4
4
  module IO::Splice
5
5
 
6
- # the version of IO::Splice, currently 2.2.0
7
- VERSION = '2.2.0'
8
-
9
6
  # The maximum default capacity of the pipe in bytes.
10
7
  # Under stock Linux, this is 65536 bytes as of 2.6.11, and 4096 before
11
8
  # We detect this at runtime as it is easy to recompile the kernel
metadata CHANGED
@@ -1,16 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io_splice
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5787
5
- prerelease: 9
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
- - 2
8
- - 2
7
+ - 3
9
8
  - 0
10
- - 18
11
- - g
12
- - 3025
13
- version: 2.2.0.18.g3025
9
+ - 0
10
+ version: 3.0.0
14
11
  platform: ruby
15
12
  authors:
16
13
  - Ruby io_splice hackers
@@ -18,7 +15,7 @@ autorequire:
18
15
  bindir: bin
19
16
  cert_chain: []
20
17
 
21
- date: 2011-02-28 00:00:00 +00:00
18
+ date: 2011-03-01 00:00:00 +00:00
22
19
  default_executable:
23
20
  dependencies:
24
21
  - !ruby/object:Gem::Dependency
@@ -103,14 +100,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
100
  required_rubygems_version: !ruby/object:Gem::Requirement
104
101
  none: false
105
102
  requirements:
106
- - - ">"
103
+ - - ">="
107
104
  - !ruby/object:Gem::Version
108
- hash: 25
105
+ hash: 3
109
106
  segments:
110
- - 1
111
- - 3
112
- - 1
113
- version: 1.3.1
107
+ - 0
108
+ version: "0"
114
109
  requirements: []
115
110
 
116
111
  rubyforge_project: qrp