-
-
Notifications
You must be signed in to change notification settings - Fork 355
/
thin.gemspec
41 lines (33 loc) · 1.49 KB
/
thin.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "thin/version"
# Describe your gem and declare its dependencies:
Thin::GemSpec ||= Gem::Specification.new do |s|
s.name = Thin::NAME
s.version = Thin::VERSION::STRING
s.platform = Thin.win? ? Gem::Platform::CURRENT : Gem::Platform::RUBY
s.summary = "A thin and fast web server"
s.author = "Marc-Andre Cournoyer"
s.email = '[email protected]'
s.homepage = 'https://github.com/macournoyer/thin'
s.licenses = ["GPL-2.0+", "Ruby"]
s.executables = %w( thin )
s.metadata = {
'source_code_uri' => 'https://github.com/macournoyer/thin',
'changelog_uri' => 'https://github.com/macournoyer/thin/blob/master/CHANGELOG'
}
s.required_ruby_version = '>= 1.8.5'
s.add_dependency 'rack', '>= 1', '< 3'
s.add_dependency 'eventmachine', '~> 1.0', '>= 1.0.4'
s.add_dependency 'daemons', '~> 1.0', '>= 1.0.9' unless Thin.win?
s.files = %w(CHANGELOG README.md Rakefile) +
Dir["{bin,doc,example,lib}/**/*"] - Dir["lib/thin_parser.*"] +
Dir["ext/**/*.{h,c,rb,rl}"]
if Thin.win?
s.files += Dir["lib/*/thin_parser.*"]
else
s.extensions = Dir["ext/**/extconf.rb"]
end
s.require_path = "lib"
s.bindir = "bin"
end