1 # -*- encoding: binary -*-
3 ENV["VERSION"] or abort "VERSION= must be specified"
4 manifest = File.readlines('.manifest').map! { |x| x.chomp! }
5 test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
7 Gem::Specification.new do |s|
9 s.version = ENV["VERSION"]
11 s.authors = ["Ruby POSIX MQ hackers"]
12 s.date = Time.now.utc.strftime('%Y-%m-%d')
13 s.description = File.read("README").split(/\n\n/)[1]
14 s.email = %q{ruby.posix.mq@librelist.com}
15 s.executables = %w(posix-mq-rb)
16 s.extensions = %w(ext/posix_mq/extconf.rb)
18 s.extra_rdoc_files = File.readlines('.document').map! do |x|
21 manifest.grep(%r{\A#{x}/})
30 s.homepage = %q{http://bogomips.org/ruby_posix_mq/}
31 s.summary = %q{POSIX Message Queues for Ruby}
32 s.rdoc_options = [ "-Na", "-t", "posix_mq - #{s.summary}" ]
33 s.require_paths = %w(lib)
34 s.rubyforge_project = %q{qrp}
36 s.test_files = test_files
38 # s.licenses = %w(LGPLv3) # accessor not compatible with older RubyGems