yoka
87c17a141d
[rubygems/rubygems] Enhance bundle open with --path option
...
https://github.com/rubygems/rubygems/commit/3bf8e59304
2023-01-04 13:13:19 +00:00
Stan Lo
3d6500ee6e
[ruby/irb] workspace.rb cleanup
...
(https://github.com/ruby/irb/pull/489 )
* Remove unnecessary Binding#source_location check
`Binding#source_location` was added in 2.6, which is the minimum supported
version now. So this check is no longer necessary.
* Remove unused IRB.delete_caller
This method was added in the earliest version of IRB:
f47808999d
But it's not currently referenced by anything. We can verify this with a
org-wide search result:
https://github.com/search?q=org%3Aruby+delete_caller&type=code
2023-01-04 09:35:57 +00:00
Joel Anderson
e25c173c97
[ruby/reline] correct Win32API capitalization for JRuby
...
JRuby 9.4.0.0 introduced a change in case sensitivity in require statements,
meaning that an inclusion of `win32api` loaded Win32API.rb. With this change,
the require statement needs to be updated to the correct capitalization of the
filename to avoid reline failures in newer versions of JRuby.
https://github.com/ruby/reline/commit/d6e7c9e1d9
2023-01-04 06:32:46 +00:00
Burdette Lamar
59cf9ebf4d
[ruby/uri] [DOC] Enhanced RDoc for common methods
...
(https://github.com/ruby/uri/pull/48 )
https://github.com/ruby/uri/commit/2bfd848c26
2023-01-03 15:33:45 +00:00
Takashi Kokubun
2bbf63dd86
Remove lib/mjit/instruction.rb
...
This was accidentally re-introduced in f6620037ba
.
[Bug #19298 ]
2023-01-02 13:13:01 -08:00
tomoya ishida
34f8ca1714
[ruby/irb] Fix prompt and code mismatch
...
(https://github.com/ruby/irb/pull/386 )
* fix prompt and code mismatch
* Add test for prompt and code mismatch bug
https://github.com/ruby/irb/commit/a5765d8177
Co-authored-by: Stan Lo <stan001212@gmail.com>
2023-01-02 19:25:11 +00:00
Mark Doliner
a4e9606da4
[rubygems/rubygems] Remove stray word in bundle config man page.
...
There was an extra word ("with") in this sentence.
https://github.com/rubygems/rubygems/commit/ad3de5126c
2023-01-01 15:04:43 +00:00
BurdetteLamar
44b7fd8d4f
[ruby/net-http] Enhanced RDoc for HTTPHeader
...
https://github.com/ruby/net-http/commit/6a282eccdd
2023-01-01 15:02:14 +00:00
Mau Magnaguagno
ec7e082906
[ruby/irb] Refactor RubyLex#process_literal_type
...
(https://github.com/ruby/irb/pull/350 )
Simplify part of regex ``[_a-zA-Z0-9]`` with equivalent shorthand ``\w``.
Replace case-when with match ``$1`` or default value ``?"``, making intention more clear.
2022-12-27 17:05:32 +00:00
Hiroshi SHIBATA
c09f342d04
[ruby/irb] Fix wrong conf path with XDG_CONFIG_HOME. It should be under the HOME directory, not current directory
...
https://github.com/ruby/irb/commit/33a5e55ffd
2022-12-27 00:09:12 +00:00
BurdetteLamar
8f678d61a5
[ruby/net-http] Adding links to references
...
https://github.com/ruby/net-http/commit/1c8151aaf3
2022-12-26 22:17:18 +00:00
tompng
953d4c22ed
[ruby/irb] fix indent depth calculation after heredoc and embdoc
...
https://github.com/ruby/irb/commit/b7973dd2d2
2022-12-26 13:03:07 -08:00
tompng
f20aac5c59
[ruby/irb] fix auto-indent after multiline string
...
https://github.com/ruby/irb/commit/f65ec49684
2022-12-26 13:03:07 -08:00
Gustavo Ribeiro
f5a035daf9
[rubygems/rubygems] deprecate gem build -C flag
...
https://github.com/rubygems/rubygems/commit/fac241d4ef
2022-12-26 19:08:55 +00:00
Gustavo Ribeiro
08f6196bda
[rubygems/rubygems] add global flag (-C) to change execution directory
...
https://github.com/rubygems/rubygems/commit/312fc36711
2022-12-26 19:08:55 +00:00
Takashi Kokubun
fc03ba50f1
MJIT: Fix JIT code for multiple values in a single case
...
[Bug #19263 ]
2022-12-25 22:48:36 -08:00
Hiroshi SHIBATA
b7ad60a794
Merge RubyGems/Bundler master
...
from 72fd3dd209
2022-12-26 15:09:21 +09:00
Junichi Ito
cea6951ecf
[ruby/optparse] Add symbolize_names to getopts
...
https://github.com/ruby/optparse/commit/3e63d878f8
2022-12-26 15:09:21 +09:00
Nobuyoshi Nakada
4c767c1354
[ruby/optparse] bump up to 0.4.0.pre.1
...
https://github.com/ruby/optparse/commit/73661899ad
2022-12-26 15:09:21 +09:00
Burdette Lamar
8c8645f578
[ruby/net-http] [DOC] Adding links to references
...
(https://github.com/ruby/net-http/pull/97 )
https://github.com/ruby/net-http/commit/768115167a
2022-12-26 15:09:21 +09:00
BurdetteLamar
35aba09e7f
[ruby/net-http] Adding links to references
...
https://github.com/ruby/net-http/commit/b85530e6b8
2022-12-26 15:09:21 +09:00
Sutou Kouhei
50e58df0e3
[ruby/csv] Bump version
...
https://github.com/ruby/csv/commit/8606ee83e0
2022-12-26 15:09:21 +09:00
Hiroshi SHIBATA
cc25e81fb7
Update generated version of racc on parser headers
2022-12-26 15:09:21 +09:00
Hiroshi SHIBATA
cd6c7613f3
Apply the accidental commits again before Ruby 3.2.
...
Reverts the following commits:
eb8d4d7b51
edb83dc3a2
d40064d184
2022-12-26 12:07:42 +09:00
David Rodríguez
8f05e4f54b
Update Bundler to 2.4.1 & and RubyGems to 3.4.1
2022-12-25 05:55:36 +09:00
Takashi Kokubun
b9332ac8e7
MJIT: Cancel all on disastrous situations ( #7019 )
...
I noticed this while running test_yjit with --mjit-call-threshold=1,
which redefines `Integer#<`. When Ruby is monkey-patched,
MJIT itself could be broken.
Similarly, Ruby scripts could break MJIT in many different ways. I
prepared the same set of hooks as YJIT so that we could possibly
override it and disable it on those moments. Every constant under
RubyVM::MJIT is private and thus it's an unsupported behavior though.
2022-12-24 01:13:40 -08:00
Hiroshi SHIBATA
f6620037ba
Merge RubyGems-3.4.0 and Bundler-2.4.0
2022-12-24 16:57:07 +09:00
Hiroshi SHIBATA
eb8d4d7b51
Revert the additional changes from net-http-0.3.2
2022-12-23 19:36:43 +09:00
Hiroshi SHIBATA
d40064d184
Revert the accidentally commit from erb-4.0.2
...
Revert "[ruby/erb] Use a ruby-lang alias on spec.email"
This reverts commit fa64889abb
.
2022-12-23 19:33:27 +09:00
Hiroshi SHIBATA
3ade713967
Bump version to 1.6.2
2022-12-23 09:51:52 +09:00
Jeremy Evans
7e8fa06022
Always issue deprecation warning when calling Regexp.new with 3rd positional argument
...
Previously, only certain values of the 3rd argument triggered a
deprecation warning.
First step for fix for bug #18797 . Support for the 3rd argument
will be removed after the release of Ruby 3.2.
Fix minor fallout discovered by the tests.
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-22 11:50:26 -08:00
Takashi Kokubun
9dcee2d80e
Remove MJIT's private constants from docs [ci skip]
2022-12-22 11:35:46 -08:00
Hiroshi SHIBATA
fe7190a8c1
[ruby/optparse] Bump version to 0.3.1
...
https://github.com/ruby/optparse/commit/2a1e157ae1
2022-12-22 17:48:22 +09:00
Takashi Kokubun
bb4cbd0803
Put RubyVM::MJIT::Compiler under ruby_vm directory ( #6989 )
...
[Misc #19250 ]
2022-12-21 22:46:15 -08:00
BurdetteLamar
172dc98c94
[ruby/net-http] Adding links to references
...
https://github.com/ruby/net-http/commit/71bae5c0fe
2022-12-21 09:17:19 -05:00
BurdetteLamar
276b84f8ed
[ruby/net-http] Adding links to references
...
https://github.com/ruby/net-http/commit/e4df80f299
2022-12-21 09:17:19 -05:00
BurdetteLamar
86f0128efe
[ruby/net-http] Adding links to references
...
https://github.com/ruby/net-http/commit/df5a554fa8
2022-12-21 09:17:18 -05:00
Mau Magnaguagno
1e989c49a8
MJIT: Refactor Compiler#cast_offset ( #6967 )
...
Subtract max value from offset when sign bit is set, without string operations.
2022-12-20 21:28:48 -08:00
Nobuyoshi Nakada
502ca37dde
[ruby/optparse] The encoding argument of `Regexp.new` has been ignored since 1.9
...
https://github.com/ruby/optparse/commit/766f567405
2022-12-21 14:09:12 +09:00
Takashi Kokubun
b2bf5d237b
[ruby/irb] Version 1.6.2
...
https://github.com/ruby/irb/commit/a8ea9963c6
2022-12-20 09:07:55 -08:00
Takashi Kokubun
cf0b413ef8
[ruby/irb] Respect DLEXT to force-load debug.so
...
(https://github.com/ruby/irb/pull/481 )
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-20 09:07:54 -08:00
Hiroshi SHIBATA
20f9316f9d
[ruby/syntax_suggest] Bump version to 1.0.2
...
https://github.com/ruby/syntax_suggest/commit/92ea00650a
2022-12-20 14:50:08 +09:00
Hiroshi SHIBATA
18ba89093a
Merge RubyGems/Bundler master
...
Pick from ba3adad4d8
2022-12-20 13:15:02 +09:00
Mark Burns
870bcc96ba
[rubygems/rubygems] fix
...
https://github.com/rubygems/rubygems/pull/6147 when --parseable and
--groups used
together
https://github.com/rubygems/rubygems/commit/3b0b95c509
2022-12-20 13:15:02 +09:00
Josef Šimánek
8eb6618013
[rubygems/rubygems] Turn `--ext` option into string. Deprecate usage without explicit value.
...
- this is preparation for onboarding Rust based extension gem generator
https://github.com/rubygems/rubygems/commit/d32801bdbc
2022-12-20 13:15:02 +09:00
Josef Šimánek
eaf0157dd1
[rubygems/rubygems] Regenerate bundler man pages for December 2022.
...
https://github.com/rubygems/rubygems/commit/17037fe32c
2022-12-20 13:15:02 +09:00
Josef Šimánek
f270aa3eda
[rubygems/rubygems] Use safe Marshal deserialization for dependency API response. - adds Bundler#safe_load_marshal and Bundler::SAFE_MARSHAL_CLASSES listing safe classes to deserialize
...
https://github.com/rubygems/rubygems/commit/e947c608cc
2022-12-20 13:15:02 +09:00
David Rodríguez
efd103f3e5
[rubygems/rubygems] Fix crash when showing some resolution errors
...
If the conflict explanation includes empty ranges and version unions,
Pub Grub was crashing.
https://github.com/rubygems/rubygems/commit/eb360b77a2
2022-12-20 13:15:02 +09:00
David Rodríguez
1db9bcfeaf
[rubygems/rubygems] Fix crash when building resolution errors with OR requirements
...
https://github.com/rubygems/rubygems/commit/8f287479bc
2022-12-20 13:15:02 +09:00
David Rodríguez
8293489564
[rubygems/rubygems] Slight tweak to error message building
...
Let Pub Grub decide how the constraint should be displayed.
https://github.com/rubygems/rubygems/commit/4f651b6429
2022-12-20 13:15:02 +09:00
Michael Siegfried
beef72965e
[rubygems/rubygems] Clarify flag description
...
Prerelease versions are already considered in a certain circumstance,
and the 'if updating' is redundant in the update case anyway.
https://github.com/rubygems/rubygems/commit/8d68635f8c
2022-12-20 13:15:02 +09:00
Michael Siegfried
c436f52fe8
[rubygems/rubygems] Fix tiny typo
...
https://github.com/rubygems/rubygems/commit/390e3e1ebd
2022-12-20 13:15:02 +09:00
Michael Siegfried
2bc4f1dea5
[rubygems/rubygems] Support for pre flag in `bundle update`
...
Passing this flag allows bumping to the current version, even if that
version is prerelease. This works in concert with the current flags.
https://github.com/rubygems/rubygems/commit/a6409e3509
2022-12-20 13:15:02 +09:00
Michael Siegfried
1ee31f9d9d
[rubygems/rubygems] Clarify segment equality check
...
https://github.com/rubygems/rubygems/commit/6624474c5a
2022-12-20 13:15:02 +09:00
Michael Siegfried
e58d18bf23
[rubygems/rubygems] Return early outside of loop
...
The conditions are not dependent on each spec and can be checked once at
the beginning of the method.
https://github.com/rubygems/rubygems/commit/086bc9433f
2022-12-20 13:15:02 +09:00
Michael Siegfried
c67f6c4daf
[rubygems/rubygems] Add question marks to interrogative methods
...
https://github.com/rubygems/rubygems/commit/52da85e9ef
2022-12-20 13:15:02 +09:00
Eloy Espinaco
0a9544ce4a
[rubygems/rubygems] Cleanup intermediate artifacts after installing built extensions
...
https://github.com/rubygems/rubygems/commit/98b6a959bd
2022-12-20 13:15:02 +09:00
David Rodríguez
3fd33590f6
[rubygems/rubygems] Fix crash when lockfile is missing dependencies
...
We have a check for a corrupt lockfile right before installing. However,
the check accounted for locked specs not satisfying locked dependencies,
but not for locked specs missing for some locked dependencies.
Instead of fixing this check, I decided to remove it in favor of
automatically detecting the situation and re-resolve to automatically
fix the lockfile rather than printing a warning but leave the problem
there.
https://github.com/rubygems/rubygems/commit/4a7a584252
2022-12-20 13:15:02 +09:00
David Rodríguez
16b36a5b0c
[rubygems/rubygems] Remove unused code
...
https://github.com/rubygems/rubygems/commit/b88c43a28c
2022-12-20 13:15:02 +09:00
David Rodríguez
d1533f20f1
[rubygems/rubygems] Detect circular dependency errors
...
https://github.com/rubygems/rubygems/commit/a8348d271d
2022-12-20 13:15:02 +09:00
David Rodríguez
96aa1a1a98
[rubygems/rubygems] Remove dead logic
...
https://github.com/rubygems/rubygems/commit/950615405e
2022-12-20 13:15:02 +09:00
David Rodríguez
d1c210355b
[rubygems/rubygems] Extract a variable for consistency
...
https://github.com/rubygems/rubygems/commit/3f4b1c7a01
2022-12-20 13:15:02 +09:00
Hiroshi SHIBATA
1142bc875b
[ruby/did_you_mean] Bump version to 1.6.3
...
https://github.com/ruby/did_you_mean/commit/f7703add76
2022-12-19 14:59:59 +09:00
Hiroshi SHIBATA
08d21b4bd2
[ruby/net-http] Bump version to 0.3.2
...
https://github.com/ruby/net-http/commit/b8bdb7248e
2022-12-19 10:50:21 +09:00
Alyssa Ross
d4315284e9
[rubygems/rubygems] Add bundle lock --update --bundler
...
bundle lock --update can do everything that bundle update can do, but
it doesn't actually install gems. This is especially useful for
generating a lockfile on a machine that doesn't have the libraries
available to be able to build native extensions.
But, there was no parallel for bundle update --bundler. So let's add
one.
https://github.com/rubygems/rubygems/commit/7fc00bd2a5
2022-12-18 19:17:42 +00:00
BurdetteLamar
ede7c035d5
[ruby/net-http] Adding links to references
...
https://github.com/ruby/net-http/commit/6dfe6f411a
2022-12-18 15:37:45 +00:00
Mau Magnaguagno
632beec01f
MJIT: Refactor BitField dereference byte and bitmask ( #6955 )
...
Prefer Array#unpack1 and Enumerable#sum.
I think the bitmask formula ``2 ** @width - 1`` would be clearer, but not faster for such small integers.
2022-12-17 13:06:50 -08:00
Hiroshi SHIBATA
2cd22f9abd
[ruby/logger] Bump version to 1.5.3
...
https://github.com/ruby/logger/commit/4e8d9e27fd
2022-12-16 06:34:47 +00:00
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
Peter Zhu
9d4483f24d
[ruby/net-http] [DOC] Fix call-seq for Net::HTTP.start
...
The lack of a newline between the call-seq and the documentation was
causing the documentation to be parsed as a call-seq.
https://github.com/ruby/net-http/commit/1a212e2065
2022-12-06 14:27:15 +00:00
Martin Dürst
156069d7b6
update Unicode normalization tables to version 15.0.0
2022-12-06 10:11:33 +09:00
Stan Lo
9aa18f61f2
[ruby/irb] Allow disabling autocompletion with
...
`IRB_USE_AUTOCOMPLETE=false`
(https://github.com/ruby/irb/pull/469 )
* Allow using IRB_USE_AUTOCOMPLETE=false to disable autocompletion
Currently, the only 2 ways to disable autocompletion are:
1. Create `.irbrc` and set `IRB.conf[:USE_AUTOCOMPLETE] = false`
2. Add the `--noautocomplete` flag when using the `irb` executable
Both of them are less convenient than setting a env var and are
lesser known to devs.
And given the number of problems the autocompletion has (see #445 ), I
think we should allow disabling it with a simple `IRB_USE_AUTOCOMPLETE=false`.
* Mention some env var configs in the README
2022-12-06 00:53:32 +00:00
Matthew Boeh
1602d75c34
[ruby/did_you_mean] Do not suggest #name= for #name and vice versa
...
(https://github.com/ruby/did_you_mean/pull/180 )
* Do not suggest #name= for #name and vice versa
* Avoid allocating unnecessary MatchData
Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
2022-12-05 13:16:33 +00:00
Hiroshi SHIBATA
3fe5890f7b
[ruby/did_you_mean] Bump version to 1.6.2
...
https://github.com/ruby/did_you_mean/commit/f5b15128e2
2022-12-05 10:29:44 +00:00
Hiroshi SHIBATA
b62b7dc705
[ruby/uri] Bump version to 0.12.0
...
https://github.com/ruby/uri/commit/72f22716f8
2022-12-05 08:20:24 +00:00
Hiroshi SHIBATA
3fe8907b84
[ruby/un] Bump version to 0.2.1
...
https://github.com/ruby/un/commit/8f1c78e27c
2022-12-05 08:18:33 +00:00
Hiroshi SHIBATA
eca8090120
[ruby/tsort] Bump version to 0.1.1
...
https://github.com/ruby/tsort/commit/dd71002c65
2022-12-05 08:16:29 +00:00
Hiroshi SHIBATA
325ac80c21
[ruby/tmpdir] Bump version to 0.1.3
...
https://github.com/ruby/tmpdir/commit/ee99c758fd
2022-12-05 08:15:11 +00:00
Hiroshi SHIBATA
3909cfaa02
[ruby/timeout] Bump version to 0.3.1
...
https://github.com/ruby/timeout/commit/4941e8c871
2022-12-05 08:13:18 +00:00
Nobuyoshi Nakada
facb5cd4d5
Clean compiler intermediate files more
2022-12-05 17:09:49 +09:00
Hiroshi SHIBATA
f5355df610
[ruby/securerandom] Bump version to 0.2.1
...
https://github.com/ruby/securerandom/commit/5bfe7d6c16
2022-12-05 07:51:34 +00:00
Hiroshi SHIBATA
52c76d0f69
[ruby/resolv] Bump version to 0.2.2
...
https://github.com/ruby/resolv/commit/261f049058
2022-12-05 07:49:03 +00:00
Hiroshi SHIBATA
73404e8f12
[ruby/pstore] Bump version to 0.1.2
...
https://github.com/ruby/pstore/commit/2d95c19c43
2022-12-05 07:38:23 +00:00
Hiroshi SHIBATA
7a7d1b3853
[ruby/pp] Bump version to 0.4.0
...
https://github.com/ruby/pp/commit/8870aa02df
2022-12-05 07:35:19 +00:00
Hiroshi SHIBATA
71b4d35526
[ruby/optparse] Bump version to 0.3.0
...
https://github.com/ruby/optparse/commit/c80dfb1ebd
2022-12-05 07:17:23 +00:00
Hiroshi SHIBATA
c5911408f9
[ruby/open-uri] Bump version to 0.3.0
...
https://github.com/ruby/open-uri/commit/783892ebb0
2022-12-05 07:14:06 +00:00
Hiroshi SHIBATA
ad970f5474
[ruby/net-protocol] Bump version to 0.2.0
...
https://github.com/ruby/net-protocol/commit/3097bb4cc3
2022-12-05 06:46:33 +00:00
Hiroshi SHIBATA
9e114338b9
[ruby/net-http] Bump version to 0.3.1
...
https://github.com/ruby/net-http/commit/09a9ea163a
2022-12-05 06:42:56 +00:00
Hiroshi SHIBATA
826adbc963
[ruby/mutex_m] Bump version to 0.1.2
...
https://github.com/ruby/mutex_m/commit/57f23978cd
2022-12-05 06:39:55 +00:00
Hiroshi SHIBATA
8a5dffe513
[ruby/logger] Bump version to 1.5.2
...
https://github.com/ruby/logger/commit/9c4ae3b81d
2022-12-05 06:36:31 +00:00
Hiroshi SHIBATA
51cfe70135
[ruby/ipaddr] Bump version to 1.2.5
...
https://github.com/ruby/ipaddr/commit/d92acb3982
2022-12-05 06:32:03 +00:00
Hiroshi SHIBATA
519c31e48c
[ruby/getoptlong] Bump version to 0.2.0
...
https://github.com/ruby/getoptlong/commit/71fbf2123f
2022-12-05 06:19:25 +00:00
Hiroshi SHIBATA
f41d38a6fb
[ruby/forwardable] Bump version to 1.3.3
...
https://github.com/ruby/forwardable/commit/301687dbfa
2022-12-05 06:15:38 +00:00
Hiroshi SHIBATA
05caafb473
[ruby/fileutils] Bump version to 1.7.0
...
https://github.com/ruby/fileutils/commit/213e6a3d1f
2022-12-05 06:12:31 +00:00
Hiroshi SHIBATA
3cfb7afbfe
[ruby/drb] Bump version to 2.1.1
...
https://github.com/ruby/drb/commit/7c2d56e9f3
2022-12-05 05:59:33 +00:00
Hiroshi SHIBATA
c4d22d47f8
[ruby/delegate] Bump version to 0.3.0
...
https://github.com/ruby/delegate/commit/420637be45
2022-12-05 05:47:54 +00:00
Hiroshi SHIBATA
0f534bfb6a
[ruby/benchmark] Bump version to 0.2.1
...
https://github.com/ruby/benchmark/commit/303ac8f28b
2022-12-05 05:15:02 +00:00
Hiroshi SHIBATA
d7b00b55a9
[ruby/rdoc] Bump version to 6.4.0
...
https://github.com/ruby/rdoc/commit/c5e7ee03ac
2022-12-05 04:59:54 +00:00
Hiroshi SHIBATA
5fb3dec058
[ruby/racc] Bump version to 1.6.1
...
https://github.com/ruby/racc/commit/1768ed252f
2022-12-05 04:55:35 +00:00
Stan Lo
16b2e03014
[ruby/reline] Remove unapproved color setting APIs
...
These APIs/configs are not approved by the Ruby core, so they can't be
released to the public. This means having them in the codebase will
block other fixes/features from being released as well.
So this commit removes those exposed interfaces to unblock the release.
Hopefully when https://bugs.ruby-lang.org/issues/18996 is approved we
can re-implement better APIs.
https://github.com/ruby/reline/commit/f7a961c550
2022-12-05 03:14:55 +00:00
Burdette Lamar
e58c4f97fa
[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTP
...
(https://github.com/ruby/net-http/pull/84 )
https://github.com/ruby/net-http/commit/660046386f
2022-12-04 20:22:31 +00:00