cotton-tail.gemspec in cotton-tail-0.2.0 vs cotton-tail.gemspec in cotton-tail-0.2.1
- old
+ new
@@ -16,10 +16,10 @@
your services'
spec.license = 'MIT'
spec.cert_chain = ['certs/jamesbrennan.pem']
- spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $PROGRAM_NAME =~ /gem\z/
+ spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $PROGRAM_NAME.end_with? 'gem'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features|integration)/})
end