Gem::Specification.new do |gem| tag = `git describe --tags --abbrev=0`.chomp 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.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'] gem.add_runtime_dependency 'ffi-rzmq', '~> 2.0', '>= 2.0.4' end