From ceb26997606d9ca9f464b2f2647aaf86efc78945 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sun, 25 Sep 2016 22:54:40 +0800 Subject: [PATCH] install rack-attack --- Gemfile | 1 + Gemfile.lock | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index b4a0967b..d5b42d83 100644 --- a/Gemfile +++ b/Gemfile @@ -23,6 +23,7 @@ gem 'pg' gem 'pundit' gem 'pundit_extra' gem 'rack-cors' +gem 'rack-attack' gem 'redis' gem 'slack-notifier' gem 'snorlax' diff --git a/Gemfile.lock b/Gemfile.lock index 7e2590c1..23d4c827 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -177,6 +177,8 @@ GEM activesupport (>= 3.0.0) pundit_extra (0.3.0) rack (2.0.1) + rack-attack (5.0.1) + rack rack-cors (0.4.0) rack-test (0.6.3) rack (>= 1.0) @@ -316,6 +318,7 @@ DEPENDENCIES pry-rails pundit pundit_extra + rack-attack rack-cors rails (~> 5.0.0) rails3-jquery-autocomplete