lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'legion/transport/version' Gem::Specification.new do |spec| spec.name = (RUBY_ENGINE == 'jruby' ? 'legion-transport-java' : 'legion-transport') spec.version = Legion::Transport::VERSION spec.authors = ['Esity'] spec.email = ['matthewdiverson@gmail.com'] spec.summary = 'Used by Legion to connect with RabbitMQ' spec.description = 'The Legion transport gem' spec.homepage = 'https://bitbucket.org/legion-io/legion-transport' spec.files = `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1' spec.add_development_dependency 'codecov' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rspec_junit_formatter' spec.add_development_dependency 'rubocop' if RUBY_ENGINE == 'jruby' spec.add_development_dependency 'legion-settings-java', '~> 0.1' spec.add_dependency 'march_hare' else spec.add_development_dependency 'legion-settings', '~> 0.1' spec.add_dependency 'bunny' end spec.add_development_dependency 'legion-logging', '~> 0.1' end