bump unicorn dependency to 4.6.2+ for Ruby 2.0.0
[rainbows.git] / rainbows.gemspec
blob6a906cf97df40ef01cc50b4e2d1e83d74c5b979f
1 # -*- encoding: binary -*-
2 ENV["VERSION"] or abort "VERSION= must be specified"
3 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
4 require 'wrongdoc'
5 extend Wrongdoc::Gemspec
6 name, summary, title = readme_metadata
8 Gem::Specification.new do |s|
9   s.name = %q{rainbows}
10   s.version = ENV["VERSION"].dup
12   s.authors = ["#{name} hackers"]
13   s.date = Time.now.utc.strftime('%Y-%m-%d')
14   s.description = readme_description
15   s.email = %q{rainbows-talk@rubyforge.org}
16   s.executables = %w(rainbows)
17   s.extra_rdoc_files = extra_rdoc_files(manifest)
18   s.files = manifest
19   s.homepage = Wrongdoc.config[:rdoc_url]
20   s.summary = summary
21   s.rdoc_options = rdoc_options
22   s.rubyforge_project = %q{rainbows}
24   # we want a newer Rack for a valid HeaderHash#each
25   s.add_dependency(%q<rack>, ['~> 1.1'])
27   # kgio 2.5 has kgio_wait_* methods that take optional timeout args
28   s.add_dependency(%q<kgio>, ['~> 2.5'])
30   # we need Unicorn for the HTTP parser and process management
31   # 4.6.0+ supports hijacking, 4.6.2 fixes the chunk parser (for Ruby 2.0.0)
32   s.add_dependency(%q<unicorn>, ["~> 4.6", ">= 4.6.2"])
34   s.add_development_dependency(%q<isolate>, "~> 3.1")
35   s.add_development_dependency(%q<wrongdoc>, "~> 1.6")
37   # optional runtime dependencies depending on configuration
38   # see t/test_isolate.rb for the exact versions we've tested with
39   #
40   # Revactor >= 0.1.5 includes UNIX domain socket support
41   # s.add_dependency(%q<revactor>, [">= 0.1.5"])
42   #
43   # Revactor depends on Rev, too, 0.3.0 got the ability to attach IOs
44   # s.add_dependency(%q<rev>, [">= 0.3.2"])
45   #
46   # Cool.io is the new Rev, but it doesn't work with Revactor
47   # s.add_dependency(%q<cool.io>, [">= 1.0"])
48   #
49   # Rev depends on IOBuffer, which got faster in 0.1.3
50   # s.add_dependency(%q<iobuffer>, [">= 0.1.3"])
51   #
52   # We use the new EM::attach/watch API in 0.12.10
53   # s.add_dependency(%q<eventmachine>, ["~> 0.12.10"])
54   #
55   # NeverBlock, currently only available on http://gems.github.com/
56   # s.add_dependency(%q<espace-neverblock>, ["~> 0.1.6.1"])
58   # We inherited the Ruby 1.8 license from Mongrel, so we're stuck with it.
59   # GPLv3 is preferred.
60   s.licenses = ["GPLv2", "GPLv3", "Ruby 1.8"]
61 end