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.metadata = { 'bug_tracker_uri' => 'https://legionio.atlassian.net/projects/TRANSPORT/issues', 'changelog_uri' => 'https://bitbucket.org/legion-io/legion-transport/src/master/CHANGELOG.md', 'homepage_uri' => 'https://bitbucket.org/legion-io/legion-transport', 'wiki_uri' => 'https://bitbucket.org/legion-io/legion-transport/wiki/Home' } 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' 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' spec.add_development_dependency 'simplecov' spec.add_dependency 'concurrent-ruby' spec.add_dependency 'concurrent-ruby-ext' if RUBY_ENGINE == 'jruby' spec.add_development_dependency 'legion-settings-java' spec.add_dependency 'march_hare' else spec.add_development_dependency 'legion-settings' spec.add_dependency 'bunny' end spec.add_development_dependency 'legion-logging' end