ruby/lib/prime.gemspec

29 строки
960 B
Ruby
Исходник Обычный вид История

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
2020-12-09 09:24:16 +03:00
spec.authors = ["Marc-Andre Lafortune"]
spec.email = ["ruby-core@marc-andre.ca"]
spec.summary = %q{Prime numbers and factorization library.}
spec.description = %q{Prime numbers and factorization library.}
spec.homepage = "https://github.com/ruby/prime"
spec.licenses = ["Ruby", "BSD-2-Clause"]
2020-12-09 09:24:16 +03:00
spec.files = [".gitignore", "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"
2020-12-01 13:09:06 +03:00
spec.add_dependency "singleton"
spec.add_dependency "forwardable"
end