Gem::Specification.new do |spec| spec.name = 'matchi' spec.version = File.read('VERSION.semver') spec.authors = ['Cyril Wack'] spec.email = ['contact@cyril.email'] spec.summary = 'Collection of matchers.' spec.description = 'Collection of expectation matchers for Ruby.' spec.homepage = 'https://github.com/fixrb/matchi' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) } spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.10' spec.add_development_dependency 'rake', '~> 10.4' spec.add_development_dependency 'yard', '~> 0.8' spec.add_development_dependency 'simplecov', '~> 0.10' spec.add_development_dependency 'rubocop', '~> 0.32' private_key = File.expand_path '~/.gem/matchi-gem-private_key.pem' if File.exist? private_key spec.signing_key = private_key spec.cert_chain = ['matchi-gem-public_cert.pem'] end end