commit:     4fd4c0793cf1f43a2a1b65d399dd0e9707d49108
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 19 16:43:09 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jun 19 16:44:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd4c079

dev-ruby/cri: add missing patch

Closes: https://bugs.gentoo.org/958437
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/cri/files/cri-2.15.12-ruby34.patch | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/dev-ruby/cri/files/cri-2.15.12-ruby34.patch 
b/dev-ruby/cri/files/cri-2.15.12-ruby34.patch
new file mode 100644
index 000000000000..480618b81125
--- /dev/null
+++ b/dev-ruby/cri/files/cri-2.15.12-ruby34.patch
@@ -0,0 +1,23 @@
+From bd4a37491a46b0f896af4e6846a8e40e542631b3 Mon Sep 17 00:00:00 2001
+From: Denis Defreyne <[email protected]>
+Date: Mon, 24 Feb 2025 18:14:09 +0100
+Subject: [PATCH] Fix test on Ruby 3.4
+
+---
+ test/test_command.rb | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/test/test_command.rb b/test/test_command.rb
+index 581b689..60a17d7 100644
+--- a/test/test_command.rb
++++ b/test/test_command.rb
+@@ -695,7 +695,8 @@ def test_subcommand_skip_option_parsing
+         super_cmd.run(['--aaa', 'test', 'sub', '--test', 'value'])
+       end
+ 
+-      assert_equal "opts={:aaa=>\"test\"} args=--test,value\n", out
++      expected_aaa_test = { aaa: 'test' }.inspect
++      assert_equal "opts=#{expected_aaa_test} args=--test,value\n", out
+     end
+ 
+     def test_wrong_number_of_args

Reply via email to