소스 검색

[ Rails ] Update Ruby to 3.2.2 and update gems (#8435)

Petrik de Heus 2 년 전
부모
커밋
28651ff55e

+ 6 - 6
frameworks/Ruby/rails/Gemfile

@@ -1,12 +1,12 @@
-ruby '~> 3.1.0'
+ruby '~> 3.2.2'
 
 
 source 'https://rubygems.org'
 source 'https://rubygems.org'
 
 
 gem 'listen', '~> 3.3', group: :development
 gem 'listen', '~> 3.3', group: :development
-gem 'mysql2', '0.5.3', group: :mysql
-gem 'oj', '~> 3.13'
-gem 'pg', '1.2.3', group: :postgresql
-gem 'puma', '~> 5.6'
-gem 'rails', '~> 7.0.1'
+gem 'mysql2', '0.5.5', group: :mysql
+gem 'oj', '~> 3.16'
+gem 'pg', '1.5.4', group: :postgresql
+gem 'puma', '~> 6.4'
+gem 'rails', '~> 7.0.8'
 gem 'redis', '~> 4.0'
 gem 'redis', '~> 4.0'
 gem 'tzinfo-data', '1.2021.5'
 gem 'tzinfo-data', '1.2021.5'

+ 101 - 104
frameworks/Ruby/rails/Gemfile.lock

@@ -1,67 +1,67 @@
 GEM
 GEM
   remote: https://rubygems.org/
   remote: https://rubygems.org/
   specs:
   specs:
-    actioncable (7.0.1)
-      actionpack (= 7.0.1)
-      activesupport (= 7.0.1)
+    actioncable (7.0.8)
+      actionpack (= 7.0.8)
+      activesupport (= 7.0.8)
       nio4r (~> 2.0)
       nio4r (~> 2.0)
       websocket-driver (>= 0.6.1)
       websocket-driver (>= 0.6.1)
-    actionmailbox (7.0.1)
-      actionpack (= 7.0.1)
-      activejob (= 7.0.1)
-      activerecord (= 7.0.1)
-      activestorage (= 7.0.1)
-      activesupport (= 7.0.1)
+    actionmailbox (7.0.8)
+      actionpack (= 7.0.8)
+      activejob (= 7.0.8)
+      activerecord (= 7.0.8)
+      activestorage (= 7.0.8)
+      activesupport (= 7.0.8)
       mail (>= 2.7.1)
       mail (>= 2.7.1)
       net-imap
       net-imap
       net-pop
       net-pop
       net-smtp
       net-smtp
-    actionmailer (7.0.1)
-      actionpack (= 7.0.1)
-      actionview (= 7.0.1)
-      activejob (= 7.0.1)
-      activesupport (= 7.0.1)
+    actionmailer (7.0.8)
+      actionpack (= 7.0.8)
+      actionview (= 7.0.8)
+      activejob (= 7.0.8)
+      activesupport (= 7.0.8)
       mail (~> 2.5, >= 2.5.4)
       mail (~> 2.5, >= 2.5.4)
       net-imap
       net-imap
       net-pop
       net-pop
       net-smtp
       net-smtp
       rails-dom-testing (~> 2.0)
       rails-dom-testing (~> 2.0)
-    actionpack (7.0.1)
-      actionview (= 7.0.1)
-      activesupport (= 7.0.1)
-      rack (~> 2.0, >= 2.2.0)
+    actionpack (7.0.8)
+      actionview (= 7.0.8)
+      activesupport (= 7.0.8)
+      rack (~> 2.0, >= 2.2.4)
       rack-test (>= 0.6.3)
       rack-test (>= 0.6.3)
       rails-dom-testing (~> 2.0)
       rails-dom-testing (~> 2.0)
       rails-html-sanitizer (~> 1.0, >= 1.2.0)
       rails-html-sanitizer (~> 1.0, >= 1.2.0)
-    actiontext (7.0.1)
-      actionpack (= 7.0.1)
-      activerecord (= 7.0.1)
-      activestorage (= 7.0.1)
-      activesupport (= 7.0.1)
+    actiontext (7.0.8)
+      actionpack (= 7.0.8)
+      activerecord (= 7.0.8)
+      activestorage (= 7.0.8)
+      activesupport (= 7.0.8)
       globalid (>= 0.6.0)
       globalid (>= 0.6.0)
       nokogiri (>= 1.8.5)
       nokogiri (>= 1.8.5)
-    actionview (7.0.1)
-      activesupport (= 7.0.1)
+    actionview (7.0.8)
+      activesupport (= 7.0.8)
       builder (~> 3.1)
       builder (~> 3.1)
       erubi (~> 1.4)
       erubi (~> 1.4)
       rails-dom-testing (~> 2.0)
       rails-dom-testing (~> 2.0)
       rails-html-sanitizer (~> 1.1, >= 1.2.0)
       rails-html-sanitizer (~> 1.1, >= 1.2.0)
-    activejob (7.0.1)
-      activesupport (= 7.0.1)
+    activejob (7.0.8)
+      activesupport (= 7.0.8)
       globalid (>= 0.3.6)
       globalid (>= 0.3.6)
-    activemodel (7.0.1)
-      activesupport (= 7.0.1)
-    activerecord (7.0.1)
-      activemodel (= 7.0.1)
-      activesupport (= 7.0.1)
-    activestorage (7.0.1)
-      actionpack (= 7.0.1)
-      activejob (= 7.0.1)
-      activerecord (= 7.0.1)
-      activesupport (= 7.0.1)
+    activemodel (7.0.8)
+      activesupport (= 7.0.8)
+    activerecord (7.0.8)
+      activemodel (= 7.0.8)
+      activesupport (= 7.0.8)
+    activestorage (7.0.8)
+      actionpack (= 7.0.8)
+      activejob (= 7.0.8)
+      activerecord (= 7.0.8)
+      activesupport (= 7.0.8)
       marcel (~> 1.0)
       marcel (~> 1.0)
       mini_mime (>= 1.1.0)
       mini_mime (>= 1.1.0)
-    activesupport (7.0.1)
+    activesupport (7.0.8)
       concurrent-ruby (~> 1.0, >= 1.0.2)
       concurrent-ruby (~> 1.0, >= 1.0.2)
       i18n (>= 1.6, < 2)
       i18n (>= 1.6, < 2)
       minitest (>= 5.1)
       minitest (>= 5.1)
@@ -69,81 +69,79 @@ GEM
     builder (3.2.4)
     builder (3.2.4)
     concurrent-ruby (1.1.10)
     concurrent-ruby (1.1.10)
     crass (1.0.6)
     crass (1.0.6)
-    digest (3.1.0)
-    erubi (1.10.0)
+    date (3.3.3)
+    erubi (1.12.0)
     ffi (1.15.5)
     ffi (1.15.5)
-    globalid (1.0.1)
-      activesupport (>= 5.0)
-    i18n (1.12.0)
+    globalid (1.2.1)
+      activesupport (>= 6.1)
+    i18n (1.14.1)
       concurrent-ruby (~> 1.0)
       concurrent-ruby (~> 1.0)
-    io-wait (0.2.1)
     listen (3.7.1)
     listen (3.7.1)
       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)
