1 ENV["VERSION"] or abort "VERSION= must be specified"
2 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
3 test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
5 extend Wrongdoc::Gemspec
6 name, summary, title = readme_metadata
8 Gem::Specification.new do |s|
10 s.version = ENV["VERSION"].dup
11 s.homepage = Wrongdoc.config[:rdoc_url]
12 s.authors = ["#{name} hackers"]
13 s.date = Time.now.utc.strftime('%Y-%m-%d')
14 s.description = readme_description
15 s.email = %q{unxf@librelist.org}
16 s.extra_rdoc_files = extra_rdoc_files(manifest)
18 s.rdoc_options = rdoc_options
19 s.rubyforge_project = %q{rainbows}
21 s.test_files = test_files
22 s.add_dependency('rack', '~> 1.1')
23 s.add_development_dependency('wrongdoc', '~> 1.6')
24 s.add_dependency('rpatricia', '~> 1.0')