<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/irb/irb.gemspec, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/irb] rdoc version lock is required</title>
<updated>2024-03-08T09:23:40+00:00</updated>
<author>
<name>alpaca-tc</name>
<email>alpaca-tc@alpaca.tc</email>
</author>
<published>2024-03-08T09:23:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e8f796e954a7007620825f8d15796e458d1493bb'/>
<id>e8f796e954a7007620825f8d15796e458d1493bb</id>
<content type='text'>
(https://github.com/ruby/irb/pull/897)

Some features of irb do not work properly when using the old rdoc.
I have compared several major versions and found that it works as intended from 4.0.0.

This problem occurs when there is a Gemfile.lock is installed with the old rdoc.
I don't know why this Gemfile.lock installs an older rdoc than the ruby bundled rdoc,
but specifying the version in the gemspec will at least prevent the problem.

NOTE: ruby/irb#704 problem does not occur with this change.

The following is test code.

```
 ### Usage: ruby __FILE__.rb
 # # input RDoc and Tab
 # &gt;&gt; RDoc&lt;Tab&gt;
 #
 ### Expect: Display document of RDoc
 ### Actual: &lt;internal:marshal&gt;:34:in `load': instance of RDoc::Constant needs to have method `marshal_load' (TypeError)
require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"

  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
  gem 'irb'
  # gem 'rdoc', '~&gt; 4.0.0'
  gem 'rdoc', '~&gt; 3.12.0'
end

require 'rdoc'
require 'irb'

IRB.start
```

https://github.com/ruby/irb/commit/1a1fbba020
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/897)

Some features of irb do not work properly when using the old rdoc.
I have compared several major versions and found that it works as intended from 4.0.0.

This problem occurs when there is a Gemfile.lock is installed with the old rdoc.
I don't know why this Gemfile.lock installs an older rdoc than the ruby bundled rdoc,
but specifying the version in the gemspec will at least prevent the problem.

NOTE: ruby/irb#704 problem does not occur with this change.

The following is test code.

```
 ### Usage: ruby __FILE__.rb
 # # input RDoc and Tab
 # &gt;&gt; RDoc&lt;Tab&gt;
 #
 ### Expect: Display document of RDoc
 ### Actual: &lt;internal:marshal&gt;:34:in `load': instance of RDoc::Constant needs to have method `marshal_load' (TypeError)
require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"

  git_source(:github) { |repo| "https://github.com/#{repo}.git" }
  gem 'irb'
  # gem 'rdoc', '~&gt; 4.0.0'
  gem 'rdoc', '~&gt; 3.12.0'
end

require 'rdoc'
require 'irb'

IRB.start
```

https://github.com/ruby/irb/commit/1a1fbba020
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Require Reline v0.4.2+</title>
<updated>2024-01-06T12:16:12+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-01-06T12:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3dac27897e5b48c5c95fa2f58badec1fb6da94be'/>
<id>3dac27897e5b48c5c95fa2f58badec1fb6da94be</id>
<content type='text'>
(https://github.com/ruby/irb/pull/834)

https://github.com/ruby/irb/commit/eff8d0d46a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/834)

https://github.com/ruby/irb/commit/eff8d0d46a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Drop rdoc's version requirement</title>
<updated>2023-08-31T15:44:17+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-08-31T15:44:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3678734fac7a4d3d7e160200153090dcba6e3d94'/>
<id>3678734fac7a4d3d7e160200153090dcba6e3d94</id>
<content type='text'>
(https://github.com/ruby/irb/pull/704)

1. The newer versions of rdoc requires pysch 4.0+, which could break apps
   using Ruby 3.0 or 2.7. #703 has more detailed explanation on this.
2. We actually don't use any version-specific rdoc APIs. So having a version
    requirement is not necessary atm.

https://github.com/ruby/irb/commit/3e6ba78c42
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/704)

1. The newer versions of rdoc requires pysch 4.0+, which could break apps
   using Ruby 3.0 or 2.7. #703 has more detailed explanation on this.
2. We actually don't use any version-specific rdoc APIs. So having a version
    requirement is not necessary atm.

https://github.com/ruby/irb/commit/3e6ba78c42
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Require Reline 0.3.8+</title>
<updated>2023-08-31T14:08:08+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-08-31T14:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8804a70387bbff1f1497feef0fa1cfa37df1845b'/>
<id>8804a70387bbff1f1497feef0fa1cfa37df1845b</id>
<content type='text'>
(https://github.com/ruby/irb/pull/702)

Reline 0.3.8 reduces the chance of having a deadlock with the debugger
while using the new `irb:rdbg` integration.

https://github.com/ruby/irb/commit/9b8c56b7d4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/702)

Reline 0.3.8 reduces the chance of having a deadlock with the debugger
while using the new `irb:rdbg` integration.

https://github.com/ruby/irb/commit/9b8c56b7d4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Declare rdoc as dependency</title>
<updated>2023-07-18T13:53:31+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-07-18T13:53:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0db58dd0db092af8055372d97961bc3399a25767'/>
<id>0db58dd0db092af8055372d97961bc3399a25767</id>
<content type='text'>
(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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Require Reline 0.3.6 or higher</title>
<updated>2023-07-11T14:47:26+00:00</updated>
<author>
<name>ima1zumi</name>
<email>52617472+ima1zumi@users.noreply.github.com</email>
</author>
<published>2023-07-11T14:47:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4be92463b6d2d0ce82b15db2c7260150e28c27db'/>
<id>4be92463b6d2d0ce82b15db2c7260150e28c27db</id>
<content type='text'>
(https://github.com/ruby/irb/pull/632)

* Require Reline 0.3.6 or higher

"Multi-line multibyte regular expression raises exception" (https://github.com/ruby/irb/issues/627) is fixed in Reline 0.3.6.

* Remove unnecessary conditional
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/632)

* Require Reline 0.3.6 or higher

"Multi-line multibyte regular expression raises exception" (https://github.com/ruby/irb/issues/627) is fixed in Reline 0.3.6.

* Remove unnecessary conditional
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Drop Ruby 2.6 support</title>
<updated>2023-04-05T21:40:40+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-04-05T21:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2f8e5c80e65a14b3a9298b6cae7ee7fc53890540'/>
<id>2f8e5c80e65a14b3a9298b6cae7ee7fc53890540</id>
<content type='text'>
(https://github.com/ruby/irb/pull/555)

* Remove all Ruby 2.6 support

* Drop Ruby 2.6 specific testing conditions

* Only run Ruby 2.7+ on CI

* Bump Ruby requirement to 2.7+

https://github.com/ruby/irb/commit/3f714b616c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/555)

* Remove all Ruby 2.6 support

* Drop Ruby 2.6 specific testing conditions

* Only run Ruby 2.7+ on CI

* Bump Ruby requirement to 2.7+

https://github.com/ruby/irb/commit/3f714b616c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Specify metadata to provide richer information on</title>
<updated>2023-03-02T13:49:03+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2023-03-02T13:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=da6ac30d1e505bd15b8c118816a9990b5cb072a7'/>
<id>da6ac30d1e505bd15b8c118816a9990b5cb072a7</id>
<content type='text'>
rubygems.org
(https://github.com/ruby/irb/pull/532)

https://github.com/ruby/irb/commit/f01c2a6ac1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rubygems.org
(https://github.com/ruby/irb/pull/532)

https://github.com/ruby/irb/commit/f01c2a6ac1
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop Ruby 2.5 support</title>
<updated>2022-11-17T04:06:32+00:00</updated>
<author>
<name>st0012</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-07-25T22:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=923c1aaed7a5707d5c358627aad37f29e7738143'/>
<id>923c1aaed7a5707d5c358627aad37f29e7738143</id>
<content type='text'>
Because it has reached EOL for more than 1.5 years and it won't be
supported by the next reline version either.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because it has reached EOL for more than 1.5 years and it won't be
supported by the next reline version either.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Added aycabta to authors</title>
<updated>2022-10-05T06:15:33+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2022-10-05T06:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f081bba875d609bdde8f7e5d1e24654653e7c7e3'/>
<id>f081bba875d609bdde8f7e5d1e24654653e7c7e3</id>
<content type='text'>
https://github.com/ruby/irb/commit/a6bfa7b2e6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/a6bfa7b2e6
</pre>
</div>
</content>
</entry>
</feed>