-    loofah (2.19.1)
+    loofah (2.21.3)
       crass (~> 1.0.2)
       crass (~> 1.0.2)
-      nokogiri (>= 1.5.9)
-    mail (2.7.1)
+      nokogiri (>= 1.12.0)
+    mail (2.8.1)
       mini_mime (>= 0.1.1)
       mini_mime (>= 0.1.1)
+      net-imap
+      net-pop
+      net-smtp
     marcel (1.0.2)
     marcel (1.0.2)
     method_source (1.0.0)
     method_source (1.0.0)
-    mini_mime (1.1.2)
-    mini_portile2 (2.8.1)
-    minitest (5.17.0)
-    mysql2 (0.5.3)
-    net-imap (0.2.3)
-      digest
+    mini_mime (1.1.5)
+    mini_portile2 (2.8.4)
+    minitest (5.20.0)
+    mysql2 (0.5.5)
+    net-imap (0.3.7)
+      date
       net-protocol
       net-protocol
-      strscan
-    net-pop (0.1.1)
-      digest
+    net-pop (0.1.2)
       net-protocol
       net-protocol
+    net-protocol (0.2.1)
       timeout
       timeout
-    net-protocol (0.1.2)
-      io-wait
-      timeout
-    net-smtp (0.3.1)
-      digest
+    net-smtp (0.4.0)
       net-protocol
       net-protocol
-      timeout
     nio4r (2.5.9)
     nio4r (2.5.9)
-    nokogiri (1.14.3)
-      mini_portile2 (~> 2.8.0)
+    nokogiri (1.15.4)
+      mini_portile2 (~> 2.8.2)
       racc (~> 1.4)
       racc (~> 1.4)
-    nokogiri (1.14.3-arm64-darwin)
+    nokogiri (1.15.4-arm64-darwin)
       racc (~> 1.4)
       racc (~> 1.4)
-    nokogiri (1.14.3-x86_64-linux)
+    nokogiri (1.15.4-x86_64-linux)
       racc (~> 1.4)
       racc (~> 1.4)
-    oj (3.13.11)
-    pg (1.2.3)
-    puma (5.6.7)
+    oj (3.16.1)
+    pg (1.5.4)
+    puma (6.4.0)
       nio4r (~> 2.0)
       nio4r (~> 2.0)
-    racc (1.6.2)
-    rack (2.2.6.4)
-    rack-test (1.1.0)
-      rack (>= 1.0, < 3)
-    rails (7.0.1)
-      actioncable (= 7.0.1)
-      actionmailbox (= 7.0.1)
-      actionmailer (= 7.0.1)
-      actionpack (= 7.0.1)
-      actiontext (= 7.0.1)
-      actionview (= 7.0.1)
-      activejob (= 7.0.1)
-      activemodel (= 7.0.1)
-      activerecord (= 7.0.1)
-      activestorage (= 7.0.1)
-      activesupport (= 7.0.1)
+    racc (1.7.1)
+    rack (2.2.8)
+    rack-test (2.1.0)
+      rack (>= 1.3)
+    rails (7.0.8)
+      actioncable (= 7.0.8)
+      actionmailbox (= 7.0.8)
+      actionmailer (= 7.0.8)
+      actionpack (= 7.0.8)
+      actiontext (= 7.0.8)
+      actionview (= 7.0.8)
+      activejob (= 7.0.8)
+      activemodel (= 7.0.8)
+      activerecord (= 7.0.8)
+      activestorage (= 7.0.8)
+      activesupport (= 7.0.8)
       bundler (>= 1.15.0)
       bundler (>= 1.15.0)
