danielpclark/trav3

View on GitHub
trav3.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 'trav3/version'

Gem::Specification.new do |spec|
  spec.name          = 'trav3'
  spec.version       = Trav3::VERSION
  spec.authors       = ['Daniel P. Clark']
  spec.email         = ['6ftdan@gmail.com']

  spec.summary       = 'Simple Travis V3 API Client'
  spec.description   = 'A Simple client abstraction for the Travis V3 API'
  spec.homepage      = 'https://github.com/danielpclark/trav3'
  spec.license       = 'MIT'

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

  spec.required_ruby_version = '>= 2.3.0'

  # Generate YARD DOC on install
  spec.metadata['yard.run'] = 'yri'

  spec.add_development_dependency 'bundler', '> 1.16'
  spec.add_development_dependency 'factory_bot', '~> 4.11'
  spec.add_development_dependency 'rake', '~> 12.3.3'
  spec.add_development_dependency 'rspec', '~> 3.8'
end