-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbeeps.gemspec
38 lines (28 loc) · 1.01 KB
/
beeps.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- mode: ruby -*-
require_relative 'lib/beeps/extension'
Gem::Specification.new do |s|
glob = -> *patterns do
patterns.map {|pat| Dir.glob(pat).to_a}.flatten
end
ext = Beeps::Extension
name = ext.name.downcase
rdocs = glob.call *%w[README .doc/ext/**/*.cpp]
s.name = name
s.version = ext.version
s.license = 'MIT'
s.summary = 'Plays beep sound.'
s.description = 'Synthesize and play beep sounds.'
s.authors = %w[xordog]
s.email = 'xordog@gmail.com'
s.homepage = "https://github.com/xord/beeps"
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 3.0.0'
s.add_dependency 'xot', '~> 0.3.3', '>= 0.3.3'
s.add_dependency 'rucy', '~> 0.3.3', '>= 0.3.3'
s.files = `git ls-files`.split $/
s.executables = s.files.grep(%r{^bin/}) {|f| File.basename f}
s.test_files = s.files.grep %r{^(test|spec|features)/}
s.extra_rdoc_files = rdocs.to_a
s.has_rdoc = true
s.extensions << 'Rakefile'
end