1 # -*- encoding: binary -*-
3 ENV["VERSION"] or abort "VERSION= must be specified"
4 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
6 Gem::Specification.new do |s|
8 s.version = ENV["VERSION"]
10 s.authors = ["Eric Wong"]
11 s.date = Time.now.utc.strftime('%Y-%m-%d')
12 s.description = File.read("README").split(/\n\n/)[1]
13 s.email = %q{mongrel-unicorn@rubyforge.org}
14 s.executables = %w(unicorn unicorn_rails)
15 s.extensions = %w(ext/unicorn_http/extconf.rb)
17 s.extra_rdoc_files = File.readlines('.document').map! do |x|
20 manifest.grep(%r{\A#{x}/})
29 s.homepage = %q{http://unicorn.bogomips.org/}
31 s.rdoc_options = [ "-Na", "-t",
32 "Unicorn: Rack HTTP server for Unix and fast clients" ]
33 s.require_paths = %w(lib ext)
34 s.rubyforge_project = %q{mongrel}
35 s.summary = %q{Rack HTTP server for Unix and fast clients}
36 s.test_files = manifest.grep(%r{\Atest/unit/test_*\.rb\z})
38 s.add_dependency(%q<rack>)
39 s.licenses = %w(GPLv2 Ruby)