diff --git a/Gemfile b/Gemfile index dda970bb9..b825e04aa 100644 --- a/Gemfile +++ b/Gemfile @@ -72,7 +72,7 @@ gem 'posix-spawn', git: 'https://github.com/rtomayko/posix-spawn', ref: '58465d2 gem 'pundit', '~> 2.1' gem 'premailer-rails' gem 'rack-attack', '~> 6.2' -gem 'rack-cors', '~> 1.0', require: 'rack/cors' +gem 'rack-cors', '~> 1.1', require: 'rack/cors' gem 'rails-i18n', '~> 5.1' gem 'rails-settings-cached', '~> 0.6' gem 'redis', '~> 4.1', require: ['redis', 'redis/connection/hiredis'] diff --git a/Gemfile.lock b/Gemfile.lock index b84691e2f..14f817fd0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -461,8 +461,8 @@ GEM rack (2.0.7) rack-attack (6.2.1) rack (>= 1.0, < 3) - rack-cors (1.0.6) - rack (>= 1.6.0) + rack-cors (1.1.0) + rack (>= 2.0.0) rack-protection (2.0.7) rack rack-proxy (0.6.5) @@ -766,7 +766,7 @@ DEPENDENCIES puma (~> 4.2) pundit (~> 2.1) rack-attack (~> 6.2) - rack-cors (~> 1.0) + rack-cors (~> 1.1) rails (~> 5.2.3) rails-controller-testing (~> 1.0) rails-i18n (~> 5.1)