-
Notifications
You must be signed in to change notification settings - Fork 1
/
drone-ci.gemspec
39 lines (32 loc) · 1.46 KB
/
drone-ci.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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 = '[email protected]'
# 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'
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.6'
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.46.0'
gem.add_development_dependency 'yard', '~> 0.9.28'
gem.metadata['rubygems_mfa_required'] = 'true'
end