Skip to content

Commit 31d41fe

Browse files
authored
[ruby/sinatra] Update dependencies (#9637)
1 parent 41ef063 commit 31d41fe

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

frameworks/Ruby/sinatra-sequel/Gemfile.lock

+16-12
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,48 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
base64 (0.2.0)
5-
bigdecimal (3.1.8)
5+
bigdecimal (3.1.9)
66
iodine (0.7.58)
7-
json (2.9.1)
7+
json (2.10.1)
88
kgio (2.11.4)
9+
logger (1.6.6)
910
mustermann (3.0.3)
1011
ruby2_keywords (~> 0.0.1)
1112
mysql2 (0.5.6)
1213
nio4r (2.7.4)
13-
passenger (6.0.24)
14+
passenger (6.0.26)
1415
rack (>= 1.6.13)
1516
rackup (>= 2.0.0)
1617
rake (>= 12.3.3)
17-
pg (1.5.8)
18-
puma (6.5.0)
18+
pg (1.5.9)
19+
puma (6.6.0)
1920
nio4r (~> 2.0)
20-
rack (3.1.8)
21-
rack-protection (4.0.0)
21+
rack (3.1.12)
22+
rack-protection (4.1.1)
2223
base64 (>= 0.1.0)
24+
logger (>= 1.6.0)
2325
rack (>= 3.0.0, < 4)
24-
rack-session (2.0.0)
26+
rack-session (2.1.0)
27+
base64 (>= 0.1.0)
2528
rack (>= 3.0.0)
2629
rackup (2.2.1)
2730
rack (>= 3)
2831
raindrops (0.20.1)
2932
rake (13.2.1)
3033
ruby2_keywords (0.0.5)
31-
sequel (5.85.0)
34+
sequel (5.90.0)
3235
bigdecimal
3336
sequel_pg (1.17.1)
3437
pg (>= 0.18.0, != 1.2.0)
3538
sequel (>= 4.38.0)
36-
sinatra (4.0.0)
39+
sinatra (4.1.1)
40+
logger (>= 1.6.0)
3741
mustermann (~> 3.0)
3842
rack (>= 3.0.0, < 4)
39-
rack-protection (= 4.0.0)
43+
rack-protection (= 4.1.1)
4044
rack-session (>= 2.0.0, < 3)
4145
tilt (~> 2.0)
42-
tilt (2.4.0)
46+
tilt (2.6.0)
4347
unicorn (6.1.0)
4448
kgio (~> 2.6)
4549
raindrops (~> 0.7)

frameworks/Ruby/sinatra-sequel/hello_world.rb

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ class HelloWorld < Sinatra::Base
1010
# XSS, CSRF, IP spoofing, etc. protection are not explicitly required
1111
disable :protection
1212

13+
# disable host_authorization for all environments
14+
set :host_authorization, { permitted_hosts: [] }
15+
1316
# Only add the charset parameter to specific content types per the requirements
1417
set :add_charset, [mime_type(:html)]
1518
end

0 commit comments

Comments
 (0)