1 manifest = File.exist?('.manifest') ?
2 IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
4 Gem::Specification.new do |s|
6 s.version = (ENV["VERSION"] || '4.4.1').dup
7 s.authors = ["Ruby io_splice hackers"]
8 s.description = File.read('README').split("\n\n")[1]
9 s.email = %q{ruby-io-splice@yhbt.net}
10 s.extensions = %w(ext/io_splice/extconf.rb)
11 s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
15 s.homepage = 'https://yhbt.net/ruby_io_splice/'
16 s.summary = 'zero-copy pipe I/O for Linux and Ruby (deprecated)'
17 s.test_files = Dir['test/test_*.rb']
19 s.licenses = %w(LGPL) # accessor not compatible with older RubyGems