1 # Copyright (C) all contributors <yahns-public@yhbt.net>
2 # License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
3 Gem::Specification.new do |s|
4 manifest = File.read('.gem-manifest').split(/\n/)
6 s.version = ENV["VERSION"].dup
7 s.authors = ["yahns hackers"]
8 s.summary = "sleepy, multi-threaded, non-blocking application server"
9 s.description = File.read("README").split(/\n\n/)[1].strip
10 s.email = %q{yahns-public@yhbt.net}
11 s.executables = manifest.grep(%r{\Abin/}).map { |s| s.sub(%r{\Abin/}, "") }
14 s.required_ruby_version = '>= 2.0'
16 s.add_dependency(%q<kgio>, '~> 2.9')
17 s.add_dependency(%q<sleepy_penguin>, '~> 3.2')
18 s.add_dependency(%q<unicorn>, '>= 4.6.3', '< 7.0')
19 # s.add_dependency(%q<kgio-sendfile>, '~> 1.2') # optional
21 # minitest is standard in Ruby 2.0, 4.3 is packaged with Ruby 2.0.0,
22 # 4.7.5 with 2.1. We work with minitest 5, too. 6.x does not exist
23 # at the time of this writing. We should always be compatible with
24 # minitest (or test-unit) library packaged with the latest official
26 s.add_development_dependency(%q<minitest>, '>= 4.3', '< 6.0')
28 # for Rack::Utils::HeaderHash#each
29 s.add_development_dependency(%q<rack>, '>= 1.1')
31 s.homepage = 'https://yhbt.net/yahns.git/about/'
32 s.licenses = "GPL-3.0+"