Граф коммитов

10761 Коммитов

Автор SHA1 Сообщение Дата
BurdetteLamar d5eafaed81 [ruby/net-http] Enhanced RDoc for Net::HTTP
https://github.com/ruby/net-http/commit/da626e4e42
2022-12-15 21:33:19 +00:00
Hiroshi SHIBATA 49b0f3b024 Merge RubyGems/Bundler master
Pick from 084f7d1f21
2022-12-15 19:06:40 +09:00
Nobuyoshi Nakada 613fca0148 [Bug #19189] Fallback to the default "pkg-config" 2022-12-15 11:00:42 +09:00
Burdette Lamar 55f56eb66e [ruby/net-http] [DOC] New doc for responses classes
(https://github.com/ruby/net-http/pull/91)

https://github.com/ruby/net-http/commit/d394404402
2022-12-14 22:13:28 +00:00
Burdette Lamar d2b87456f0 [ruby/net-http] [DOC] Correct formatting in header.rb
(https://github.com/ruby/net-http/pull/90)

https://github.com/ruby/net-http/commit/d9d829ca53
2022-12-14 21:34:12 +00:00
Burdette Lamar 3e5f8b2af3 [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/89)

https://github.com/ruby/net-http/commit/86b84eb307
2022-12-14 13:55:06 +00:00
Hiroshi SHIBATA 1a8d460534 [ruby/securerandom] Bump version to 0.2.2
https://github.com/ruby/securerandom/commit/9e16b597f5
2022-12-14 08:48:38 +00:00
Hiroshi SHIBATA 95d7b5e2e9 [ruby/resolv-replace] Bump version to 0.1.1
https://github.com/ruby/resolv-replace/commit/187e91d149
2022-12-14 17:42:15 +09:00
Hiroshi SHIBATA 15f5842a5f [ruby/English] Bump version to 0.7.2
https://github.com/ruby/English/commit/736f819b3b
2022-12-14 07:53:51 +00:00
Hiroshi SHIBATA 0b67e435ed [ruby/abbrev] Bump version to 0.1.1
https://github.com/ruby/abbrev/commit/8c3debac5a
2022-12-14 07:38:37 +00:00
Hiroshi SHIBATA c6f41a3255 [ruby/time] Bump version to 0.2.1
https://github.com/ruby/time/commit/4cebf6de3c
2022-12-14 16:07:44 +09:00
Hiroshi SHIBATA 989d993f5b [ruby/reline] Bump version to 0.3.2
https://github.com/ruby/reline/commit/3fbb7ec2ae
2022-12-14 07:01:19 +00:00
Hiroshi SHIBATA e2f4b8bf77 [ruby/weakref] Bump version to 0.1.2
https://github.com/ruby/weakref/commit/5b5f79d8a6
2022-12-14 06:16:29 +00:00
Hiroshi SHIBATA 0c27c1b3fc [ruby/open3] Bump version to 0.1.2
https://github.com/ruby/open3/commit/38904e204d
2022-12-14 05:49:14 +00:00
Hiroshi SHIBATA 067747bb9a [ruby/tempfile] Bump version to 0.1.3
https://github.com/ruby/tempfile/commit/99dc1f7058
2022-12-14 05:35:48 +00:00
Takashi Kokubun a1dba60b5b [ruby/irb] Version 1.6.1
https://github.com/ruby/irb/commit/229476ba76
2022-12-13 18:36:45 +00:00
Hiroshi SHIBATA 3e00cb8256 Merge RubyGems/Bundler master
from 1fdbeeabed
2022-12-13 12:41:08 +09:00
Burdette Lamar 63f682ba11 [ruby/net-http] [DOC] Enhanced RDoc for HTTPHeader
(https://github.com/ruby/net-http/pull/88)

https://github.com/ruby/net-http/commit/46e966be10
2022-12-12 19:34:21 +00:00
Stan Lo 223d4448c8 [ruby/irb] `show_doc` command should take non-string argument too
(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.
2022-12-12 17:35:48 +00:00
Nobuyoshi Nakada e1f42844a0 [rubygems/rubygems] Prefer RbConfig::CONFIG['EXEEXT'] over hardcorded '.exe'
https://github.com/rubygems/rubygems/commit/bc84b2d262
2022-12-12 06:00:41 +00:00
Hiroshi SHIBATA bbe56a6437 Merge RubyGems/Bundler master
from bfb0ae6977
2022-12-12 10:49:43 +09:00
Burdette Lamar f1cdc129d4 [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
(https://github.com/ruby/net-http/pull/85)

https://github.com/ruby/net-http/commit/9d9040fb79
2022-12-11 22:26:18 +00:00
zverok 381a373ab9 [DOC] Improve Random::Formatter docs
* Make its usage more obvious (by providing more detailed
  examples);
* Include mention of it into Random itself;
* Small cleanups of docs.
2022-12-11 18:49:56 +02:00
David Rodríguez 73eddee76e [rubygems/rubygems] Bump optparse to 0.3.0
And remove a patch no longer needed since we dropped Ruby 2.4 support.

https://github.com/rubygems/rubygems/commit/8939337072
2022-12-11 13:35:01 +00:00
David Rodríguez d82328ffc8 [rubygems/rubygems] Bump Molinillo and tsort
And configure tsort to be vendored as a dependency of Molinillo.

https://github.com/rubygems/rubygems/commit/8ec749f891
2022-12-11 13:35:00 +00:00
Stan Lo 381e128c13 [ruby/irb] Fix step command (https://github.com/ruby/irb/pull/477)
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.
2022-12-09 23:39:17 +00:00
Takashi Kokubun 8893913ae6
MJIT: Clarify jit_unit is only for MJIT 2022-12-08 23:43:09 -08:00
Hiroshi SHIBATA 0677bbe3ff Merge syntax_suggest master
Pick from daee74dcb0
2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA 9557c8edf2 Merge net-protocol-0.2.1 2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA 4cbd3e1944 Merge RDoc-6.5.0 2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA a4e14b9d9d Merge RubyGems/Bundler master
Pick from 823c776d95
2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA 98e33aa992 Merge yaml-0.2.1 2022-12-09 16:36:22 +09:00
Hiroshi SHIBATA 643918ecfe Merge csv-3.2.6 2022-12-09 16:36:22 +09:00
Nobuyoshi Nakada bda070f016
[ruby/rdoc] Fix `=end` delimiter
https://github.com/ruby/rdoc/commit/e1679fa7e4
2022-12-09 15:40:05 +09:00
Nobuyoshi Nakada acd857b989
[ruby/rdoc] Non-RD part feature has not been imported to RDoc
https://github.com/ruby/rdoc/commit/fe0159de2f
2022-12-09 15:40:04 +09:00
Nobuyoshi Nakada b749bc05d0
[ruby/rdoc] Use Tempfile
https://github.com/ruby/rdoc/commit/0b9dde5ab4
2022-12-09 15:40:04 +09:00
Takashi Kokubun fa64889abb [ruby/erb] Use a ruby-lang alias on spec.email
https://github.com/ruby/erb/commit/39414f32a5
2022-12-09 06:36:55 +00:00
Takashi Kokubun 95b423f93a [ruby/irb] Version 1.6.0
https://github.com/ruby/irb/commit/d799c5c9da
2022-12-09 04:35:43 +00:00
Stan Lo c9076d546a [ruby/irb] Add show_doc as an alias to the help command
(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.
2022-12-08 21:46:55 +00:00
Stan Lo 12b7c129bf [ruby/irb] Gracefully handle missing command argument
(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
2022-12-08 21:05:37 +00:00
Stan Lo 3956bb859c [ruby/irb] Add "show_cmds" command to list all commands'
descriptions
(https://github.com/ruby/irb/pull/463)

https://github.com/ruby/irb/commit/7e857655ac
2022-12-08 19:10:23 +00:00
Hiroshi SHIBATA 6f44dc8edf [ruby/net-protocol] Bump version to 0.2.1
https://github.com/ruby/net-protocol/commit/06d1420936
2022-12-08 07:23:46 +00:00
Jean Boussier 8547f61daf [ruby/net-protocol] Undo BufferedIO#rbuf_consume_all_shareable! optimization
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
2022-12-08 07:17:51 +00:00
Benoit Daloze a57a3154d3 [rubygems/rubygems] Avoid deprecated Gem::Platform.match in Gem::Resolver::InstallerSet
https://github.com/rubygems/rubygems/commit/05cb5410cb
2022-12-08 07:17:09 +00:00
Akira Matsuda 7e121dc4a8 [ruby/logger] Another performance improvement on the Formatter by
using Kernel#sprintf over String#%
(https://github.com/ruby/logger/pull/75)

* Prefer Kernel#sprintf over String#% for formatting Strings
2022-12-08 03:31:36 +00:00
Samuel Williams 7ab4820af7 [ruby/logger] Only assign to `@filename` if the path is valid.
(https://github.com/ruby/logger/pull/81)

https://github.com/ruby/logger/commit/b41d7c699c
2022-12-08 03:28:18 +00:00
Samuel Williams 701251c576 [ruby/logger] Drop RDoc development dependency to avoid CI failures.
(https://github.com/ruby/logger/pull/82)

https://github.com/ruby/logger/commit/8915627234
2022-12-08 03:21:40 +00:00
Stan Lo a2d3f5606a [ruby/irb] Lazily load the multi-irb extension
(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>
2022-12-07 23:30:00 +00:00
Ian Ker-Seymer 554161236a [rubygems/rubygems] Always build in release mode
https://github.com/rubygems/rubygems/commit/7b84fc1f19
2022-12-07 11:31:25 +00:00
Takashi Kokubun 57cb4a8179
MJIT: Remove obsoleted MJIT counters 2022-12-06 23:05:00 -08:00