blob: 74f62e3d9be19406ffc39001b2dd9abf728fd7d8 (
plain)
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
|
begin
require_relative "lib/prime"
rescue LoadError
# for Ruby core repository
require_relative "prime"
end
Gem::Specification.new do |spec|
spec.name = "prime"
spec.version = Prime::VERSION
spec.authors = ["Yuki Sonoda"]
spec.email = ["[email protected]"]
spec.summary = %q{Prime numbers and factorization library.}
spec.description = %q{Prime numbers and factorization library.}
spec.homepage = "https://github.com/ruby/prime"
spec.license = "BSD-2-Clause"
spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/prime.rb", "prime.gemspec"]
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.5.0"
end
|