johnhamelink/diplomat

View on GitHub
diplomatic_bag.gemspec

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

require './lib/diplomat/version'

Gem::Specification.new 'diplomatic_bag', Diplomat::VERSION do |spec|
  spec.authors       = ['Nicolas Benoit', 'Pierre Souchay']
  spec.email         = ['n.benoit@criteo.com', 'p.souchay@criteo.com']
  spec.description   = spec.summary = 'Toolbox for Consul'
  spec.homepage      = 'https://github.com/WeAreFarmGeek/diplomat'
  spec.license       = 'BSD-3-Clause'

  spec.files         = `git ls-files bin lib/diplomatic_bag.rb lib/diplomatic_bag LICENSE`.split("\n")
  spec.bindir        = 'bin'
  spec.executables =   spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.required_ruby_version = '>= 2.5' # Does not work with 1.9 and below

  spec.add_runtime_dependency 'diplomat', "=#{Diplomat::VERSION}"
end