raise ArgumentError if null bytes exist in file path
[ruby-tdb.git] / tdb.gemspec
blob69f963be0f6361450f25deb778145d9cf9d04d2c
1 ENV["VERSION"] or abort "VERSION= must be specified"
2 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
3 require 'wrongdoc'
4 extend Wrongdoc::Gemspec
5 name, summary, title = readme_metadata
7 Gem::Specification.new do |s|
8   s.name = %q{tdb}
9   s.version = ENV["VERSION"].dup
11   s.homepage = 'http://bogomips.org/ruby-tdb/'
12   s.authors = ["Ruby tdb hackers"]
13   s.date = Time.now.utc.strftime('%Y-%m-%d')
14   s.description = readme_description
15   s.email = %q{ruby.tdb@librelist.org}
16   s.extra_rdoc_files = extra_rdoc_files(manifest)
17   s.files = manifest
18   s.rdoc_options = rdoc_options
19   s.require_paths = %w(lib ext)
20   s.rubyforge_project = %q{qrp}
21   s.summary = summary
22   s.test_files = Dir['test/test_*.rb']
23   s.extensions = %w(ext/tdb/extconf.rb)
24   s.add_development_dependency('wrongdoc', '~> 1.3')
26   # s.license = %w(LGPL) # disabled for compatibility with older RubyGems
27 end