require_relative 'lib/text/checkm/module_info'

Gem::Specification.new do |spec|
  spec.name = Text::Checkm::ModuleInfo::NAME
  spec.author = Text::Checkm::ModuleInfo::AUTHOR
  spec.email = Text::Checkm::ModuleInfo::AUTHOR_EMAIL
  spec.summary = Text::Checkm::ModuleInfo::SUMMARY
  spec.description = Text::Checkm::ModuleInfo::DESCRIPTION
  spec.license = Text::Checkm::ModuleInfo::LICENSE
  spec.version = Text::Checkm::ModuleInfo::VERSION
  spec.homepage = Text::Checkm::ModuleInfo::HOMEPAGE

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }

  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.7'

  spec.add_development_dependency 'bundle-audit', '~> 0.1'
  spec.add_development_dependency 'ci_reporter_rspec', '~> 1.0'
  spec.add_development_dependency 'colorize', '~> 0.8'
  spec.add_development_dependency 'irb', '~> 1.3' # workaroundfor https://github.com/bundler/bundler/issues/6929
  spec.add_development_dependency 'listen', '>= 3.0.5', '< 3.2'
  spec.add_development_dependency 'rake', '~> 13.0'
  spec.add_development_dependency 'rspec-support', '~> 3.10'
  spec.add_development_dependency 'rubocop', '1.14'
  spec.add_development_dependency 'rubocop-rake', '0.5'
  spec.add_development_dependency 'simplecov', '~> 0.21'
  spec.add_development_dependency 'simplecov-rcov', '~> 0.2'
end
