<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/irb/command/test_custom_command.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] Allow assigning and using local variable name conflicting</title>
<updated>2024-06-30T17:13:27+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2024-06-30T17:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=de2d9c8e22b59ee9be5491c1abe8ab02bee66e84'/>
<id>de2d9c8e22b59ee9be5491c1abe8ab02bee66e84</id>
<content type='text'>
with command
(https://github.com/ruby/irb/pull/961)

https://github.com/ruby/irb/commit/00603d470f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with command
(https://github.com/ruby/irb/pull/961)

https://github.com/ruby/irb/commit/00603d470f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Improve help message for no meta commands</title>
<updated>2024-05-04T03:32:34+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-05-04T03:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bd42f0898de26e8e6cb9930e0f5e309aacdeb705'/>
<id>bd42f0898de26e8e6cb9930e0f5e309aacdeb705</id>
<content type='text'>
(https://github.com/ruby/irb/pull/948)

* Remove unnecessary code from command tests

* Improve help message for no meta commands

1. Add placeholder values for both command category and description
2. Update help command's output to give different types of categories
   more explicit ordering

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

* Remove unnecessary code from command tests

* Improve help message for no meta commands

1. Add placeholder values for both command category and description
2. Update help command's output to give different types of categories
   more explicit ordering

https://github.com/ruby/irb/commit/b1ef58aeff
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Avoid raising errors while running help for custom</title>
<updated>2024-05-03T22:08:49+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2024-05-03T22:08:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a510175e8f95f4d8f7bc56c184996526b530bf94'/>
<id>a510175e8f95f4d8f7bc56c184996526b530bf94</id>
<content type='text'>
commands
(https://github.com/ruby/irb/pull/944)

* Avoid raising errors while running help for custom commands

Raising an error from the help command is not a pleasure for the
end user, even if the command does not define any attributes

* Update test/irb/command/test_custom_command.rb

---------

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

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commands
(https://github.com/ruby/irb/pull/944)

* Avoid raising errors while running help for custom commands

Raising an error from the help command is not a pleasure for the
end user, even if the command does not define any attributes

* Update test/irb/command/test_custom_command.rb

---------

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

Co-authored-by: Stan Lo &lt;stan001212@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix typos in test/irb/command/test_custom_command.rb</title>
<updated>2024-05-03T21:34:34+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2024-05-03T21:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=70db150fbcb44c43ce4d62c6170e0527ecaea84c'/>
<id>70db150fbcb44c43ce4d62c6170e0527ecaea84c</id>
<content type='text'>
(https://github.com/ruby/irb/pull/945)

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

https://github.com/ruby/irb/commit/f2b5fc192f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Command registration should take both strings and symbols</title>
<updated>2024-04-26T12:12:31+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2024-04-26T12:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=25a8b76c763692083f6e850693b1319f1c544171'/>
<id>25a8b76c763692083f6e850693b1319f1c544171</id>
<content type='text'>
as names
(https://github.com/ruby/irb/pull/932)

This will save users some heads scratching when they try to register a
command with a string name and found that it doesn't work.

I also rewrote converted custom command tests into integration tests to
make test setup/cleanup easier.

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

This will save users some heads scratching when they try to register a
command with a string name and found that it doesn't work.

I also rewrote converted custom command tests into integration tests to
make test setup/cleanup easier.

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