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

88641 Коммитов

Автор SHA1 Сообщение Дата
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

https://github.com/ruby/rdoc/commit/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.

https://github.com/ruby/digest/commit/4751402e50
2024-11-18 07:43:33 +00:00
Hiroshi SHIBATA 7407aa51ea Don't use Spec::Path.base_system_gem_path 2024-11-18 15:48:20 +09:00
Hiroshi SHIBATA 498c960a12 Install zeitwerk without bundle install 2024-11-18 15:48:20 +09:00
Yuta Saito 29fdb73c5b [ruby/digest] Fix loading of digest ext libraries with `--with-static-linked-ext`
`rb_ext_resolve_symbol` is not always available on some platforms
including WASI, and we don't need to use it when the extension is built
as a static library. This commit prefers to use `rb_digest_wrap_metadata`
directly when the extension is built as a static library to avoid the
unnecessary use of `rb_ext_resolve_symbol`.

https://github.com/ruby/digest/commit/f8ff014622
2024-11-18 04:34:40 +00:00
git 57daed5ec5 Update default gems list at 572eebf603 [ci skip] 2024-11-18 04:29:47 +00:00
Hiroshi SHIBATA 572eebf603 [ruby/tempfile] Bump up v0.3.1
https://github.com/ruby/tempfile/commit/297bdf2c8d
2024-11-18 04:28:47 +00:00
Yuta Saito 6c142d05fa [ruby/tempfile] Stop using `IO::NULL` for feature detection
`IO::NULL`'s underlying file `/dev/null` is not always available on
WASI, so use of the file on top-level code (introduced in
https://github.com/ruby/tempfile/pull/36) causes tempfile library not
to work at all on WASI.

https://github.com/ruby/tempfile/commit/d50939890e
2024-11-18 04:19:40 +00:00
git 62007415c4 Update default gems list at 9c6217fd05 [ci skip] 2024-11-18 03:24:06 +00:00
Jean Boussier 9c6217fd05 [ruby/json] Fix the BEWARE documentation in `load` and `unsafe_load`.
https://github.com/ruby/json/commit/2d62ec449f
2024-11-18 04:23:18 +01:00
Jean Boussier f3e17a84f4 [ruby/json] Release 2.8.2
https://github.com/ruby/json/commit/d5e4a6e3fd
2024-11-18 04:23:18 +01:00
razokulover 62e1469e8b [ruby/json] Fix redundant to_str call
https://github.com/ruby/json/commit/61f022dfbd
2024-11-18 04:23:18 +01:00
Nobuyoshi Nakada 8fe8021f5a
Win32: Expose wchar main routine only
Warned if both of `main` and `wmain` are exposed:
```
LINK : warning LNK4067: ambiguous entry point; selected 'mainCRTStartup'
```
2024-11-17 22:49:16 +09:00
Nobuyoshi Nakada 36d02dc33e
Fix format modifier for `size_t`
Also fix the message, just `RB_GC_MAX_NAME_LEN` chars long is OK.
2024-11-17 22:45:07 +09:00
Nobuyoshi Nakada c129e01125
Make `rb_ec_set_vm_stack` conformant to the C++11 requirement
Https://learn.microsoft.com/en-us/cpp/build/reference/zc-inline-remove-unreferenced-comdat?view=msvc-140
> If `/Zc:inline` is specified, the compiler enforces the C++11
> requirement that all functions declared inline must have a definition
> available in the same translation unit if they're used.
2024-11-17 19:56:02 +09:00
Nobuyoshi Nakada a6fe3feacd
Win32: Remove unreferenced COMDAT from object files
Windows 11 SDK Version 10.0.26100.0 introduced a new internal inline
function in ucrt/corecrt_math.h.  Even it appears in object files and
will be included in the DEF file, it will be removed from the DLL and
result in a linker error.
2024-11-17 19:29:16 +09:00
Nobuyoshi Nakada 6588cc4e29
Workaround for VC 19.42.34433 again
Prefix underscore is already removed here.
2024-11-17 10:54:20 +09:00
Misaki Shioi 3c30af77fe
Fix stack-use-after-return (#12105)
http://ci.rvm.jp/results/trunk_asan@ruby-sp1/5409001

```
=================================================================
==3263562==ERROR: AddressSanitizer: stack-use-after-return on address 0x735a8f190da8 at pc 0x735a6f58dabc bp 0x735a639ffd10 sp 0x735a639ffd08
READ of size 4 at 0x735a8f190da8 thread T211
=================================================================
```
2024-11-17 10:36:33 +09:00
Nobuyoshi Nakada bc409f3fe3
Workaround for VC 19.42.34433
Suddenly it began to add `_ucrt_int_to_float` by the recent version.
2024-11-17 00:05:38 +09:00
Nobuyoshi Nakada 7be4c0a88d
mkexports.rb: Revert removed flip-flop
This reverts commit 63ae1e3cb5.
2024-11-16 22:46:26 +09:00
HoneyryderChuck 002438767d [ruby/io-nonblock] mark extension as ractor safe
https://github.com/ruby/io-nonblock/commit/ba445b37d5
2024-11-16 04:18:14 +00:00
git 421fecbbfa Update default gems list at 2a0f8d62b6 [ci skip] 2024-11-15 16:10:30 +00:00
Schneems 2a0f8d62b6 [ruby/syntax_suggest] v2.0.2
https://github.com/ruby/syntax_suggest/commit/e99b5ba287
2024-11-15 16:09:30 +00:00
Schneems 3a547e2539 [ruby/syntax_suggest] Explain why class exists
https://github.com/ruby/syntax_suggest/commit/8c36b0cb35
2024-11-15 16:06:25 +00:00
Schneems 03a77c03eb [ruby/syntax_suggest] Fix spelling
https://github.com/ruby/syntax_suggest/commit/9c78283363
2024-11-15 16:06:24 +00:00
Schneems 7969f6791f [ruby/syntax_suggest] Freeze strings
https://github.com/ruby/syntax_suggest/commit/b17bf0baca
2024-11-15 16:06:24 +00:00
Nobuyoshi Nakada ed4871afed
Update `rubyarchdir` and `rubylibdir` as well for tests
These are also different between build time and after installation.
2024-11-15 18:28:16 +09:00
Misaki Shioi 84470d72c5
Disable HEv2 tests temporarily (#12097)
* Disable HEv2 tests temporarily

To suppress error log output in CI.
They should have been DISABLE in PR #12070.

---

Additionally, the following fixes have been made:

- Remove unnecessary `assert_separately` from the related tests
2024-11-15 18:12:37 +09:00
git 31741719ae * append newline at EOF. [ci skip] 2024-11-15 08:50:34 +00:00
Hiroshi SHIBATA a6f25023ac Port test_warn_zeitwerk.rb to RSpec example 2024-11-15 17:50:24 +09:00
Hiroshi SHIBATA 5bd0dfbf2e Port test_warn_bootsnap_and_gem.rb to RSpec example 2024-11-15 17:50:24 +09:00
Hiroshi SHIBATA 5395afd422 Port test_warn_bootsnap_rubyarchdir_gem.rb to RSpec example 2024-11-15 17:50:24 +09:00
Hiroshi SHIBATA 0afd77d76a Port test_warn_bootsnap.rb to RSpec example 2024-11-15 17:50:24 +09:00
Nobuyoshi Nakada b4d8e90c2a
`rb_bug` prints a newline after the given message [ci skip] 2024-11-15 14:52:31 +09:00
Hiroshi SHIBATA b45f7a54af Find .ext/common path from LOAD_PATH for out-of-place build 2024-11-15 14:04:19 +09:00
Hiroshi SHIBATA 8dccf5a334 Port test_no_warn_sub_feature.rb to RSpec example 2024-11-15 14:04:19 +09:00