-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathmathn.gemspec
More file actions
28 lines (24 loc) · 1010 Bytes
/
mathn.gemspec
File metadata and controls
28 lines (24 loc) · 1010 Bytes
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
# coding: utf-8
version = File.read(File.join(__dir__, "lib/mathn.rb"))[/^ *VERSION *= *"\K.*?(?=")/]
Gem::Specification.new do |spec|
spec.name = "mathn"
spec.version = version
spec.authors = ["Keiju ISHITSUKA"]
spec.email = ["keiju@ishitsuka.com"]
spec.summary = "Deprecated library that extends math operations."
spec.description = "Deprecated library that extends math operations."
spec.homepage = "https://github.com/ruby/mathn"
spec.license = "BSD-2-Clause"
gemspec = File.basename(__FILE__)
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
f == gemspec or
f.match(%r{\A(?:bin|test|spec|features|rakelib)/|\A(?:Gem|Rake)file|\.(?:git|travis)})
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.required_ruby_version = ">= 2.5"
spec.require_paths = ["lib"]
spec.add_dependency "cmath"
end