concourse-resource-rubygems.gemspec in concourse-resource-rubygems-0.3.4 vs concourse-resource-rubygems.gemspec in concourse-resource-rubygems-0.4.5
- old
+ new
@@ -1,23 +1,25 @@
-require_relative 'lib/concourse-resource/rubygems/version'
-
Gem::Specification.new do |gem|
+ tag = `git describe --tags --abbrev=0`.chomp
+
gem.name = 'concourse-resource-rubygems'
- gem.version = ConcourseResource::RubyGems::VERSION
- gem.license = 'Apache-2.0'
+ gem.homepage = 'https://github.com/colstrom/concourse-resource-rubygems'
gem.summary = 'Concourse Resource for RubyGems'
- gem.author = 'Chris Olstrom'
+ gem.version = "#{tag}"
+ gem.licenses = ['MIT']
+ gem.authors = ['Chris Olstrom']
gem.email = 'chris@olstrom.com'
- gem.homepage = 'https://github.com/colstrom/concourse-resource-rubygems'
- gem.files = `git ls-files`.split("\n")
- gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
- gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
- gem.require_paths = ['lib']
+ gem.cert_chain = ['trust/certificates/colstrom.pem']
+ gem.signing_key = File.expand_path ENV.fetch 'GEM_SIGNING_KEY'
- gem.add_runtime_dependency 'concourse-fuselage', '~> 0.3', '>= 0.3.0'
- gem.add_runtime_dependency 'gems', '~> 0.8', '>= 0.8.3'
- gem.add_runtime_dependency 'httparty', '~> 0.13', '>= 0.13.7'
+ gem.files = `git ls-files -z`.split("\x0")
+ gem.executables = `git ls-files -z -- bin/*`.split("\x0").map { |f| File.basename(f) }
+ gem.test_files = `git ls-files -z -- {test,spec,features}/*`.split("\x0")
- gem.add_development_dependency 'semver2', '~> 3.4', '>= 3.4.2'
+ gem.require_paths = ['lib']
+
+ gem.add_runtime_dependency 'concourse-fuselage', '~> 0.3', '>= 0.3.0'
+ gem.add_runtime_dependency 'gems', '~> 0.8', '>= 0.8.3'
+ gem.add_runtime_dependency 'httparty', '~> 0.13', '>= 0.13.7'
end