Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rack Attack to reduce Redis calls #10000

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ gem 'premailer-rails', '>= 1.12.0'
gem 'profanity_filter'
gem 'propshaft'
gem 'rack', '>= 3.0'
gem 'rack-attack', '>= 6.2.1'
gem 'rack-attack', github: 'rack/rack-attack', ref: 'd9fedfae4f7f6409f33857763391f4e18a6d7467'
gem 'rack-cors', '>= 1.0.5', require: 'rack/cors'
gem 'rack-headers_filter'
gem 'rack-timeout', require: false
Expand Down
12 changes: 9 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ GIT
selenium-webdriver (>= 4.0)
webrick (>= 1.7)

GIT
remote: https://github.com/rack/rack-attack.git
revision: d9fedfae4f7f6409f33857763391f4e18a6d7467
ref: d9fedfae4f7f6409f33857763391f4e18a6d7467
specs:
rack-attack (6.7.0)
rack (>= 1.0, < 4)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -477,8 +485,6 @@ GEM
raabro (1.4.0)
racc (1.7.3)
rack (3.0.8)
rack-attack (6.7.0)
rack (>= 1.0, < 4)
rack-cors (2.0.1)
rack (>= 2.0.0)
rack-headers_filter (0.0.1)
Expand Down Expand Up @@ -805,7 +811,7 @@ DEPENDENCIES
psych
puma (~> 6.0)
rack (>= 3.0)
rack-attack (>= 6.2.1)
rack-attack!
rack-cors (>= 1.0.5)
rack-headers_filter
rack-mini-profiler (>= 1.1.3)
Expand Down