metadata-v2.gemspec in metadata-v2-0.8.5.pre vs metadata-v2.gemspec in metadata-v2-0.8.9
- old
+ new
@@ -1,14 +1,21 @@
Gem::Specification.new do |gem|
+ tag = `git describe --tags --abbrev=0`.chomp
+
gem.name = 'metadata-v2'
- gem.version = `git describe --tags --abbrev=0`.chomp + '.pre'
- gem.licenses = 'MIT'
- gem.authors = ['Chris Olstrom']
- gem.email = 'chris@olstrom.com'
gem.homepage = 'https://github.com/colstrom/metadata-v2'
gem.summary = 'A Ruby Interface to the Joyent Metadata Protocol (Version 2)'
- gem.files = `git ls-files`.split("\n")
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
+ gem.version = "#{tag}"
+ gem.licenses = ['MIT']
+ gem.authors = ['Chris Olstrom']
+ gem.email = 'chris@olstrom.com'
+
+ gem.cert_chain = ['trust/certificates/colstrom.pem']
+ gem.signing_key = File.expand_path ENV.fetch 'GEM_SIGNING_KEY'
+
+ gem.files = `git ls-files -z`.split("\x0")
+ gem.test_files = `git ls-files -z -- {test,spec,features}/*`.split("\x0")
+ gem.executables = `git ls-files -z -- bin/*`.split("\x0").map { |f| File.basename(f) }
+
gem.require_paths = ['lib']
end