-
Notifications
You must be signed in to change notification settings - Fork 0
/
thin.gemspec
38 lines (31 loc) · 1.35 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
$:.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 =
s.description = "A thin and fast web server"
s.author = "Marc-Andre Cournoyer"
s.email = '[email protected]'
s.homepage = 'http://code.macournoyer.com/thin/'
s.rubyforge_project = 'thin'
s.license = 'Ruby'
s.executables = %w( thin )
s.required_ruby_version = '>= 1.8.5'
s.add_dependency 'rack', '>= 1.0.0'
s.add_dependency 'eventmachine', '>= 0.12.6'
s.add_dependency 'daemons', '>= 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