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'] || '0.6.0').dup
7 s.homepage = 'https://bogomips.org/kcar/'
8 s.authors = ["kcar hackers"]
9 s.description = File.read('README').split("\n\n")[1]
10 s.email = %q{kcar-public@bogomips.org}
11 s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
15 s.summary = 'bytestream to Rack response converter'
16 s.test_files = Dir['test/test_*.rb']
17 s.extensions = %w(ext/kcar/extconf.rb)
18 s.add_development_dependency('test-unit', '~> 3.0')
20 # Note: To avoid ambiguity, we intentionally avoid the SPDX-compatible
21 # 'Ruby' for the Ruby 1.8 license. This is because Ruby 1.9.3 switched
22 # to BSD-2-Clause, but we inherited our license from Mongrel when
23 # Ruby was at 1.8. We cannot automatically switch licenses when Ruby
24 # changes; so we maintain the Ruby 1.8 license (not 1.9.3+) along
26 s.licenses = %w(GPL-2.0+ Nonstandard)