Skip to content

Commit

Permalink
🚨 [security] Update sinatra 4.0.0 → 4.1.0 (minor) (#265)
Browse files Browse the repository at this point in the history
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Tommaso Barbato <[email protected]>
  • Loading branch information
depfu[bot] and epistrephein authored Nov 20, 2024
1 parent 89955f7 commit 4d7ffa3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ GEM
logger (1.6.1)
mock_redis (0.45.0)
multipart-post (2.4.1)
mustermann (3.0.0)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
net-http (0.4.1)
uri
Expand All @@ -56,8 +56,9 @@ GEM
rack (3.1.8)
rack-cors (2.0.2)
rack (>= 2.0.0)
rack-protection (4.0.0)
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)
Expand Down Expand Up @@ -119,14 +120,15 @@ 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)
stringio (3.1.1)
tilt (2.3.0)
tilt (2.4.0)
unicode-display_width (2.6.0)
unicorn (6.1.0)
kgio (~> 2.6)
Expand Down
1 change: 1 addition & 0 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Rubies < Sinatra::Base
configure do
set :logging, true
set :protection, except: [:json_csrf]
set :host_authorization, { permitted_hosts: [] }
end

configure :production do
Expand Down

0 comments on commit 4d7ffa3

Please sign in to comment.