28 lines
1.2 KiB
Ruby
28 lines
1.2 KiB
Ruby
lib = File.expand_path('../lib', __FILE__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
require 'hanami/validations/version'
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = 'hanami-validations'
|
|
spec.version = Hanami::Validations::VERSION
|
|
spec.authors = ['Luca Guidi']
|
|
spec.email = ['me@lucaguidi.com']
|
|
spec.summary = 'Validations mixin for Ruby objects'
|
|
spec.description = 'Validations mixin for Ruby objects and support for Hanami'
|
|
spec.homepage = 'http://hanamirb.org'
|
|
spec.license = 'MIT'
|
|
|
|
spec.files = `git ls-files -- lib/* LICENSE.md README.md CHANGELOG.md hanami-validations.gemspec`.split($INPUT_RECORD_SEPARATOR)
|
|
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_dependency 'hanami-utils', '1.1.0.beta2'
|
|
spec.add_dependency 'dry-validation', '~> 0.11'
|
|
|
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
|
spec.add_development_dependency 'rake', '~> 10'
|
|
spec.add_development_dependency 'rspec', '~> 3.6'
|
|
end
|