-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrom-model.gemspec
30 lines (26 loc) · 1.2 KB
/
rom-model.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rom/model/version'
Gem::Specification.new do |spec|
spec.name = "rom-model"
spec.version = ROM::Model::VERSION.dup
spec.authors = ["Piotr Solnica"]
spec.email = ["[email protected]"]
spec.summary = 'A small collection of extensions useful for data coercion and validation'
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.add_runtime_dependency 'dry-equalizer', '~> 0.2'
spec.add_runtime_dependency 'dry-core', '~> 0.2', '>= 0.2.3'
spec.add_runtime_dependency 'charlatan', '~> 0.1'
spec.add_runtime_dependency 'virtus', '~> 1.0', '>= 1.0.5'
spec.add_runtime_dependency 'activemodel', '>= 3.0', "< 6.0"
spec.add_runtime_dependency 'i18n'
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "rubocop", "~> 0.47.1"
end