From 8796ddbcbc4c3e9fb9359b5638fd68805e9d4b21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 21:02:34 +0000 Subject: [PATCH 1/2] Bump sinatra from 4.0.0 to 4.1.0 Bumps [sinatra](https://github.com/sinatra/sinatra) from 4.0.0 to 4.1.0. - [Changelog](https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md) - [Commits](https://github.com/sinatra/sinatra/compare/v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: sinatra dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 7162074..b00df7b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -35,7 +35,7 @@ GEM logger (1.6.1) minitest (5.25.1) multi_json (1.15.0) - mustermann (3.0.0) + mustermann (3.0.3) ruby2_keywords (~> 0.0.1) nio4r (2.7.3) onkcop (1.0.0.0) @@ -48,9 +48,10 @@ GEM puma (6.4.3) nio4r (~> 2.0) racc (1.8.1) - rack (3.0.9.1) - rack-protection (4.0.0) + rack (3.1.8) + rack-protection (4.1.0) base64 (>= 0.1.0) + logger (>= 1.6.0) rack (>= 3.0.0, < 4) rack-session (2.0.0) rack (>= 3.0.0) @@ -106,24 +107,25 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - sinatra (4.0.0) + sinatra (4.1.0) + logger (>= 1.6.0) mustermann (~> 3.0) rack (>= 3.0.0, < 4) - rack-protection (= 4.0.0) + rack-protection (= 4.1.0) rack-session (>= 2.0.0, < 3) tilt (~> 2.0) - sinatra-contrib (4.0.0) + sinatra-contrib (4.1.0) multi_json (>= 0.0.2) mustermann (~> 3.0) - rack-protection (= 4.0.0) - sinatra (= 4.0.0) + rack-protection (= 4.1.0) + sinatra (= 4.1.0) tilt (~> 2.0) slack-notifier (2.4.0) sync (0.5.0) term-ansicolor (1.7.1) tins (~> 1.0) thor (1.2.2) - tilt (2.3.0) + tilt (2.4.0) tins (1.32.1) sync tzinfo (2.0.6) From 99a1fe99f1da5ebf34fb219edaac69ef3afacc74 Mon Sep 17 00:00:00 2001 From: sue445 Date: Tue, 19 Nov 2024 08:02:22 +0900 Subject: [PATCH 2/2] Fix Host not permitted in spec --- spec/spec_helper.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 3da55a4..e53a66d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -118,5 +118,7 @@ end def app - App + App.class_eval do + set :host_authorization, { permitted_hosts: [] } + end end