Skip to content

Commit

Permalink
fix: samples/server/petstore/ruby-sinatra/Gemfile & samples/server/pe…
Browse files Browse the repository at this point in the history
…tstore/ruby-sinatra/Gemfile.lock to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-SINATRA-6483832
  • Loading branch information
snyk-bot committed Nov 21, 2024
1 parent bdad11d commit ea80f81
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 10 deletions.
2 changes: 1 addition & 1 deletion samples/server/petstore/ruby-sinatra/Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'

gem "webrick"
gem "sinatra"
gem "sinatra", ">= 4.1.0"
gem "sinatra-cross_origin"
35 changes: 26 additions & 9 deletions samples/server/petstore/ruby-sinatra/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
GEM
remote: https://rubygems.org/
specs:
rack (1.6.4)
rack-protection (1.5.3)
rack
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
base64 (0.2.0)
logger (1.6.1)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
rack (3.1.8)
rack-protection (4.1.1)
base64 (>= 0.1.0)
logger (>= 1.6.0)
rack (>= 3.0.0, < 4)
rack-session (2.0.0)
rack (>= 3.0.0)
ruby2_keywords (0.0.5)
sinatra (4.1.1)
logger (>= 1.6.0)
mustermann (~> 3.0)
rack (>= 3.0.0, < 4)
rack-protection (= 4.1.1)
rack-session (>= 2.0.0, < 3)
tilt (~> 2.0)
sinatra-cross_origin (0.3.2)
tilt (2.0.1)
tilt (2.4.0)
webrick (1.9.0)

PLATFORMS
ruby

DEPENDENCIES
sinatra
sinatra (>= 4.1.0)
sinatra-cross_origin
webrick

BUNDLED WITH
2.1.4

0 comments on commit ea80f81

Please sign in to comment.