rom-rb/rom-rails

View on GitHub
rom-rails.gemspec

Summary

Maintainability
Test Coverage
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rom/rails/version'

Gem::Specification.new do |spec|
  spec.name          = "rom-rails"
  spec.version       = ROM::Rails::VERSION.dup
  spec.authors       = ["Chris Flipse", "Piotr Solnica"]
  spec.email         = ["cflipse@gmail.com", "piotr.solnica@gmail.com"]
  spec.summary       = 'Integrate Ruby Object Mapper with Rails'
  spec.homepage      = "http://rom-rb.org"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.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.metadata = {
    "bug_tracker_uri" => "https://github.com/rom-rb/rom-rails/issues",
    "changelog_uri"   => "https://github.com/rom-rb/rom-rails/blob/master/CHANGELOG.md",
    "source_code_uri" => "https://github.com/rom-rb/rom-rails",
  }

  spec.add_runtime_dependency 'addressable', '~> 2.3'
  spec.add_runtime_dependency 'dry-core', '~> 1.0'
  spec.add_runtime_dependency 'railties', '>= 6.0', '< 8.0.0'
  spec.add_runtime_dependency 'rom', '~> 5.3'

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rom-repository"
  spec.add_development_dependency "rubocop", "~> 0.50"
end