Jeremy Evans
3b7892b6e4
Fix a bug in rb_include_module that stops nested inclusion into module subclasses
...
This bug was present since the code was originally added by me
in 3556a834a2
.
Fixes [Bug #20871 ]
2024-11-20 07:59:31 -08:00
BurdetteLamar
9db056f2ea
[DOC] Tweaks for Array
2024-11-20 10:40:49 -05:00
Nobuyoshi Nakada
f962394481
[ruby/digest] Remove obsolete test runner [ci skip]
...
This file is platform dependent, outdated and already not working.
Use `rake` instead.
a2a917dc71
2024-11-20 15:14:26 +00:00
Alan Wu
350b544468
YJIT: Refactor to forward jump_to_next_insn() return value
...
It's more concise this way and since `return Some(EndBlock)` is the only
correct answer, no point repeating it everywhere.
2024-11-20 10:06:14 -05:00
Alan Wu
199877d258
YJIT: Abandon block when gen_outlined_exit() fails
...
When CodeBlock::set_page fails (part of next_page(), see their docs for
exact conditions), it can cause gen_outlined_exit() to fail while there
is still plenty of memory available. Previously, this can have YJIT
running incomplete code due to taking the early return in
end_block_with_jump() that manifested as crashes with SIGILL.
Add and use a wrapper with error handling.
2024-11-20 10:06:14 -05:00
Stan Lo
2df2e868bc
[ruby/irb] Move main object's safe call logic to Context
...
(https://github.com/ruby/irb/pull/1034 )
9750fa23cc
2024-11-20 15:02:17 +00:00
Nobuyoshi Nakada
743a31d639
[ruby/date] [DOC] Make document coverage 100%
...
269392b775
2024-11-20 14:03:40 +00:00
Samuel Williams
3c0b09ac9e
Allow io_buffer_memmove
to release the GVL for large buffers. ( #12021 )
...
[Feature #20902 ]
2024-11-20 21:27:16 +13:00
git
682ff52e8f
Update bundled gems list as of 2024-11-20
2024-11-20 07:00:36 +00:00
Samuel Williams
9c268302bf
Introduce Fiber::Scheduler#blocking_operation_wait
. ( #12016 )
...
Redirect `rb_nogvl` blocking operations to the fiber scheduler if possible
to prevent stalling the event loop.
[Feature #20876 ]
2024-11-20 19:40:17 +13:00
Stan Lo
86b1c83857
Fix typos and grammar errors in kernel.rb
2024-11-20 11:04:54 +09:00
David Rodríguez
a208ac6f4b
Use webrick 1.9 in Bundler specs
2024-11-20 09:42:25 +09:00
David Rodríguez
a5709631a1
webrick is no longer needed in dev_gems.rb
gemfile
...
Since 3ae4358024ed4a8438aa14611b3b939b39cdd18b.
2024-11-20 09:42:10 +09:00
David Rodríguez
b56aacba78
[rubygems/rubygems] Define a few inspect
methods to help debugging
...
ad26ccde38
2024-11-19 16:50:04 +00:00
Andrew Nesbitt
0914da52e0
[rubygems/rubygems] Add man page for 'bundle fund' command
...
Signed-off-by: Andrew Nesbitt <andrewnez@gmail.com>
897819da36
2024-11-19 16:36:19 +00:00
tomoya ishida
cd7c6c66b4
[ruby/pp] Simplify range nil check
...
3e4b7c03b0
Co-authored-by: Nobuyoshi Nakada <nobu.nakada@gmail.com>
2024-11-19 14:52:01 +00:00
tompng
7b51b3c75b
[ruby/pp] Fix pretty printing range begin/end with false or nil
...
6d9c0f255a
2024-11-19 14:52:01 +00:00
Nobuyoshi Nakada
0de7e6ccb0
[ruby/pp] [DOC] Mark up the method name
...
e787cd9139
2024-11-19 14:43:33 +00:00
tomoya ishida
bc92379664
[ruby/irb] Don't use delegator to install helper methods to main
...
object
(https://github.com/ruby/irb/pull/1031 )
IRB used delegator to install command as a method of frozen main object.
Command is not a method now. We can drop it.
2f1c593801
2024-11-19 13:17:11 +00:00
Kouhei Yanagita
edf5a738a3
[ruby/irb] Complete the missing documentation abount the environment
...
variables
(https://github.com/ruby/irb/pull/1028 )
68f5cf0535
2024-11-19 13:13:20 +00:00
sodacris
dd473cec29
[rubygems/rubygems] Fix binstub test bug
...
the overwritten binstub in the test has a final new line that makes it
not match "OMG" exactly from the beginning, that's why the test passes,
but `bintubs` command without `--force` flag is not supposed to update
the binstub.
This change fixes the test to test what's supposed to update the
binstub, and also fixes the assertion that that it will fail in the
future if `--force` stops updating the binstub.
dfc9023337
2024-11-19 12:56:01 +00:00
Nobuyoshi Nakada
492b379b52
[ruby/pp] [DOC] Add documents
...
dbf177d0fc
2024-11-19 12:34:47 +00:00
git
aea38ef887
Update default gems list at 6dc3332650
[ci skip]
2024-11-19 11:52:55 +00:00
Stan Lo
6dc3332650
[ruby/rdoc] Bump version to v6.8.1
...
9a7ab17f40
2024-11-19 11:51:56 +00:00
Ihor Shevkun
39f421c9f1
[ruby/rdoc] Update rdoc.gemspec
...
(https://github.com/ruby/rdoc/pull/1211 )
10596827f0
2024-11-19 11:32:26 +00:00
Hiroshi SHIBATA
716ea630db
[ruby/net-http] Need to restore under the Net namespace
...
4650f86981
2024-11-19 09:19:16 +00:00
git
811dfa7cb7
Update bundled gems list as of 2024-11-19
2024-11-19 07:00:52 +00:00
git
f1c5c90da4
Update default gems list at da8c8743d5
[ci skip]
2024-11-19 05:48:38 +00:00
Hiroshi SHIBATA
da8c8743d5
[ruby/rdoc] Bump up v6.8.0
...
cf09b2ebb8
2024-11-19 05:47:37 +00:00
Shugo Maeda
7ed027a833
Remove deprecated method Refinement#refined_class
...
[Feature #20901 ]
2024-11-19 14:33:38 +09:00
Nobuyoshi Nakada
9c777f282f
[Bug #20900 ] Warn deprecated constant when removing
2024-11-19 12:43:38 +09:00
Nobuyoshi Nakada
727b2a2999
[ruby/digest] Fix -Wundef
warnings
...
0ea3ac9926
2024-11-19 03:42:43 +00:00
Hiroshi SHIBATA
b23c5063e8
[ruby/net-http] Restore HTTPSession constant for backward compatibility
...
37f17d29e0
2024-11-19 03:39:17 +00:00
Kouhei Yanagita
eb2b0c2a0d
[DOC] Fix the default limit
of String#split
...
We can't pass `nil` as the second parameter of `String#split`.
Therefore, descriptions like "if limit is nil, ..." are not appropriate.
2024-11-19 12:15:48 +09:00
David Rodríguez
519b233695
Test with sinatra to 4.1.0
2024-11-19 08:13:10 +09:00
Stan Lo
4a7ac694e5
Fix grammar errors and typos in gc.rb
2024-11-18 09:04:50 -06:00
Hiroshi SHIBATA
07bf784066
Don't need to call test-bundled-gems-fetch for bundled_gems_spec-run
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
d9a9d5a0c0
Move configuration to RSpec.configure
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
2dc8c48e09
Need to install all of dependency for bundler test suite
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
73614b6efe
Added PREPARE_BUNDLED_GEMS before bundled_gems_spec-run
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
0c8bd35ba4
Install zeitwerk at test-bundled-gems-prepare
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
ce580f4ae5
Fixed dependency of make test-bundled-gems
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
c17ab1eea0
Fixed required path with example location
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
1a416920f1
Load required helpers from bundler examples and invoke bundled_gems_spec.rb at test-bundled-gems
2024-11-18 20:46:07 +09:00
Hiroshi SHIBATA
df077a498e
Move spec directory from bundler examples
2024-11-18 20:46:07 +09:00
Stan Lo
ee0915feeb
[ruby/rdoc] Extract excerpt from raw pages correctly
...
(https://github.com/ruby/rdoc/pull/1200 )
Fixes https://bugs.ruby-lang.org/issues/20862
3c678249e2
2024-11-18 10:32:31 +00:00
Nobuyoshi Nakada
7b8db102be
win32/ifchange.bat: Remove code for old command.com
[ci skip]
2024-11-18 18:06:08 +09:00
Nobuyoshi Nakada
3fee7e7d38
win32/ifchange.bat: Discard useless message
...
When the destination does not exist, `del` needs to do nothing.
2024-11-18 18:05:49 +09:00
Nobuyoshi Nakada
d768b200ab
win32/setup.mak: Remove unnecessary quotes and adjust quoting style
2024-11-18 18:05:29 +09:00
Nobuyoshi Nakada
0f75ac8380
[ruby/digest] Adjust styles [ci skip]
...
- Use the C90 standard style for comments, since this gem supports
versions prior to ruby 2.7.
- Adjust the indentation.
4751402e50
2024-11-18 07:43:33 +00:00