Skip to content

Commit ea80f81

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-SINATRA-6483832
1 parent bdad11d commit ea80f81

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-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", ">= 4.1.0"
55
gem "sinatra-cross_origin"
Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,36 @@
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.2.0)
5+
logger (1.6.1)
6+
mustermann (3.0.3)
7+
ruby2_keywords (~> 0.0.1)
8+
rack (3.1.8)
9+
rack-protection (4.1.1)
10+
base64 (>= 0.1.0)
11+
logger (>= 1.6.0)
12+
rack (>= 3.0.0, < 4)
13+
rack-session (2.0.0)
14+
rack (>= 3.0.0)
15+
ruby2_keywords (0.0.5)
16+
sinatra (4.1.1)
17+
logger (>= 1.6.0)
18+
mustermann (~> 3.0)
19+
rack (>= 3.0.0, < 4)
20+
rack-protection (= 4.1.1)
21+
rack-session (>= 2.0.0, < 3)
22+
tilt (~> 2.0)
1123
sinatra-cross_origin (0.3.2)
12-
tilt (2.0.1)
24+
tilt (2.4.0)
25+
webrick (1.9.0)
1326

1427
PLATFORMS
1528
ruby
1629

1730
DEPENDENCIES
18-
sinatra
31+
sinatra (>= 4.1.0)
1932
sinatra-cross_origin
33+
webrick
34+
35+
BUNDLED WITH
36+
2.1.4

0 commit comments

Comments
 (0)