Subject: [PATCH 65/88] gnu: ruby-ruby-prof: Update to 1.7.2.

From: Nicolas Graves <[email-masked]>
Date: Wed, 18 Jun 2025 16:27:52 +0200

* gnu/packages/ruby-xyz.scm (ruby-ruby-prof): Update to 1.7.2.
  [arguments]{phases}: Refresh phase 'delete-flaky-test and rename it
  to delete-flaky-tests.
  [propagated-inputs]: Add ruby-base64.
---
 gnu/packages/ruby-xyz.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 0f4f00a571..c74cf8e710 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -9306,14 +9306,14 @@ (define-public ruby-vcr-expat
 (define-public ruby-ruby-prof
   (package
     (name "ruby-ruby-prof")
-    (version "1.4.5")
+    (version "1.7.2")
     (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ruby-prof" version))
        (sha256
         (base32
-         "09n13bzm1p956z318xx1v7ikqdp2i971v7p3kwf3170axz368ccy"))))
+         "0h23zjwma8car8jpq7af8gw39qi88rn24mass7r13ripmky28117"))))
     (build-system ruby-build-system)
     (arguments
       ;; FIXME: Investigate why the tests fail on i686-linux.
@@ -9326,12 +9326,15 @@ (define-public ruby-ruby-prof
          (add-after 'extract-gemspec 'delete-flaky-test
            (lambda _
              (delete-file "test/line_number_test.rb")
+             (delete-file "test/measure_process_time_test.rb")
              (substitute* "ruby-prof.gemspec"
-               (("\"test/line_number_test\\.rb\"\\.freeze, ") ""))))
+               (("\"test/line_number_test\\.rb\"\\.freeze, ") "")
+               (("\"test/measure_process_time_test\\.rb\"\\.freeze, ") ""))))
          (add-before 'check 'compile
           (lambda _
             (invoke "rake" "compile"))))))
     (native-inputs (list bundler ruby-minitest ruby-rake-compiler ruby-rdoc))
+    (propagated-inputs (list ruby-base64))
     (synopsis "Fast code profiler for Ruby")
     (description "RubyProf is a fast code profiler for Ruby.  Its features
 include:
-- 
2.49.0