Skip to content

Commit

Permalink
Merge pull request #1329 from alphagov/dependabot/bundler/gds-api-ada…
Browse files Browse the repository at this point in the history
…pters-97.0.0

Bump gds-api-adapters from 96.0.3 to 97.0.0
  • Loading branch information
yndajas authored Oct 18, 2024
2 parents cec5136 + 1e1b0e9 commit 551f729
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ GEM
net-http
ffi (1.16.3)
find_a_port (1.0.1)
gds-api-adapters (96.0.3)
gds-api-adapters (97.0.0)
addressable
link_header
null_logger
Expand Down Expand Up @@ -216,9 +216,10 @@ GEM
marcel (1.0.4)
matrix (0.4.2)
method_source (1.0.0)
mime-types (3.5.2)
mime-types (3.6.0)
logger
mime-types-data (~> 3.2015)
mime-types-data (3.2024.0820)
mime-types-data (3.2024.1001)
mini_mime (1.1.5)
mini_portile2 (2.8.7)
minitest (5.25.1)
Expand Down
1 change: 0 additions & 1 deletion app/models/route_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def register_redirect(route)
route.fetch(:path),
route.fetch(:type),
route.fetch(:destination),
route.fetch(:redirect_type, "permanent"),
segments_mode: route[:segments_mode],
)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/support/router_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def assert_redirect_routes_registered(redirects)
# NOTE: WebMock stubs allow you to assert against already executed requests.

redirects.each do |(path, type, destination, segments_mode)|
redirect_signature = stub_redirect_registration(path, type, destination, "permanent", segments_mode)
redirect_signature = stub_redirect_registration(path, type, destination, segments_mode)
assert_requested(redirect_signature, times: 1)
end
end
Expand Down

0 comments on commit 551f729

Please sign in to comment.