# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'paho/version' Gem::Specification.new do |spec| spec.name = 'paho' spec.version = Paho::VERSION spec.authors = ['Andrei Maxim'] spec.email = ['andrei@andreimaxim.ro'] spec.homepage = 'https://github.com/andreimaxim/paho-rb' spec.license = 'MIT' spec.summary = %q{Ruby MQTT client based on the Eclipse Paho components} spec.description = <<-EOF paho-rb is a Ruby MQTT client that uses native bindings to the Eclipse Paho components (Java or C/C++, based on the Ruby platform used). EOF spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.platform = 'java' # spec.cert_chain = ['certs/andreimaxim.pem'] # spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $0 =~ /gem\z/ spec.add_development_dependency 'bundler', '~> 1.11' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'ruby-maven', '~> 3.3' spec.add_runtime_dependency 'jar-dependencies', '~> 0.3' spec.requirements << 'jar org.eclipse.paho, org.eclipse.paho.client.mqttv3, 1.0.2' end