This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
forked from rack/rack-attack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rack-attack.gemspec
47 lines (37 loc) · 1.58 KB
/
rack-attack.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
35
36
37
38
39
40
41
42
43
44
45
46
47
# frozen_string_literal: true
require_relative 'lib/rack/attack/version'
Gem::Specification.new do |s|
s.name = 'rack-attack'
s.version = Rack::Attack::VERSION
s.license = 'MIT'
s.authors = ["Aaron Suggs"]
s.description = "A rack middleware for throttling and blocking abusive requests"
s.email = "[email protected]"
s.files = Dir.glob("{bin,lib}/**/*") + %w(Rakefile README.md LICENSE)
s.homepage = 'https://github.com/rack/rack-attack'
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.summary = 'Block & throttle abusive requests'
s.test_files = Dir.glob("spec/**/*")
s.metadata = {
"bug_tracker_uri" => "https://github.com/rack/rack-attack/issues",
"changelog_uri" => "https://github.com/rack/rack-attack/blob/main/CHANGELOG.md",
"source_code_uri" => "https://github.com/rack/rack-attack"
}
s.required_ruby_version = '>= 2.4'
s.add_runtime_dependency 'rack', ">= 1.0", "< 4"
s.add_development_dependency 'appraisal', '~> 2.2'
s.add_development_dependency "bundler", ">= 1.17", "< 3.0"
s.add_development_dependency 'minitest', "~> 5.11"
s.add_development_dependency "minitest-stub-const", "~> 0.6"
s.add_development_dependency 'rack-test', "~> 2.0"
s.add_development_dependency 'rake', "~> 13.0"
s.add_development_dependency "rubocop", "0.89.1"
s.add_development_dependency "rubocop-performance", "~> 1.5.0"
s.add_development_dependency "timecop", "~> 0.9.1"
# byebug only works with MRI
if RUBY_ENGINE == "ruby"
s.add_development_dependency 'byebug', '~> 11.0'
end
s.add_development_dependency "activesupport"
end