Skip to content

Commit

Permalink
fix: upgrade Ruby to 3.3.1 to address CVE
Browse files Browse the repository at this point in the history
  • Loading branch information
ericboehs committed Apr 23, 2024
1 parent 3027686 commit cfc2f96
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.3
3.3.1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2.3-slim-bookworm AS rubyimg
FROM ruby:3.3.1-slim-bookworm AS rubyimg
FROM rubyimg AS modules

WORKDIR /tmp
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-k8s
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2.3-slim-bullseye AS rubyimg
FROM ruby:3.3.1-slim-bullseye AS rubyimg
FROM rubyimg AS modules

WORKDIR /tmp
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source 'https://rubygems.org'

ruby '~> 3.2.3'
ruby '~> 3.3.1'

# Modules
path 'modules' do
Expand Down
15 changes: 13 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ GEM
faraday (>= 0.9.0)
fastimage (2.3.1)
ffi (1.16.3)
ffi (1.16.3-java)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
Expand Down Expand Up @@ -511,6 +512,12 @@ GEM
faraday (>= 1.0, < 3.a)
google-protobuf (4.26.1)
rake (>= 13)
google-protobuf (4.26.1-java)
ffi (~> 1)
ffi-compiler (~> 1)
rake (>= 13)
google-protobuf (4.26.1-x86_64-linux)
rake (>= 13)
googleauth (1.11.0)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.1)
Expand Down Expand Up @@ -663,6 +670,10 @@ GEM
nokogiri (1.16.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.16.4-java)
racc (~> 1.4)
nokogiri (1.16.4-x86_64-linux)
racc (~> 1.4)
nori (2.7.0)
bigdecimal
notiffany (0.1.3)
Expand Down Expand Up @@ -1280,7 +1291,7 @@ DEPENDENCIES
yard

RUBY VERSION
ruby 3.2.3p157
ruby 3.3.1p55

BUNDLED WITH
2.4.9
2.5.9
2 changes: 1 addition & 1 deletion docs/setup/native.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Vets API requires:

- Ruby 3.2.3
- Ruby 3.3.1
- PostgreSQL 15.x (including PostGIS 3)
- Redis 6.2.x

Expand Down

0 comments on commit cfc2f96

Please sign in to comment.