1 # -*- encoding: binary -*-
2 manifest = File.exist?('.manifest') ?
3 IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
4 test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
6 Gem::Specification.new do |s|
8 s.version = (ENV["VERSION"] ||= '0.17.0').dup
9 s.authors = ["raindrops hackers"]
10 s.description = File.read('README').split("\n\n")[1]
11 s.email = %q{raindrops-public@bogomips.org}
12 s.extensions = %w(ext/raindrops/extconf.rb)
13 s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
17 s.homepage = 'https://bogomips.org/raindrops/'
18 s.summary = 'real-time stats for preforking Rack servers'
19 s.required_ruby_version = '>= 1.9.3'
20 s.test_files = test_files
21 s.add_development_dependency('aggregate', '~> 0.2')
22 s.add_development_dependency('test-unit', '~> 3.0')
23 s.add_development_dependency('posix_mq', '~> 2.0')
24 s.add_development_dependency('rack', [ '>= 1.2', '< 3.0' ])
25 s.licenses = %w(LGPL-2.1+)