forked from zombocom/rack-timeout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rack-timeout.gemspec
28 lines (25 loc) · 1.09 KB
/
rack-timeout.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
RACK_TIMEOUT_VERSION = "0.7.0"
Gem::Specification.new do |spec|
spec.name = "rack-timeout"
spec.summary = "Abort requests that are taking too long"
spec.description = "Rack middleware which aborts requests that have been running for longer than a specified timeout."
spec.version = RACK_TIMEOUT_VERSION
spec.homepage = "https://github.com/zombocom/rack-timeout"
spec.author = "Caio Chassot"
spec.email = "[email protected]"
spec.files = Dir[*%w( MIT-LICENSE CHANGELOG.md UPGRADING.md README.md lib/**/* doc/**/* )]
spec.license = "MIT"
spec.metadata = {
"bug_tracker_uri" => "#{spec.homepage}/issues",
"changelog_uri" => "#{spec.homepage}/blob/v#{RACK_TIMEOUT_VERSION}/CHANGELOG.md",
"documentation_uri" => "https://rubydoc.info/gems/rack-timeout/#{RACK_TIMEOUT_VERSION}/",
"source_code_uri" => spec.homepage
}
spec.test_files = Dir.glob("test/**/*").concat([
"Gemfile",
"Rakefile"
])
spec.add_development_dependency("rake")
spec.add_development_dependency("rack-test")
spec.add_development_dependency("test-unit")
end