Ruby posix_mq 2.4.1
[ruby_posix_mq.git] / posix_mq.gemspec
blob350ba53859f286e4fb4582d09c09749920919a01
1 # -*- encoding: binary -*-
2 ENV["VERSION"] ||= '2.4.1'
3 if File.exist?('.manifest')
4   manifest = IO.readlines('.manifest').map!(&:chomp!)
5 else
6   manifest = `git ls-files`.split("\n")
7 end
9 Gem::Specification.new do |s|
10   s.name = %q{posix_mq}
11   s.version = ENV["VERSION"].dup
12   s.authors = ["Ruby POSIX MQ hackers"]
13   s.description = File.read('README').split("\n\n")[1]
14   s.email = %q{ruby-posix-mq@bogomips.org}
15   s.executables = %w(posix-mq-rb)
16   s.extensions = %w(ext/posix_mq/extconf.rb)
17   s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
18     File.exist?(f)
19   end
20   s.files = manifest
21   s.homepage = 'https://bogomips.org/ruby_posix_mq/'
22   s.summary = 'POSIX message queues for Ruby'
23   s.test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
24   s.licenses = %w(GPL-2.0 LGPL-3.0+)
25 end