-      railties (= 7.0.1)
-    rails-dom-testing (2.0.3)
-      activesupport (>= 4.2.0)
+      railties (= 7.0.8)
+    rails-dom-testing (2.2.0)
+      activesupport (>= 5.0.0)
+      minitest
       nokogiri (>= 1.6)
       nokogiri (>= 1.6)
-    rails-html-sanitizer (1.4.4)
-      loofah (~> 2.19, >= 2.19.1)
-    railties (7.0.1)
-      actionpack (= 7.0.1)
-      activesupport (= 7.0.1)
+    rails-html-sanitizer (1.6.0)
+      loofah (~> 2.21)
+      nokogiri (~> 1.14)
+    railties (7.0.8)
+      actionpack (= 7.0.8)
+      activesupport (= 7.0.8)
       method_source
       method_source
       rake (>= 12.2)
       rake (>= 12.2)
       thor (~> 1.0)
       thor (~> 1.0)
@@ -153,17 +151,16 @@ GEM
     rb-inotify (0.10.1)
     rb-inotify (0.10.1)
       ffi (~> 1.0)
       ffi (~> 1.0)
     redis (4.5.1)
     redis (4.5.1)
-    strscan (3.0.1)
-    thor (1.2.1)
-    timeout (0.2.0)
+    thor (1.2.2)
+    timeout (0.4.0)
     tzinfo (2.0.5)
     tzinfo (2.0.5)
       concurrent-ruby (~> 1.0)
       concurrent-ruby (~> 1.0)
     tzinfo-data (1.2021.5)
     tzinfo-data (1.2021.5)
       tzinfo (>= 1.0.0)
       tzinfo (>= 1.0.0)
-    websocket-driver (0.7.5)
+    websocket-driver (0.7.6)
       websocket-extensions (>= 0.1.0)
       websocket-extensions (>= 0.1.0)
     websocket-extensions (0.1.5)
     websocket-extensions (0.1.5)
-    zeitwerk (2.5.3)
+    zeitwerk (2.6.12)
 
 
 PLATFORMS
 PLATFORMS
   arm64-darwin-20
   arm64-darwin-20
@@ -172,16 +169,16 @@ PLATFORMS
 
 
 DEPENDENCIES
 DEPENDENCIES
   listen (~> 3.3)
   listen (~> 3.3)
-  mysql2 (= 0.5.3)
-  oj (~> 3.13)
-  pg (= 1.2.3)
-  puma (~> 5.6)
-  rails (~> 7.0.1)
+  mysql2 (= 0.5.5)
+  oj (~> 3.16)
+  pg (= 1.5.4)
+  puma (~> 6.4)
+  rails (~> 7.0.8)
   redis (~> 4.0)
   redis (~> 4.0)
   tzinfo-data (= 1.2021.5)
   tzinfo-data (= 1.2021.5)
 
 
 RUBY VERSION
 RUBY VERSION
-   ruby 3.1.0p0
+   ruby 3.2.2p53
 
 
 BUNDLED WITH
 BUNDLED WITH
    2.3.3
    2.3.3

+ 3 - 3
frameworks/Ruby/rails/README.md

@@ -12,9 +12,9 @@ comparing a variety of web platforms.
 
 
 The tests were run with:
 The tests were run with:
 
 
-- [Ruby 3.1.0](http://www.ruby-lang.org/)
-- [Rails 7.0.1](http://rubyonrails.org/)
-- [Puma 5.5](http://puma.io/)
+- [Ruby 3.2.2](http://www.ruby-lang.org/)
+- [Rails 7.0.8](http://rubyonrails.org/)
+- [Puma 6.4](http://puma.io/)
 - [MySQL](https://dev.mysql.com/)
 - [MySQL](https://dev.mysql.com/)
 - [PostgreSQL](https://www.postgresql.org/)
 - [PostgreSQL](https://www.postgresql.org/)
 - [Redis 6](https://redis.io)
 - [Redis 6](https://redis.io)

+ 1 - 1
frameworks/Ruby/rails/rails-mysql.dockerfile

@@ -1,4 +1,4 @@
-FROM ruby:3.1
+FROM ruby:3.2
 
 
 RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends redis-server
 RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends redis-server
 
 

+ 1 - 1
frameworks/Ruby/rails/rails.dockerfile

@@ -1,4 +1,4 @@
-FROM ruby:3.1
+FROM ruby:3.2
 
 
 RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends redis-server
 RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends redis-server