<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/irb/cmd/ls.rb, branch v3_2_11</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] Add "show_cmds" command to list all commands'</title>
<updated>2022-12-08T19:10:23+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan.lo@shopify.com</email>
</author>
<published>2022-12-08T19:10:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3956bb859c2442d34ea171db8f92f3e5895c43d9'/>
<id>3956bb859c2442d34ea171db8f92f3e5895c43d9</id>
<content type='text'>
descriptions
(https://github.com/ruby/irb/pull/463)

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

https://github.com/ruby/irb/commit/7e857655ac
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Make sure ls doesn't return an array</title>
<updated>2022-11-30T04:52:33+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-30T04:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9a84971315f39e3fabd382fd35728eb254333fe2'/>
<id>9a84971315f39e3fabd382fd35728eb254333fe2</id>
<content type='text'>
(https://github.com/ruby/irb/pull/461)

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

https://github.com/ruby/irb/commit/367797bb05
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Transform ls's --grep/-G option to keyword args</title>
<updated>2022-11-10T22:55:15+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-10T22:55:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8fa83fa0b2031ad17f01b5a12b39599398dc6da6'/>
<id>8fa83fa0b2031ad17f01b5a12b39599398dc6da6</id>
<content type='text'>
(https://github.com/ruby/irb/pull/437)

* Transform ls's --grep/-G option to keyword args

* Make --grep less flexible

* Support -g instead of --grep

* Suppress warnings from symbol aliases</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/irb/pull/437)

* Transform ls's --grep/-G option to keyword args

* Make --grep less flexible

* Support -g instead of --grep

* Suppress warnings from symbol aliases</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Centralize coloring control (https://github.com/ruby/irb/pull/374)</title>
<updated>2022-06-28T13:30:42+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-06-28T13:30:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=44c1316293f80abaa0e76b3818322544b9372a97'/>
<id>44c1316293f80abaa0e76b3818322544b9372a97</id>
<content type='text'>
* Use colorable: argument as the only coloring control

* Centalize color controling logic at Color.colorable?

There are 2 requirements for coloring output:

1. It's supported on the platform
2. The user wants it: `IRB.conf[:USE_COLORIZE] == true`

Right now we check 1 and 2 separately whenever we colorize things.
But it's error-prone because while 1 is the default of `colorable`
parameter, 2 always need to manually checked. When 2 is overlooked, it
causes issues like https://github.com/ruby/irb/pull/362

And there's 0 case where we may want to colorize even when the user
disables it. So I think we should merge 2 into `Color.colorable?` so it
can be automatically picked up.

* Add tests for all inspect modes

* Simplify inspectors' coloring logic

* Replace use_colorize? with Color.colorable?

* Remove Context#use_colorize cause it's redundant

https://github.com/ruby/irb/commit/1c53023ac4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use colorable: argument as the only coloring control

* Centalize color controling logic at Color.colorable?

There are 2 requirements for coloring output:

1. It's supported on the platform
2. The user wants it: `IRB.conf[:USE_COLORIZE] == true`

Right now we check 1 and 2 separately whenever we colorize things.
But it's error-prone because while 1 is the default of `colorable`
parameter, 2 always need to manually checked. When 2 is overlooked, it
causes issues like https://github.com/ruby/irb/pull/362

And there's 0 case where we may want to colorize even when the user
disables it. So I think we should merge 2 into `Color.colorable?` so it
can be automatically picked up.

* Add tests for all inspect modes

* Simplify inspectors' coloring logic

* Replace use_colorize? with Color.colorable?

* Remove Context#use_colorize cause it's redundant

https://github.com/ruby/irb/commit/1c53023ac4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Commands should respect `USE_COLORIZE` config (https://github.com/ruby/irb/pull/362)</title>
<updated>2022-06-20T13:27:30+00:00</updated>
<author>
<name>Stan Lo</name>
<email>stan001212@gmail.com</email>
</author>
<published>2022-06-20T13:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2d4a41df6bef7a67784c680550591d5b883853fe'/>
<id>2d4a41df6bef7a67784c680550591d5b883853fe</id>
<content type='text'>
https://github.com/ruby/irb/commit/534688dfc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/534688dfc4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Move `:stopdoc:` directive</title>
<updated>2022-03-14T05:40:28+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-03-14T05:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8760b270ed63e6fd7a1b40ef7fa1699ab272beef'/>
<id>8760b270ed63e6fd7a1b40ef7fa1699ab272beef</id>
<content type='text'>
If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.

https://github.com/ruby/irb/commit/86c41b06ad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.

https://github.com/ruby/irb/commit/86c41b06ad
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Update ls.rb without requiring Set, because Set is one of standard libraries</title>
<updated>2021-06-30T20:16:31+00:00</updated>
<author>
<name>Keiko Kaneko</name>
<email>keiko.cda@gmail.com</email>
</author>
<published>2021-06-29T12:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8ee24840c844a25c749e7e69017e5a2331c49c1c'/>
<id>8ee24840c844a25c749e7e69017e5a2331c49c1c</id>
<content type='text'>
https://github.com/ruby/irb/commit/7092ad2ab5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/7092ad2ab5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Rescue a specific error</title>
<updated>2021-06-30T12:06:52+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2021-06-30T12:04:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=acbddbe68cdcf5506791d8e19c184536ba253b02'/>
<id>acbddbe68cdcf5506791d8e19c184536ba253b02</id>
<content type='text'>
Rescuing StandardError is prone to bugs caused by a typo or obsoleted methods.

https://github.com/ruby/irb/commit/eb5260fcd5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rescuing StandardError is prone to bugs caused by a typo or obsoleted methods.

https://github.com/ruby/irb/commit/eb5260fcd5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Fix error on `ls object_cant_define_singleton`</title>
<updated>2021-06-30T11:55:18+00:00</updated>
<author>
<name>Masataka Pocke Kuwabara</name>
<email>kuwabara@pocke.me</email>
</author>
<published>2021-06-29T10:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e8c2b03ee145e10217a8ed58dbadfe30f9edbdfe'/>
<id>e8c2b03ee145e10217a8ed58dbadfe30f9edbdfe</id>
<content type='text'>
such as `ls 42`, `ls :sym` and so on

https://github.com/ruby/irb/commit/b1d436a853
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
such as `ls 42`, `ls :sym` and so on

https://github.com/ruby/irb/commit/b1d436a853
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/irb] Sort ls result ordered by anscestry</title>
<updated>2021-06-22T13:32:42+00:00</updated>
<author>
<name>Keiko Kaneko</name>
<email>keiko.cda@gmail.com</email>
</author>
<published>2021-06-20T02:36:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=de779f4a620f408b72004a06545455f5a51a8584'/>
<id>de779f4a620f408b72004a06545455f5a51a8584</id>
<content type='text'>
https://github.com/ruby/irb/commit/fdd5c0a71e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/irb/commit/fdd5c0a71e
</pre>
</div>
</content>
</entry>
</feed>
