From 4a98aad98d5b7778807aca17b670eb17aaba643b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Apr 2023 18:53:21 +0000 Subject: [PATCH] Bump rack-cors from 1.1.1 to 2.0.1 Bumps [rack-cors](https://github.com/cyu/rack-cors) from 1.1.1 to 2.0.1. - [Release notes](https://github.com/cyu/rack-cors/releases) - [Changelog](https://github.com/cyu/rack-cors/blob/master/CHANGELOG.md) - [Commits](https://github.com/cyu/rack-cors/compare/v1.1.1...v2.0.1) --- updated-dependencies: - dependency-name: rack-cors dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 1423e58f7..13ba22f75 100644 --- a/Gemfile +++ b/Gemfile @@ -41,7 +41,7 @@ gem 'pg', '~> 1.4' gem 'pg_search' gem 'puma', '~> 6.1.1' gem 'pundit', '~> 2.3.0' -gem 'rack-cors', '~> 1.0', require: 'rack/cors' +gem 'rack-cors', '~> 2.0', require: 'rack/cors' if next? gem 'rails', '~> 6.1' else diff --git a/Gemfile.lock b/Gemfile.lock index d7b573eee..487e3a3ed 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -349,7 +349,7 @@ GEM raabro (1.4.0) racc (1.6.2) rack (2.2.6.4) - rack-cors (1.1.1) + rack-cors (2.0.1) rack (>= 2.0.0) rack-protection (3.0.5) rack @@ -565,7 +565,7 @@ DEPENDENCIES pry puma (~> 6.1.1) pundit (~> 2.3.0) - rack-cors (~> 1.0) + rack-cors (~> 2.0) rails (~> 6.1) ranked-model (~> 0.4.8) restpack_serializer!