Browse Source

[ruby/sinatra] Upgrade to ActiveRecord 8.0 (#9472)

Petrik de Heus 7 months ago
parent
commit
6a920c60e5
2 changed files with 26 additions and 22 deletions
  1. 1 1
      frameworks/Ruby/sinatra/Gemfile
  2. 25 21
      frameworks/Ruby/sinatra/Gemfile.lock

+ 1 - 1
frameworks/Ruby/sinatra/Gemfile

@@ -1,6 +1,6 @@
 source 'https://rubygems.org'
 
-gem 'activerecord', '~> 7.2', require: 'active_record'
+gem 'activerecord', '~> 8.0', require: 'active_record'
 gem 'json', '~> 2.8'
 gem 'sinatra', '~> 4.0', require: 'sinatra/base'
 

+ 25 - 21
frameworks/Ruby/sinatra/Gemfile.lock

@@ -1,14 +1,15 @@
 GEM
   remote: https://rubygems.org/
   specs:
-    activemodel (7.2.1.1)
-      activesupport (= 7.2.1.1)
-    activerecord (7.2.1.1)
-      activemodel (= 7.2.1.1)
-      activesupport (= 7.2.1.1)
+    activemodel (8.0.1)
+      activesupport (= 8.0.1)
+    activerecord (8.0.1)
+      activemodel (= 8.0.1)
+      activesupport (= 8.0.1)
       timeout (>= 0.4.0)
-    activesupport (7.2.1.1)
+    activesupport (8.0.1)
       base64
+      benchmark (>= 0.3)
       bigdecimal
       concurrent-ruby (~> 1.0, >= 1.3.1)
       connection_pool (>= 2.2.5)
@@ -18,8 +19,10 @@ GEM
       minitest (>= 5.1)
       securerandom (>= 0.3)
       tzinfo (~> 2.0, >= 2.0.5)
+      uri (>= 0.13.1)
     agoo (2.15.13)
     base64 (0.2.0)
+    benchmark (0.4.0)
     bigdecimal (3.1.8)
     concurrent-ruby (1.3.4)
     connection_pool (2.4.1)
@@ -28,53 +31,54 @@ GEM
       concurrent-ruby (~> 1.0)
     json (2.9.1)
     kgio (2.11.4)
-    logger (1.6.1)
-    minitest (5.25.1)
+    logger (1.6.4)
+    minitest (5.25.4)
     mustermann (3.0.3)
       ruby2_keywords (~> 0.0.1)
     mysql2 (0.5.6)
     nio4r (2.7.4)
-    passenger (6.0.23)
+    passenger (6.0.24)
       rack (>= 1.6.13)
-      rackup
+      rackup (>= 2.0.0)
       rake (>= 12.3.3)
-    pg (1.5.8)
+    pg (1.5.9)
     puma (6.5.0)
       nio4r (~> 2.0)
     rack (3.1.8)
-    rack-protection (4.0.0)
+    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)
-    rackup (2.1.0)
+    rackup (2.2.1)
       rack (>= 3)
-      webrick (~> 1.8)
     raindrops (0.20.1)
     rake (13.2.1)
     ruby2_keywords (0.0.5)
-    securerandom (0.3.1)
-    sinatra (4.0.0)
+    securerandom (0.4.1)
+    sinatra (4.1.1)
+      logger (>= 1.6.0)
       mustermann (~> 3.0)
       rack (>= 3.0.0, < 4)
-      rack-protection (= 4.0.0)
+      rack-protection (= 4.1.1)
       rack-session (>= 2.0.0, < 3)
       tilt (~> 2.0)
-    tilt (2.4.0)
-    timeout (0.4.1)
+    tilt (2.5.0)
+    timeout (0.4.3)
     tzinfo (2.0.6)
       concurrent-ruby (~> 1.0)
     unicorn (6.1.0)
       kgio (~> 2.6)
       raindrops (~> 0.7)
-    webrick (1.8.2)
+    uri (1.0.2)
 
 PLATFORMS
   ruby
   x86_64-darwin-23
 
 DEPENDENCIES
-  activerecord (~> 7.2)
+  activerecord (~> 8.0)
   agoo
   json (~> 2.8)
   mysql2 (~> 0.5)