-
Notifications
You must be signed in to change notification settings - Fork 0
/
sinatra-errorcodes.gemspec
34 lines (27 loc) · 1.27 KB
/
sinatra-errorcodes.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
34
# coding: utf-8
require File.expand_path('../lib/sinatra/errorcodes/version', __FILE__)
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
summary = %q{ "Sinatra Extension of HTTP error status code pack" }
description = %q{ "sinatra-errorcodes is the sinatra extension that contains a pack of HTTP error status code and message" }
ignores = %r{ ^(test|spec|features)/ }
homepage = "https://github.com/IzumiSy/sinatra-errorcodes"
Gem::Specification.new do |spec|
spec.name = 'sinatra-errorcodes'
spec.version = Sinatra::Errorcodes::VERSION
spec.authors = ['IzumiSy']
spec.email = ['[email protected]']
spec.summary = summary
spec.description = description
spec.homepage = homepage
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(ignores) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{ ^exe /}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'sinatra', '~> 2.0.2'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rack-test'
end