1 # -*- encoding: binary -*-
2 ENV["VERSION"] ||= '2.4.1'
3 if File.exist?('.manifest')
4 manifest = IO.readlines('.manifest').map!(&:chomp!)
6 manifest = `git ls-files`.split("\n")
9 Gem::Specification.new do |s|
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|
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+)