Updating dependencies to newer versions; Updating to Ruby 3.4

This commit is contained in:
Gregory Ballantine 2025-05-30 01:20:43 -04:00
parent e3a334546f
commit 28b6cc66bb
4 changed files with 58 additions and 46 deletions

View File

@ -1,10 +1,10 @@
FROM ruby:3.3 FROM ruby:3.4
RUN gem install bundler -v 2.5 RUN gem install bundler
WORKDIR /src WORKDIR /src
COPY Gemfile Gemfile.lock ./ COPY Gemfile Gemfile.l*ck ./
RUN bundle check || bundle install RUN bundle check || bundle install

13
Gemfile
View File

@ -1,11 +1,14 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'sinatra', '~> 3.0' gem 'sinatra', '~> 3.2'
gem 'sinatra-contrib', '~> 3.0' gem 'sinatra-contrib', '~> 3.2'
gem 'puma', '~> 6.3' gem 'puma', '~> 6.6'
gem 'sequel', '~> 5.70' gem 'sequel', '~> 5.92'
gem 'sqlite3', '~> 1.7' gem 'sqlite3', '~> 2.6'
gem 'logger'
gem 'ostruct'
group :development, :test do group :development, :test do
gem 'rerun' gem 'rerun'

View File

@ -1,56 +1,61 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
ast (2.4.2) ast (2.4.3)
base64 (0.2.0) base64 (0.2.0)
bigdecimal (3.1.6) bigdecimal (3.2.0)
ffi (1.16.3) ffi (1.17.2-x86_64-linux-gnu)
json (2.7.1) json (2.12.2)
language_server-protocol (3.17.0.3) language_server-protocol (3.17.0.5)
listen (3.8.0) lint_roller (1.1.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.4)
multi_json (1.15.0) multi_json (1.15.0)
mustermann (3.0.0) mustermann (3.0.3)
ruby2_keywords (~> 0.0.1) ruby2_keywords (~> 0.0.1)
nio4r (2.7.0) nio4r (2.7.4)
parallel (1.24.0) ostruct (0.6.1)
parser (3.3.0.5) parallel (1.27.0)
parser (3.3.8.0)
ast (~> 2.4.1) ast (~> 2.4.1)
racc racc
puma (6.4.2) prism (1.4.0)
puma (6.6.0)
nio4r (~> 2.0) nio4r (~> 2.0)
racc (1.7.3) racc (1.8.1)
rack (2.2.8) rack (2.2.16)
rack-protection (3.2.0) rack-protection (3.2.0)
base64 (>= 0.1.0) base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4) rack (~> 2.2, >= 2.2.4)
rainbow (3.1.1) rainbow (3.1.1)
rb-fsevent (0.11.2) rb-fsevent (0.11.2)
rb-inotify (0.10.1) rb-inotify (0.11.1)
ffi (~> 1.0) ffi (~> 1.0)
regexp_parser (2.9.0) regexp_parser (2.10.0)
rerun (0.14.0) rerun (0.14.0)
listen (~> 3.0) listen (~> 3.0)
rexml (3.2.6) rubocop (1.75.8)
rubocop (1.60.2)
json (~> 2.3) json (~> 2.3)
language_server-protocol (>= 3.17.0) language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.3.0.2) parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0) regexp_parser (>= 2.9.3, < 3.0)
rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.44.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0) unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.30.0) rubocop-ast (1.44.1)
parser (>= 3.2.1.0) parser (>= 3.3.7.2)
rubocop-sequel (0.3.4) prism (~> 1.4)
rubocop (~> 1.0) rubocop-sequel (0.4.1)
lint_roller (~> 1.1)
rubocop (>= 1.72.1, < 2)
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5) ruby2_keywords (0.0.5)
sequel (5.77.0) sequel (5.92.0)
bigdecimal bigdecimal
sinatra (3.2.0) sinatra (3.2.0)
mustermann (~> 3.0) mustermann (~> 3.0)
@ -63,22 +68,26 @@ GEM
rack-protection (= 3.2.0) rack-protection (= 3.2.0)
sinatra (= 3.2.0) sinatra (= 3.2.0)
tilt (~> 2.0) tilt (~> 2.0)
sqlite3 (1.7.2-x86_64-linux) sqlite3 (2.6.0-x86_64-linux-gnu)
tilt (2.3.0) tilt (2.6.0)
unicode-display_width (2.5.0) unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
PLATFORMS PLATFORMS
x86_64-linux x86_64-linux-gnu
DEPENDENCIES DEPENDENCIES
puma (~> 6.3) logger
ostruct
puma (~> 6.6)
rerun rerun
rubocop rubocop
rubocop-sequel rubocop-sequel
sequel (~> 5.70) sequel (~> 5.92)
sinatra (~> 3.0) sinatra (~> 3.2)
sinatra-contrib (~> 3.0) sinatra-contrib (~> 3.2)
sqlite3 (~> 1.7) sqlite3 (~> 2.6)
BUNDLED WITH BUNDLED WITH
2.5.3 2.6.9

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
docker run --rm -d -v "$(pwd):/src" -p 9292:9292 --name game-data game-data docker run --rm -d -t -v "$(pwd):/src" -p 9292:9292 --name game-data game-data