Subject: [bug#56304] [PATCH] gnu: ruby: Update to 3.1.2 [security fixes].

From: Remco van 't Veer <[email-masked]>
Date: Wed, 29 Jun 2022 17:56:17 +0200

Includes fixes for: CVE-2022-28738, and CVE-2022-28739.

* gnu/packages/ruby.scm (ruby-3.1): Update to 3.1.2.
---
 gnu/packages/ruby.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 68e5d8dfd6..ef0224b179 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -28,6 +28,7 @@
 ;;; Copyright © 2021 EuAndreh <[email-masked]>
 ;;; Copyright © 2020 Tomás Ortín Fernández <[email-masked]>
 ;;; Copyright © 2021 Giovanni Biscuolo <[email-masked]>
+;;; Copyright © 2022 Remco van 't Veer <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -203,7 +204,7 @@ (define-public ruby-3.0
 (define-public ruby-3.1
   (package
     (inherit ruby-2.7)
-    (version "3.1.1")
+    (version "3.1.2")
     (source
      (origin
        (method url-fetch)
@@ -212,7 +213,7 @@ (define-public ruby-3.1
                            "/ruby-" version ".tar.xz"))
        (sha256
         (base32
-         "1akcl7vhmwfm6ybj7493kzy58ykh2r39ri9f4xfm2xmhg1msmvvs"))))))
+         "0amzqczgvr51ilcqfgw0n41hrfanzi0wh8k6am3x5dm1z0bx046a"))))))
 
 (define-public ruby-2.5
   (package
-- 
2.36.1