nisevi/primes_table

View on GitHub
primes_table.gemspec

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'primes_table/version'

Gem::Specification.new do |spec|
  spec.name          = 'primes_table'
  spec.license       = 'Apache-2.0'
  spec.version       = PrimesTable::VERSION
  spec.authors       = ['Nicolas Sebastian Vidal']
  spec.email         = ['nicolas.s.vidal@gmail.com']
  spec.summary       = 'Prints out a multiplication table of the first N prime numbers.'
  spec.description   = 'Command line tool for printing out a multiplication table of the first N prime numbers.'
  spec.homepage      = 'https://github.com/nisevi/primes_table'

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.bindir        = 'bin'
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']
  spec.required_ruby_version = '>= 2.7.1'

  spec.add_development_dependency 'aruba', '~> 1.0', '>= 1.0.2'
  spec.add_development_dependency 'bundler', '~> 2.1', '>= 2.1.4'
  spec.add_development_dependency 'byebug', '~> 11.1', '>= 11.1.3'
  spec.add_development_dependency 'rdoc', '~> 6.2', '>= 6.2.1'
  spec.add_dependency 'methadone', '~> 2.0', '>= 2.0.2'
  spec.add_development_dependency 'rspec', '~> 3.9'
  spec.add_development_dependency 'rubocop', '~> 0.86.0'
  spec.add_development_dependency 'simplecov', '~> 0.17.1'
end