posix_mq 0.5.1
[ruby_posix_mq.git] / posix_mq.gemspec
blobd4cf30e36d69ccde12ada07d488831ec5e476394
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|
8   s.name = %q{posix_mq}
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|
19     x.chomp!
20     if File.directory?(x)
21       manifest.grep(%r{\A#{x}/})
22     elsif File.file?(x)
23       x
24     else
25       nil
26     end
27   end.flatten.compact
29   s.files = manifest
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
39 end