Skip to content

Commit c8a8cde

Browse files
committed
fix: samples/server/petstore/ruby-sinatra/Gemfile & samples/server/petstore/ruby-sinatra/Gemfile.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-RUBY-RACK-13378928 - https://snyk.io/vuln/SNYK-RUBY-RACK-13378930 - https://snyk.io/vuln/SNYK-RUBY-RACK-13378932
1 parent ddb15d4 commit c8a8cde

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://rubygems.org'
22

33
gem "webrick"
4-
gem "sinatra"
4+
gem "sinatra", ">= 2.0.0"
55
gem "sinatra-cross_origin"
Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,37 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
rack (1.6.4)
5-
rack-protection (1.5.3)
6-
rack
7-
sinatra (1.4.6)
8-
rack (~> 1.4)
9-
rack-protection (~> 1.4)
10-
tilt (>= 1.3, < 3)
4+
base64 (0.3.0)
5+
logger (1.7.0)
6+
mustermann (3.0.4)
7+
ruby2_keywords (~> 0.0.1)
8+
rack (3.2.2)
9+
rack-protection (4.2.0)
10+
base64 (>= 0.1.0)
11+
logger (>= 1.6.0)
12+
rack (>= 3.0.0, < 4)
13+
rack-session (2.1.1)
14+
base64 (>= 0.1.0)
15+
rack (>= 3.0.0)
16+
ruby2_keywords (0.0.5)
17+
sinatra (4.2.0)
18+
logger (>= 1.6.0)
19+
mustermann (~> 3.0)
20+
rack (>= 3.0.0, < 4)
21+
rack-protection (= 4.2.0)
22+
rack-session (>= 2.0.0, < 3)
23+
tilt (~> 2.0)
1124
sinatra-cross_origin (0.3.2)
12-
tilt (2.0.1)
25+
tilt (2.6.1)
26+
webrick (1.9.1)
1327

1428
PLATFORMS
1529
ruby
1630

1731
DEPENDENCIES
18-
sinatra
32+
sinatra (>= 2.0.0)
1933
sinatra-cross_origin
34+
webrick
35+
36+
BUNDLED WITH
37+
2.3.27

0 commit comments

Comments
 (0)