Skip to content

Commit

Permalink
Add rack-attack gem
Browse files Browse the repository at this point in the history
  • Loading branch information
littleforest committed Nov 18, 2020
1 parent 30d18c4 commit 46f6036
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ gem "paper_trail" # tracking changes
gem "pg", ">= 0.18", "< 2.0" # Use postgresql as the database for Active Record
gem "puma", "~> 5.0" # Use Puma as the app server
gem "pundit" # for authorization management - based on user.role field
gem "rack-attack" # for blocking & throttling abusive requests
gem "skylight" # automated performance testing https://www.skylight.io/
gem "webpacker", "~> 5.2" # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem "image_processing", "~> 1.12" # Set of higher-level helper methods for image processing.
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ GEM
pundit (2.1.0)
activesupport (>= 3.0.0)
rack (2.2.3)
rack-attack (6.3.1)
rack (>= 1.0, < 3)
rack-proxy (0.6.5)
rack
rack-test (1.1.0)
Expand Down Expand Up @@ -359,6 +361,7 @@ DEPENDENCIES
pry-byebug
puma (~> 5.0)
pundit
rack-attack
rails (~> 6.0.3)
rake
rspec-rails (~> 4.0.1)
Expand Down

0 comments on commit 46f6036

Please sign in to comment.