# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'legion/version' Gem::Specification.new do |spec| spec.name = (RUBY_ENGINE == 'jruby' ? 'legionio-java' : 'legionio') spec.version = Legion::VERSION spec.authors = ['Esity'] spec.email = ['matthewdiverson@gmail.com'] spec.summary = 'Legion Core Software to string it all together' spec.description = 'Legion Core runs Legion Framwork' spec.homepage = 'https://bitbucket.org/legion-io/legion/' spec.license = 'MIT' spec.required_ruby_version = '>= 2.5.0' 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'] if RUBY_ENGINE == 'jruby' spec.add_dependency 'jrjackson' spec.add_dependency 'legion-data-java' spec.add_dependency 'legion-transport-java' spec.add_dependency 'march_hare' else spec.add_dependency 'concurrent-ruby-ext' spec.add_dependency 'legion-data' spec.add_dependency 'legion-transport' spec.add_dependency 'oj' end spec.add_dependency 'concurrent-ruby' spec.add_dependency 'daemons' spec.add_dependency 'hashdiff' spec.add_dependency 'bunny' spec.add_dependency 'legion-cache' spec.add_dependency 'legion-crypt' spec.add_dependency 'legion-exceptions' spec.add_dependency 'legion-json' spec.add_dependency 'legion-logging' spec.add_dependency 'legion-settings' spec.add_dependency 'lex-node' spec.add_development_dependency 'bundler' spec.add_development_dependency 'codecov' spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec' spec.add_development_dependency 'rspec_junit_formatter' spec.add_development_dependency 'rubocop' spec.add_development_dependency 'simplecov' end