Sha256: a2d2b8acf7ae39fd27b5345bc3ca833036f85cb37b7e6f3ff1fd434f4046f408

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# frozen_string_literal: true

Gem::Specification.new do |gem|
  gem.name          = 'drone-ci'
  gem.homepage      = 'https://github.com/colstrom/drone-ci'
  gem.summary       = 'Ruby Interface to the Drone CI API'

  gem.licenses      = ['MIT']
  gem.authors       = ['Chris Olstrom']
  gem.email         = 'chris@olstrom.com'

  # gem.cert_chain    = ['trust/certificates/colstrom.pem']
  # gem.signing_key   = File.expand_path ENV.fetch 'GEM_SIGNING_KEY'

  if ENV['HACKING']
    gem.version     = '0.0.0-pre'
    gem.files       = Dir.glob('**')
    gem.executables = Dir.glob('bin/*')
  else
    gem.required_ruby_version = '>= 3.0.0'
    gem.version               = `git describe --tags --always`.chomp
    gem.files                 = `git ls-files -z`.split("\x0")
    gem.executables           = `git ls-files -z -- bin/*`.split("\x0").map { |f| File.basename(f) }
  end

  gem.require_paths = ['lib']

  gem.add_runtime_dependency 'faraday',        '~> 2.5', '>= 2.5.2'
  gem.add_runtime_dependency 'faraday-retry',  '~> 2.0'
  gem.add_runtime_dependency 'httpx',          '~> 0.21.0'
  gem.add_runtime_dependency 'octokit',        '~> 5.4'

  gem.add_development_dependency 'pry',        '~> 0.14.1'
  gem.add_development_dependency 'pry-doc',    '~> 1.3'
  gem.add_development_dependency 'rubocop',    '~> 1.35'
  gem.add_development_dependency 'solargraph', '~> 0.45.0'
  gem.add_development_dependency 'yard',       '~> 0.9.28'
  gem.metadata['rubygems_mfa_required'] = 'true'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drone-ci-0.1.0 drone-ci.gemspec