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