Sha256: c04a95abf15daf6cc641107d01eb8ce08666dc303d5e505eca607d32329305dc

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

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       = ["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"]

  spec.files         = ["BSDL", "COPYING", "README.md", "Rakefile", "lib/prime.rb", "prime.gemspec", "sig/integer-extension.rbs", "sig/manifest.yaml", "sig/prime.rbs"]
  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"

  spec.add_dependency "singleton"
  spec.add_dependency "forwardable"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prime-0.1.3 prime.gemspec