diff options
author | Stan Lo <stan001212@gmail.com> | 2023-07-18 14:53:24 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-07-18 13:53:31 +0000 |
commit | 0db58dd0db092af8055372d97961bc3399a25767 (patch) | |
tree | af2c85597f5e73dde04c047e40a97f101520ed40 /lib/irb/irb.gemspec | |
parent | b89b7d8fdc76b520cafc31566524f3054439d5d3 (diff) | |
download | ruby-0db58dd0db092af8055372d97961bc3399a25767.tar.gz |
[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
Diffstat (limited to 'lib/irb/irb.gemspec')
-rw-r--r-- | lib/irb/irb.gemspec | 1 |
1 files changed, 1 insertions, 0 deletions
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 |