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 = ["#{name} hackers"]
12 s.date = Time.now.utc.strftime('%Y-%m-%d')
13 s.description = readme_description
14 s.email = %q{kgio@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/kgio/extconf.rb)
23 s.add_development_dependency('wrongdoc', '~> 1.5')
24 s.add_development_dependency('strace_me', '~> 1.0')
26 # s.license = %w(LGPL) # disabled for compatibility with older RubyGems