-
Notifications
You must be signed in to change notification settings - Fork 5
/
problem_details.gemspec
31 lines (28 loc) · 1.02 KB
/
problem_details.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
# frozen_string_literal: true
version = File.read(File.expand_path('VERSION', __dir__)).strip
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = 'problem_details'
spec.version = version
spec.authors = ['Nobuhiro Nikushi']
spec.email = ['[email protected]']
spec.summary = 'An implementation of RFC 7807 Problem Details for HTTP APIs'
spec.description = spec.summary
spec.homepage = 'https://github.com/nikushi/problem_details'
spec.license = 'MIT'
spec.files = Dir['lib/**/*.rb'] + %w[
CHANGELOG.md
LICENSE.txt
README.md
Rakefile
problem_details.gemspec
VERSION
]
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.0.0'
spec.add_runtime_dependency 'rack', '>= 1.1.0'
spec.add_development_dependency 'bundler', '>= 1.16'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
end