# 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.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 'legion-data-java', '~> 0.1' # spec.add_dependency 'legion-json-java', '~> 0.1' # spec.add_dependency 'legion-settings-java', '~> 0.1' # spec.add_dependency 'legion-transport-java', '~> 0.1' # else # spec.add_dependency 'legion-data', '~> 0.1' # spec.add_dependency 'legion-json', '~> 0.1' # spec.add_dependency 'legion-settings', '~> 0.1' # spec.add_dependency 'legion-transport', '~> 0.1' # end spec.add_dependency 'celluloid' spec.add_dependency 'celluloid-io' spec.add_dependency 'daemons' spec.add_dependency 'legion-data', '~> 0.1' spec.add_dependency 'legion-json', '~> 0.1' spec.add_dependency 'legion-settings', '~> 0.1' spec.add_dependency 'legion-transport', '~> 0.1' spec.add_dependency 'legion-exceptions' spec.add_dependency 'legion-extensions', '~> 0.1' spec.add_dependency 'legion-logging', '~> 0.1' spec.add_development_dependency 'bundler', '~> 1' spec.add_development_dependency 'codecov' spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rubocop' spec.add_development_dependency 'simplecov' end