1 manifest = File.exist?('.manifest') ?
2 IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
4 Gem::Specification.new do |s|
5 s.name = %q{sleepy_penguin}
6 s.version = (ENV['VERSION'] || '3.5.1').dup
7 s.homepage = 'https://bogomips.org/sleepy_penguin/'
8 s.authors = ['sleepy_penguin hackers']
9 s.description = File.read('README').split("\n\n")[1]
10 s.email = %q{sleepy-penguin@bogomips.org}
12 s.summary = 'Linux I/O events for Ruby'
13 s.test_files = Dir['test/test_*.rb']
14 s.extensions = %w(ext/sleepy_penguin/extconf.rb)
15 s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
18 s.add_development_dependency('test-unit', '~> 3.0')
19 s.add_development_dependency('strace_me', '~> 1.0')
20 s.required_ruby_version = '>= 2.0'
21 s.licenses = %w(LGPL-2.1+)