From 977672752dfd112d17d057f50da6c838fb0f08db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:39:36 +0000 Subject: [PATCH 1/2] Bump gds-api-adapters from 97.6.0 to 98.0.0 Bumps [gds-api-adapters](https://github.com/alphagov/gds-api-adapters) from 97.6.0 to 98.0.0. - [Changelog](https://github.com/alphagov/gds-api-adapters/blob/main/CHANGELOG.md) - [Commits](https://github.com/alphagov/gds-api-adapters/compare/v97.6.0...v98.0.0) --- updated-dependencies: - dependency-name: gds-api-adapters dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 933aed5cf9d..6ad3477497f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -248,7 +248,7 @@ GEM et-orbi (~> 1, >= 1.2.11) raabro (~> 1.4) fuzzy_match (2.1.0) - gds-api-adapters (97.6.0) + gds-api-adapters (98.0.0) addressable link_header null_logger From 00f820e8bf31e2905ba8c45d42dd05ede2d844a1 Mon Sep 17 00:00:00 2001 From: pezholio Date: Thu, 19 Dec 2024 09:23:46 +0000 Subject: [PATCH 2/2] Remove references to `gds_api/router` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This has been removed from the latest version of gds-api-adapters, and isn’t used anywhere --- features/support/router_helper.rb | 13 ------------- lib/tasks/reslugging.rake | 1 - 2 files changed, 14 deletions(-) delete mode 100644 features/support/router_helper.rb diff --git a/features/support/router_helper.rb b/features/support/router_helper.rb deleted file mode 100644 index 5e71303e9d5..00000000000 --- a/features/support/router_helper.rb +++ /dev/null @@ -1,13 +0,0 @@ -require "gds_api/router" -# We never have to go to the Router during Feature tests. Disable. -module GdsApi - class Router - def add_route(_path, _type, _backend_id, _options = {}) - true - end - - def delete_route(_path, _type, _backend_id, _options = {}) - true - end - end -end diff --git a/lib/tasks/reslugging.rake b/lib/tasks/reslugging.rake index e10eace25cd..ccef071d04a 100644 --- a/lib/tasks/reslugging.rake +++ b/lib/tasks/reslugging.rake @@ -1,4 +1,3 @@ -require "gds_api/router" require "gds_api/publishing_api" namespace :reslug do