-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsinatra-validation.gemspec
33 lines (28 loc) · 1.26 KB
/
sinatra-validation.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
31
32
33
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sinatra/validation/version'
Gem::Specification.new do |spec|
spec.name = "sinatra-validation"
spec.version = Sinatra::Validation::VERSION
spec.authors = ["IzumiSy"]
spec.email = ["beetle-noise@gmx.com"]
spec.summary = %q{ "Sinatra extension for request parameter validation" }
spec.description = %q{ "sinatra-validation is a gem to define parameter validation with dry-validation"}
spec.homepage = "https://github.com/IzumiSy/sinatra-validation"
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"]
spec.add_dependency 'sinatra', '~> 4.0.0'
spec.add_dependency 'rack', '>= 3.0.9'
spec.add_dependency 'dry-validation', '~> 1.10'
spec.add_development_dependency "rake", "~> 13.1"
spec.add_development_dependency "rspec", "~> 3.13"
spec.add_development_dependency "rack-contrib"
spec.add_development_dependency "rack-test"
spec.add_development_dependency "pry"
end