From 7009954f4e44d05f5c64731ccb3f380b80aec650 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Tue, 13 Feb 2024 16:37:49 +0100 Subject: [PATCH] Refresh Gemfile{,.lock} for Ruby 3.3. APIs removed between Ruby 3.1 and 3.3 result in mysql2 build failures due to missing C APIs in new Ruby, such as "taintedness" and "safeness" functions. Update to gem mysql2 0.5.5 that no longer fails to compile with Ruby 3.3. --- Gemfile | 2 +- Gemfile.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 901156f61..34a896233 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' gem 'sinatra', '2.1.0' gem 'sinatra-activerecord', '2.0.22' -gem 'mysql2', '0.5.3' +gem 'mysql2', '0.5.5' gem 'rake', '13.0.3' gem 'minitest', '5.14.4' gem 'i18n', '1.8.9' diff --git a/Gemfile.lock b/Gemfile.lock index fca64708a..17f7c9566 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -12,13 +12,13 @@ GEM minitest (>= 5.1) tzinfo (~> 2.0) zeitwerk (~> 2.3) - concurrent-ruby (1.2.2) + concurrent-ruby (1.2.3) i18n (1.8.9) concurrent-ruby (~> 1.0) minitest (5.14.4) mustermann (1.1.2) ruby2_keywords (~> 0.0.1) - mysql2 (0.5.3) + mysql2 (0.5.5) rack (2.2.8) rack-protection (2.1.0) rack @@ -32,11 +32,11 @@ GEM sinatra-activerecord (2.0.22) activerecord (>= 4.1) sinatra (>= 1.0) - tilt (2.2.0) + tilt (2.3.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) webrick (1.7.0) - zeitwerk (2.6.11) + zeitwerk (2.6.13) PLATFORMS ruby @@ -44,7 +44,7 @@ PLATFORMS DEPENDENCIES i18n (= 1.8.9) minitest (= 5.14.4) - mysql2 (= 0.5.3) + mysql2 (= 0.5.5) rake (= 13.0.3) sinatra (= 2.1.0) sinatra-activerecord (= 2.0.22)