1 # -*- encoding: binary -*-
3 ENV["VERSION"] or abort "VERSION= must be specified"
4 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
5 test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
7 Gem::Specification.new do |s|
9 s.version = ENV["VERSION"]
11 s.authors = ["io_splice hackers"]
12 s.date = Time.now.utc.strftime('%Y-%m-%d')
13 s.description = File.read("README").split(/\n\n/)[1]
14 s.email = %q{ruby.io.splice@librelist.com}
15 s.extensions = %w(ext/io_splice/extconf.rb)
17 s.extra_rdoc_files = File.readlines('.document').map! do |x|
20 manifest.grep(%r{\A#{x}/})
29 s.homepage = %q{http://bogomips.org/ruby_io_splice/}
30 s.summary = %q{zero-copy pipe I/O for Linux and Ruby}
31 s.rdoc_options = [ "-Na", "-t", "io_splice - #{s.summary}" ]
32 s.require_paths = %w(lib)
33 s.rubyforge_project = %q{qrp}
35 s.test_files = test_files
37 # s.licenses = %w(LGPL) # accessor not compatible with older RubyGems