ezmq.gemspec in ezmq-0.4.4 vs ezmq.gemspec in ezmq-0.4.11

- old
+ new

@@ -1,31 +1,24 @@ Gem::Specification.new do |gem| - gem.name = 'ezmq' - gem.version = '0.4.4' - gem.licenses = 'MIT' - gem.authors = ['Chris Olstrom'] - gem.email = 'chris@olstrom.com' - gem.homepage = 'http://colstrom.github.io/ezmq/' - gem.summary = 'Effortless ZMQ' - gem.description = 'Syntactic sugar around FFI bindings for ZMQ, to stop C from seeping into your Ruby.' + tag = `git describe --tags --abbrev=0`.chomp - 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.require_paths = ['lib'] + gem.name = 'ezmq' + gem.homepage = 'http://colstrom.github.io/ezmq/' + gem.summary = 'Effortless ZMQ' + gem.description = 'Syntactic sugar around FFI bindings for ZMQ, to stop C from seeping into your Ruby.' - gem.add_runtime_dependency 'ffi-rzmq', '~> 2.0' + gem.version = "#{tag}" + gem.licenses = ['MIT'] + gem.authors = ['Chris Olstrom'] + gem.email = 'chris@olstrom.com' - gem.add_development_dependency 'rake' - gem.add_development_dependency 'rubocop' - gem.add_development_dependency 'flog' - gem.add_development_dependency 'flay' - gem.add_development_dependency 'roodi' - gem.add_development_dependency 'reek' - gem.add_development_dependency 'churn' - gem.add_development_dependency 'yard' - gem.add_development_dependency 'inch' - gem.add_development_dependency 'kintama' - gem.add_development_dependency 'simplecov' - gem.add_development_dependency 'coveralls' - gem.add_development_dependency 'codeclimate-test-reporter' + 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'] + + gem.add_runtime_dependency 'ffi-rzmq', '~> 2.0', '>= 2.0.4' end