Rainbows! 2.1.0 - Cool.io, bugfixes and more!
[rainbows.git] / rainbows.gemspec
blob5490824a7382965cbc59ff2dd15eea2a4149bef1
1 # -*- encoding: binary -*-
3 ENV["VERSION"] or abort "VERSION= must be specified"
4 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
6 # don't bother with tests that fork, not worth our time to get working
7 # with `gem check -t` ... (of course we care for them when testing with
8 # GNU make when they can run in parallel)
9 test_files = manifest.grep(%r{\Atest/unit/test_.*\.rb\z}).map do |f|
10   File.readlines(f).grep(/\bfork\b/).empty? ? f : nil
11 end.compact
12 require 'wrongdoc'
13 extend Wrongdoc::Gemspec
14 name, summary, title = readme_metadata
16 Gem::Specification.new do |s|
17   s.name = %q{rainbows}
18   s.version = ENV["VERSION"].dup
20   s.authors = ["#{name} hackers"]
21   s.date = Time.now.utc.strftime('%Y-%m-%d')
22   s.description = readme_description
23   s.email = %q{rainbows-talk@rubyforge.org}
24   s.executables = %w(rainbows)
25   s.extra_rdoc_files = extra_rdoc_files(manifest)
26   s.files = manifest
27   s.homepage = Wrongdoc.config[:rdoc_url]
28   s.summary = summary
29   s.rdoc_options = rdoc_options
30   s.require_paths = %w(lib)
31   s.rubyforge_project = %q{rainbows}
33   s.test_files = test_files
35   # we want a newer Rack for a valid HeaderHash#each
36   s.add_dependency(%q<rack>, ['~> 1.1'])
38   # we need Unicorn for the HTTP parser and process management
39   s.add_dependency(%q<unicorn>, ["~> 3.2"])
40   s.add_development_dependency(%q<isolate>, "~> 3.0.0")
41   s.add_development_dependency(%q<wrongdoc>, "~> 1.0.1")
43   # optional runtime dependencies depending on configuration
44   # see t/test_isolate.rb for the exact versions we've tested with
45   #
46   # Revactor >= 0.1.5 includes UNIX domain socket support
47   # s.add_dependency(%q<revactor>, [">= 0.1.5"])
48   #
49   # Revactor depends on Rev, too, 0.3.0 got the ability to attach IOs
50   # s.add_dependency(%q<rev>, [">= 0.3.2"])
51   #
52   # Cool.io is the new Rev, but it doesn't work with Revactor
53   # s.add_dependency(%q<cool.io>, [">= 1.0"])
54   #
55   # Rev depends on IOBuffer, which got faster in 0.1.3
56   # s.add_dependency(%q<iobuffer>, [">= 0.1.3"])
57   #
58   # We use the new EM::attach/watch API in 0.12.10
59   # s.add_dependency(%q<eventmachine>, ["~> 0.12.10"])
60   #
61   # NeverBlock, currently only available on http://gems.github.com/
62   # s.add_dependency(%q<espace-neverblock>, ["~> 0.1.6.1"])
64   # s.licenses = %w(GPLv2 Ruby) # accessor not compatible with older RubyGems
65 end