Gem::Specification.new do |gem| tag = `git describe --tags --abbrev=0`.chomp gem.name = 'kanban' gem.homepage = 'https://github.com/colstrom/kanban' gem.summary = 'Agile Workflow for Ruby Programs' gem.version = "#{tag}" 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' gem.files = `git ls-files -z`.split("\x0") gem.test_files = `git ls-files -z -- {test,spec,features}/*`.split("\x0") gem.executables = `git ls-files -z -- bin/*`.split("\x0").map { |f| File.basename(f) } gem.require_paths = ['lib'] gem.add_runtime_dependency 'contracts', '~> 0.16', '>= 0.16.0' gem.add_runtime_dependency 'redis', '~> 4.0', '>= 4.0.0' end