<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/irb/test_context.rb, 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] Don't use delegator to install helper methods to main</title>
<updated>2024-11-19T13:17:11+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-11-19T13:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bc9237966412c87d0a2d64b2787d2a39a04eca65'/>
<id>bc9237966412c87d0a2d64b2787d2a39a04eca65</id>
<content type='text'>
object
(https://github.com/ruby/irb/pull/1031)

IRB used delegator to install command as a method of frozen main object.
Command is not a method now. We can drop it.

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

IRB used delegator to install command as a method of frozen main object.
Command is not a method now. We can drop it.

https://github.com/ruby/irb/commit/2f1c593801
</pre>
</div>
</content>
</entry>
<entry>
<title>Prevent a warning: ambiguous `/`</title>
<updated>2024-11-07T04:18:57+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-11-07T04:17:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6a39e6fc2d0db590ad605f7af9c99d32c64c6a22'/>
<id>6a39e6fc2d0db590ad605f7af9c99d32c64c6a22</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Change default completor from regexp to auto, try</title>
<updated>2024-10-06T11:10:12+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-10-06T11:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=98620f6c5246d27fed440b8d61cdb31cd915eafa'/>
<id>98620f6c5246d27fed440b8d61cdb31cd915eafa</id>
<content type='text'>
TypeCompletor and fallback to RegexpCompletor.
(https://github.com/ruby/irb/pull/1010)

https://github.com/ruby/irb/commit/bb6a99d815
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
TypeCompletor and fallback to RegexpCompletor.
(https://github.com/ruby/irb/pull/1010)

https://github.com/ruby/irb/commit/bb6a99d815
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Group class methods under `class &lt;&lt; self`</title>
<updated>2024-07-16T15:58:15+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-07-16T15:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4a4e1bf357f5b5f568ead4da0537eb4506e20e5f'/>
<id>4a4e1bf357f5b5f568ead4da0537eb4506e20e5f</id>
<content type='text'>
(https://github.com/ruby/irb/pull/981)

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

https://github.com/ruby/irb/commit/cdaa356df2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix % escape in prompt format</title>
<updated>2024-04-18T14:46:55+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-04-18T14:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ff599aea7cb810ca5284c10184f435101e4b9349'/>
<id>ff599aea7cb810ca5284c10184f435101e4b9349</id>
<content type='text'>
(https://github.com/ruby/irb/pull/927)

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

https://github.com/ruby/irb/commit/08eee25d28
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Pass statements to Context#evaluate</title>
<updated>2024-04-12T12:01:03+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-04-12T12:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f1d9e895b92953add4b12f477c27852cc3d0955b'/>
<id>f1d9e895b92953add4b12f477c27852cc3d0955b</id>
<content type='text'>
(https://github.com/ruby/irb/pull/920)

This has a few benefits:

- We can keep hiding the evaluation logic inside the Context level, which
  has always been the convention until #824 was merged recently.
- Although not an official API, gems like `debug` and `mission_control-jobs`
  patch `Context#evaluate` to wrap their own logic around it. This implicit
  contract was broken after #824, and this change restores it.

In addition to the refactor, I also converted some context-level evaluation
tests into integration tests, which are more robust and easier to maintain.

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

This has a few benefits:

- We can keep hiding the evaluation logic inside the Context level, which
  has always been the convention until #824 was merged recently.
- Although not an official API, gems like `debug` and `mission_control-jobs`
  patch `Context#evaluate` to wrap their own logic around it. This implicit
  contract was broken after #824, and this change restores it.

In addition to the refactor, I also converted some context-level evaluation
tests into integration tests, which are more robust and easier to maintain.

https://github.com/ruby/irb/commit/b32aee4068
</pre>
</div>
</content>
</entry>
<entry>
<title>Omit a bizzarre test in IRB</title>
<updated>2024-02-19T07:33:27+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-19T05:53:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d9b61e228ff86f00c195abb6c3e0e6f4525385e0'/>
<id>d9b61e228ff86f00c195abb6c3e0e6f4525385e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Load rubygems explicitly for tests of test/irb</title>
<updated>2024-02-19T02:34:32+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2024-02-19T02:34:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1dca87cf537f385c6f1a5050a0070598c1c0dc2a'/>
<id>1dca87cf537f385c6f1a5050a0070598c1c0dc2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix `irb:rdbg` for ruby head</title>
<updated>2024-02-19T02:01:30+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-02-16T14:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7e577e150a6897074bb5aaafb298b0605f00970f'/>
<id>7e577e150a6897074bb5aaafb298b0605f00970f</id>
<content type='text'>
(https://github.com/ruby/irb/pull/876)

* Update binding.irb check for Ruby head

With https://github.com/ruby/ruby/pull/9605, backtrace in Ruby head
now has a new format. This commit updates the check for binding.irb
to work with Ruby head.

* Do not include a backtick in error messages and backtraces

[Feature #16495]

---------

https://github.com/ruby/irb/commit/ebffd3d976

Co-authored-by: Yusuke Endoh &lt;mame@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/876)

* Update binding.irb check for Ruby head

With https://github.com/ruby/ruby/pull/9605, backtrace in Ruby head
now has a new format. This commit updates the check for binding.irb
to work with Ruby head.

* Do not include a backtick in error messages and backtraces

[Feature #16495]

---------

https://github.com/ruby/irb/commit/ebffd3d976

Co-authored-by: Yusuke Endoh &lt;mame@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Update error message assertions for Ruby 3.4</title>
<updated>2024-02-19T01:48:38+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-02-15T17:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9ec9910081b5d91becf9d9d8df7ea65c2ccc3a71'/>
<id>9ec9910081b5d91becf9d9d8df7ea65c2ccc3a71</id>
<content type='text'>
(https://github.com/ruby/irb/pull/874)

https://github.com/ruby/ruby/pull/9605 changes both quotes and format for
exception messages. So we need to update the assertions in the tests.

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

https://github.com/ruby/ruby/pull/9605 changes both quotes and format for
exception messages. So we need to update the assertions in the tests.

https://github.com/ruby/irb/commit/9359d4b51d
</pre>
</div>
</content>
</entry>
</feed>
