1 # -*- encoding: binary -*-
3 ENV["VERSION"] or abort "VERSION= must be specified"
4 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
6 extend Wrongdoc::Gemspec
7 name, summary, title = readme_metadata
9 # don't bother with tests that fork, not worth our time to get working
10 # with `gem check -t` ... (of course we care for them when testing with
11 # GNU make when they can run in parallel)
12 test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
14 Gem::Specification.new do |s|
15 s.name = %q{metropolis}
16 s.version = ENV["VERSION"].dup
18 s.authors = ["The Sleeper"]
19 s.date = Time.now.utc.strftime('%Y-%m-%d')
20 s.description = readme_description.delete('\\')
21 s.email = %q{metropolis@librelist.org}
24 s.extra_rdoc_files = extra_rdoc_files
26 s.homepage = %q{http://metropolis.bogomips.org/}
28 summary = File.readlines("README")[0].split(/\s*:\s*/)[1]
29 s.rdoc_options = [ "-t", summary ]
30 s.require_paths = %w(lib)
31 s.rubyforge_project = %q{rainbows}
34 s.test_files = test_files
35 s.add_dependency(%q<rack>)
36 s.add_development_dependency('wrongdoc', '~> 1.0.1')
38 # s.licenses = %w(AGPL) # licenses= method is not in older RubyGems