matchi.gemspec in matchi-0.0.7 vs matchi.gemspec in matchi-0.0.8

- old
+ new

@@ -12,11 +12,17 @@ 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.9' + 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.31' + 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