lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'hanami/model/version' Gem::Specification.new do |spec| spec.name = 'hanami-model' spec.version = Hanami::Model::VERSION spec.authors = ['Luca Guidi'] spec.email = ['me@lucaguidi.com'] spec.summary = 'A persistence layer for Hanami' spec.description = 'A persistence framework with entities and repositories' spec.homepage = 'http://hanamirb.org' spec.license = 'MIT' spec.files = `git ls-files -z -- lib/* CHANGELOG.md EXAMPLE.md LICENSE.md README.md hanami-model.gemspec`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] spec.required_ruby_version = '>= 2.3.0' spec.add_runtime_dependency 'hanami-utils', '~> 1.3' spec.add_runtime_dependency 'rom', '~> 3.3', '>= 3.3.3' spec.add_runtime_dependency 'rom-sql', '~> 1.3', '>= 1.3.5' spec.add_runtime_dependency 'rom-repository', '~> 1.4' spec.add_runtime_dependency 'dry-types', '~> 0.11.0' spec.add_runtime_dependency 'concurrent-ruby', '~> 1.0' spec.add_development_dependency 'bundler', '>= 1.6', '< 3' spec.add_development_dependency 'rake', '~> 12' spec.add_development_dependency 'rspec', '~> 3.7' end