codeslinger / sendfile

Ruby interface to sendfile(2) system call

This URL has Read+Write access

sendfile / sendfile.gemspec
100644 26 lines (21 sloc) 0.706 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# vim:set ts=4 sw=4 ai syntax=ruby:
 
spec = Gem::Specification.new do |gs|
gs.name = 'sendfile'
gs.version = '0.9.3'
gs.summary = 'Ruby interface to sendfile(2) system call'
gs.description = <<-EOF
Allows Ruby programs to access sendfile(2) functionality on
any IO object. Works on Linux, Solaris and FreeBSD with
blocking and non-blocking sockets.
EOF
gs.author = 'Toby DiPasquale'
gs.email = 'toby@cbcg.net'
gs.rubyforge_project = 'ruby-sendfile'
 
gs.autorequire = 'sendfile'
gs.files = File.read('FILES').split($/)
gs.test_files = Dir.glob 'test/test_*.rb'
gs.extensions << 'ext/extconf.rb'
 
gs.has_rdoc = true
gs.extra_rdoc_files = %w(README)
gs.required_ruby_version = '>= 1.8.0'
end