1 ENV["VERSION"] or abort "VERSION= must be specified"
2 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
4 extend Wrongdoc::Gemspec
5 name, summary, title = readme_metadata
7 Gem::Specification.new do |s|
9 s.version = ENV["VERSION"].dup
10 s.homepage = Wrongdoc.config[:rdoc_url]
11 s.authors = ["kcar hackers"]
12 s.date = Time.now.utc.strftime('%Y-%m-%d')
13 s.description = readme_description
14 s.email = %q{kcar@librelist.org}
15 s.extra_rdoc_files = extra_rdoc_files(manifest)
17 s.rdoc_options = rdoc_options
18 s.rubyforge_project = %q{rainbows}
20 s.test_files = Dir['test/test_*.rb']
21 s.extensions = %w(ext/kcar/extconf.rb)
22 s.add_development_dependency('wrongdoc', '~> 1.5')
24 # s.license = %w(GPL Ruby) # disabled for compatibility with older RubyGems