mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
3b1029f894
* prime gem didn't use `version.rb` file. * Removed development_dependency because they are handled by Gemfile.
25 lines
876 B
Ruby
25 lines
876 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
|
|
spec.authors = ["Yuki Sonoda"]
|
|
spec.email = ["yugui@yugui.jp"]
|
|
|
|
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
|