| Age | Commit message (Collapse) | Author |
|
Prefer Array#unpack1 and Enumerable#sum.
I think the bitmask formula ``2 ** @width - 1`` would be clearer, but not faster for such small integers.
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
https://github.com/ruby/logger/commit/4e8d9e27fd
|
|
https://github.com/ruby/net-http/commit/da626e4e42
|
|
Pick from https://github.com/rubygems/rubygems/commit/084f7d1f21f6fc3e2bb685b7bda3653fb2891c6e
Notes:
Merged: https://github.com/ruby/ruby/pull/6936
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6927
|
|
(https://github.com/ruby/net-http/pull/91)
https://github.com/ruby/net-http/commit/d394404402
|
|
(https://github.com/ruby/net-http/pull/90)
https://github.com/ruby/net-http/commit/d9d829ca53
|
|
(https://github.com/ruby/net-http/pull/89)
https://github.com/ruby/net-http/commit/86b84eb307
|
|
https://github.com/ruby/securerandom/commit/9e16b597f5
|
|
https://github.com/ruby/resolv-replace/commit/187e91d149
|
|
https://github.com/ruby/English/commit/736f819b3b
|
|
https://github.com/ruby/abbrev/commit/8c3debac5a
|
|
https://github.com/ruby/time/commit/4cebf6de3c
|
|
https://github.com/ruby/reline/commit/3fbb7ec2ae
|
|
https://github.com/ruby/weakref/commit/5b5f79d8a6
|
|
https://github.com/ruby/open3/commit/38904e204d
|
|
https://github.com/ruby/tempfile/commit/99dc1f7058
|
|
https://github.com/ruby/irb/commit/229476ba76
|
|
from https://github.com/rubygems/rubygems/commit/1fdbeeabedd3cc4fffb0bb527b7c789afa44fb51
Notes:
Merged: https://github.com/ruby/ruby/pull/6914
|
|
(https://github.com/ruby/net-http/pull/88)
https://github.com/ruby/net-http/commit/46e966be10
|
|
(https://github.com/ruby/irb/pull/478)
Given that `show_doc` already supports syntax like `String#gsub`, it
should be able to take it in non-string form too, like `edit` and
`show_source` do. This ensures users can have a consistent syntax on
argument between different commands.
|
|
https://github.com/rubygems/rubygems/commit/bc84b2d262
|
|
from https://github.com/rubygems/rubygems/commit/bfb0ae69776069155d2092702bfbb5a12617d85a
Notes:
Merged: https://github.com/ruby/ruby/pull/6906
|
|
(https://github.com/ruby/net-http/pull/85)
https://github.com/ruby/net-http/commit/9d9040fb79
|
|
* Make its usage more obvious (by providing more detailed
examples);
* Include mention of it into Random itself;
* Small cleanups of docs.
Notes:
Merged: https://github.com/ruby/ruby/pull/5434
|
|
And remove a patch no longer needed since we dropped Ruby 2.4 support.
https://github.com/rubygems/rubygems/commit/8939337072
|
|
And configure tsort to be vendored as a dependency of Molinillo.
https://github.com/rubygems/rubygems/commit/8ec749f891
|
|
The current `next` pre-command workaround on IRB source stepping
moves the location by 1 extra line. A better way is to make `debug`
skip IRB frames completely, which is what this commit does.
It also fixes the step command's test. The `|` in regexp was not escaped
so it was always incorrectly matched.
|
|
|
|
Pick from https://github.com/ruby/syntax_suggest/commit/daee74dcb06296fa69fe8595fdff5d93d432b30d
Notes:
Merged: https://github.com/ruby/ruby/pull/6890
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6890
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6890
|
|
Pick from https://github.com/rubygems/rubygems/commit/823c776d951f3c35094611473ec77f94e8bf6610
Notes:
Merged: https://github.com/ruby/ruby/pull/6890
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6890
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6890
|
|
https://github.com/ruby/rdoc/commit/e1679fa7e4
|
|
https://github.com/ruby/rdoc/commit/fe0159de2f
|
|
https://github.com/ruby/rdoc/commit/0b9dde5ab4
|
|
https://github.com/ruby/erb/commit/39414f32a5
|
|
https://github.com/ruby/irb/commit/d799c5c9da
|
|
(https://github.com/ruby/irb/pull/475)
In the long-term, we want to align with `Pry`, `byebug` and `debug` to
use the `help` command to list all commands, which is what `show_cmds`
currently does. And `show_doc` will be the command to look up Ruby APIs.
By aliasing `show_doc` to the current `help` now, users will have time
to get use to it.
|
|
(https://github.com/ruby/irb/pull/473)
* Handle file loading commands' argument error gracefully
Currently, if users don't provide an argument to `source`,
`irb_load`, and `irb_require`, IRB raises `ArgumentError` with full
stacktrace. This is confusing because it looks similar to when IRB has
internal issues. The message also isn't helpful on helping users avoid
the error.
So in this commit, I add a new `CommandArgumentError` for commands to
raise explicitly when users' input doesn't satisfy a command's argument
requirement.
* Gracefully handle `fg` command's argument requirement
|
|
descriptions
(https://github.com/ruby/irb/pull/463)
https://github.com/ruby/irb/commit/7e857655ac
|
|
https://github.com/ruby/net-protocol/commit/06d1420936
|
|
This optimization is unsafe because `dest` is allowed to be a custom
object responding to `<<` (e.g. a block wrapped in `ReadAdapter`).
So the receiver can hold onto the passed buffer for as long as it wants.
If it was guaranteed that `ReadAdapter` was the only possible receiver
we could dup the buffer there for mutation safety, but I'm not certain
it's the case so I'd rather err on the safe side.
Ref: https://github.com/shrinerb/shrine/issues/610
https://github.com/ruby/net-protocol/commit/7efa16d55d
|
|
Gem::Resolver::InstallerSet
https://github.com/rubygems/rubygems/commit/05cb5410cb
|
|
using Kernel#sprintf over String#%
(https://github.com/ruby/logger/pull/75)
* Prefer Kernel#sprintf over String#% for formatting Strings
|
|
(https://github.com/ruby/logger/pull/81)
https://github.com/ruby/logger/commit/b41d7c699c
|
|
(https://github.com/ruby/logger/pull/82)
https://github.com/ruby/logger/commit/8915627234
|
|
(https://github.com/ruby/irb/pull/472)
* Lazily load the multi-irb extension
We now have plan to implement a command that prints all commands'
information, which will need to load all command files without actually
running them.
But because the `multi-irb` extension patches IRB's top-level methods,
loading it would cause unintentional side-effects.
So this commit moves related requires into command execution to avoid the problem.
* Make extend_irb_context private
Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
|