matchi.gemspec in matchi-0.0.8 vs matchi.gemspec in matchi-0.0.9

- old
+ new

@@ -1,8 +1,8 @@ Gem::Specification.new do |spec| spec.name = 'matchi' - spec.version = File.read('VERSION.semver') + spec.version = File.read('VERSION.semver').chomp spec.authors = ['Cyril Wack'] spec.email = ['contact@cyril.email'] spec.summary = 'Collection of matchers.' spec.description = 'Collection of expectation matchers for Ruby.' @@ -18,11 +18,9 @@ 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 + spec.cert_chain = ['certs/gem-fixrb-public_cert.pem'] + private_key = File.expand_path('~/.ssh/gem-fixrb-private_key.pem') + spec.signing_key = private_key if File.exist?(private_key) end