1 # vim:set ts=4 sw=4 ai syntax=ruby:
3 spec = Gem::Specification.new do |gs|
6 gs.summary = 'Ruby interface to sendfile(2) system call'
7 gs.description = <<-EOF
8 Allows Ruby programs to access sendfile(2) functionality on
9 any IO object. Works on Linux, Solaris, FreeBSD and Darwin with
10 blocking and non-blocking sockets.
12 gs.author = 'Toby DiPasquale'
13 gs.email = 'toby@cbcg.net'
14 gs.homepage = 'https://github.com/codeslinger/sendfile'
15 gs.rubyforge_project = 'ruby-sendfile'
16 gs.files = File.read('FILES').split($/)
17 gs.test_files = Dir.glob 'test/test_*.rb'
18 gs.extensions << 'ext/extconf.rb'
20 gs.extra_rdoc_files = %w(README.textile)
21 gs.required_ruby_version = '>= 1.8.0'