From 0db58dd0db092af8055372d97961bc3399a25767 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 18 Jul 2023 14:53:24 +0100 Subject: [ruby/irb] Declare rdoc as dependency (https://github.com/ruby/irb/pull/648) IRB already has several features that rely on rdoc, such as: - Autocompletion's document dialog - Autocompletion's `PerfectMatchedProc` - The `show_doc` command - Easter egg And we could use its pager more in the future too. So it makes sense to declare rdoc as a dependency instead of relying on the one bundled with Ruby. https://github.com/ruby/irb/commit/4dffbb1dd3 --- lib/irb/irb.gemspec | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/irb/irb.gemspec b/lib/irb/irb.gemspec index 29f92b59ac..4d47481d87 100644 --- a/lib/irb/irb.gemspec +++ b/lib/irb/irb.gemspec @@ -42,4 +42,5 @@ Gem::Specification.new do |spec| spec.required_ruby_version = Gem::Requirement.new(">= 2.7") spec.add_dependency "reline", ">= 0.3.6" + spec.add_dependency "rdoc", "~> 6.5" end -- cgit v1.2.3