From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/
Date: Sun, 22 Dec 2024 08:48:30 +0000 (UTC) [thread overview]
Message-ID: <1734857268.1572a3b2c7e3fecc83551e73db5641d33b390498.graaff@gentoo> (raw)
commit: 1572a3b2c7e3fecc83551e73db5641d33b390498
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 07:55:10 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 08:47:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1572a3b2
dev-ruby/rubygems: add patch
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/rubygems/files/rubygems-rdoc.patch | 42 +++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/dev-ruby/rubygems/files/rubygems-rdoc.patch b/dev-ruby/rubygems/files/rubygems-rdoc.patch
new file mode 100644
index 000000000000..ea63212c1206
--- /dev/null
+++ b/dev-ruby/rubygems/files/rubygems-rdoc.patch
@@ -0,0 +1,42 @@
+From 167b713ec4e7546a57a9b1dec4eec282baf26414 Mon Sep 17 00:00:00 2001
+From: Hiroshi SHIBATA <hsbt@ruby-lang.org>
+Date: Fri, 13 Dec 2024 15:05:12 +0900
+Subject: [PATCH] Fixed compatibility error with setup command and rdoc plugin
+ on rubygems
+
+---
+ test/rubygems/test_gem_rdoc.rb | 12 ++++++++----
+ 1 file changed, 8 insertions(+), 4 deletions(-)
+
+diff --git a/test/rubygems/test_gem_rdoc.rb b/test/rubygems/test_gem_rdoc.rb
+index 19ccf1e5871b..c4282b309c67 100644
+--- a/test/rubygems/test_gem_rdoc.rb
++++ b/test/rubygems/test_gem_rdoc.rb
+@@ -5,8 +5,6 @@
+ require "rubygems/rdoc"
+
+ class TestGemRDoc < Gem::TestCase
+- Gem::RDoc.load_rdoc
+-
+ def setup
+ super
+
+@@ -20,10 +18,16 @@ def setup
+
+ install_gem @a
+
+- @hook = Gem::RDoc.new @a
++ hook_class = if defined?(RDoc::RubyGemsHook)
++ RDoc::RubyGemsHook
++ else
++ Gem::RDoc
++ end
++
++ @hook = hook_class.new @a
+
+ begin
+- Gem::RDoc.load_rdoc
++ hook_class.load_rdoc
+ rescue Gem::DocumentError => e
+ pend e.message
+ end
next reply other threads:[~2024-12-22 8:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-22 8:48 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-23 21:29 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/files/ Conrad Kostecki
2022-08-30 22:57 Conrad Kostecki
2022-02-27 9:28 Hans de Graaff
2018-07-15 18:22 Hans de Graaff
2016-10-31 12:09 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1734857268.1572a3b2c7e3fecc83551e73db5641d33b390498.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox