Commit graph

14659 commits

Author SHA1 Message Date
David Rodríguez
6406ac4d70 [rubygems/rubygems] Try fix flaky failures on Windows
It seems same race condition, maybe some Ruby bug. Just hoping this
tweak may skip it.

29eb642026
2024-12-26 10:27:24 +09:00
Nobuyoshi Nakada
67d8a97d07 [ruby/rdoc] Separate patterns by --exclude option from defaults
(https://github.com/ruby/rdoc/pull/1251)

a7fdc730f3
2024-12-25 16:53:24 +00:00
Hiroshi SHIBATA
69bb296fa6 Support Ruby 3.5 for bundler platforms 2024-12-25 20:10:18 +09:00
Nobuyoshi Nakada
f72b94bdb6
[DOC] Fix duplicate entries
A tentative workaround for duplicate entries in "Class and Module
Index".
2024-12-25 11:37:37 +09:00
David Rodríguez
42026ec3da Fix bundled gems warning for sub feature locations 2024-12-24 12:07:54 +09:00
David Rodríguez
9e0eb9778d Merge RubyGems-3.6.2 and Bundler-2.6.2 2024-12-24 07:21:10 +09:00
David Rodríguez
3cbfd21916 Fix code location in bundled gems warnings 2024-12-23 16:01:30 +09:00
David Rodríguez
a51b5660dc Find uplevel for bundled gems warnings just once 2024-12-23 16:01:30 +09:00
Nobuyoshi Nakada
b19fcd02fa Use the dedicated constants LIBARG and LIBPATHFLAG 2024-12-23 11:52:14 +09:00
Julien Marrec
be7e5f1f85 Implements [Feature #3456]: Support pkgconf on windows
1. Store the `PKG_CONFIG` variable in Makefile.sub (or try to get it from the ENV var PKG_CONFIG in mkmf.rb)
2. Try to use --msvc-syntax, with a fallback to replacing -Lxxx with -libpath:xxx. --msvc-syntax has been in pkgconf since 1.4.0 (released 7 years ago). pkg-config (freedesktop), does not support it, hence the fallback.
3. The `try_ldflags` passes these `ldflags` as the `opt` parameter to the `link_command`, not as `ldflags`. Unix systems are forgiving in that regard, MSVC is not: as a result as passing them as `opt`, they (specifically the `/libpath:xxx` ones) end up passed before the `-link` command to `cl.exe` and it throws because it ignores it and therefore can't find the lib.

```
cl : Command line warning D9002 : ignoring unknown option '-libpath:C:/Users/julien/.conan2/p/libff3726d89a6255c/p/lib'
```
2024-12-23 11:52:14 +09:00
Hiroshi SHIBATA
0275cc0524 [ruby/logger] v1.6.4
216cedef7c
2024-12-19 13:16:56 +09:00
Nobuyoshi Nakada
d16b043cdd [ruby/logger] Use __FILE__ for wasm
`/dev/null` is not available on wasm.

4be05c2208
2024-12-19 13:16:50 +09:00
Stan Lo
bba66f94f2 [ruby/rdoc] Bump version to v6.10.0
2b79892ab4
2024-12-19 08:45:31 +09:00
James Reid-Smith
a920808c4b [ruby/rdoc] Auto-hide navigation on link click
(https://github.com/ruby/rdoc/pull/1238)

Hide navigation sidebar when clicking anchor links on mobile devices.
Previously, anchor links would change the page but the navigation
sidebar would block the view.

f12a96b7fa
2024-12-19 08:45:31 +09:00
Stan Lo
35ff04ce5e [ruby/irb] Bump version to v1.14.3
(https://github.com/ruby/irb/pull/1050)

49050f9bf3
2024-12-19 08:45:31 +09:00
David Rodríguez
b3abdd4cf4
Bump Rubygems version to 3.6.1 2024-12-18 10:05:21 +09:00
David Rodríguez
64b8e2da68
Bump Bundler version to 2.6.1 2024-12-18 10:05:21 +09:00
David Rodríguez
559e9fe990
Bump vendored securerandom to 0.4.1 2024-12-18 10:05:21 +09:00
David Rodríguez
b9ad8fa524
Bump vendored timeout to 0.4.3 2024-12-18 10:05:21 +09:00
Nobuyoshi Nakada
fef8ecc708 [ruby/rdoc] Enable cross reference in code
(https://github.com/ruby/rdoc/pull/1240)

Some people like to mark up method names in MarkDown style block
quotes, like this: ruby/ruby#12333.
Currently, no links are created in the code in the RDoc, but such
words most likely refer to methods.
This PR makes a word a code cross-reference if the whole word can be
resolved as a reference.

7d7efb0709
2024-12-17 21:48:31 +00:00
Soutaro Matsumoto
408f536890 [ruby/rdoc] aligns may include :center
(https://github.com/ruby/rdoc/pull/1247)

cbbf04d6f8
2024-12-17 20:56:24 +00:00
David Rodríguez
0b2f034208 [rubygems/rubygems] Fix missing Gem::Uri.redact on some Ruby 3.1 versions
Our CI did not catch this because it was testing with Ruby 3.1 patch
levels that include a RubyGems version that already has
`Gem::Uri.redact`.

We should make sure the system-rubygems workflow always tests against
the oldest supportted Ruby/RubyGems combination.

3b695e3be1
2024-12-17 17:28:18 +00:00
Hiroshi SHIBATA
fc38023d4e [ruby/tmpdir] Bump up v0.3.1
0245079c24
2024-12-17 06:47:52 +00:00
David Rodríguez
047a87bd7a
Bump Rubygems version to 3.6.0 2024-12-17 09:39:03 +09:00
David Rodríguez
11910b2606
Bump Bundler version to 2.6.0 2024-12-17 09:38:45 +09:00
David Rodríguez
d42fcda002
Bump vendored resolv to 0.6.0 2024-12-17 09:22:17 +09:00
Stan Lo
5ff1c479d6 Sync net-http commits
9bcf818fd0
5e34e74261
2024-12-16 13:00:49 -08:00
Stan Lo
cf711863cb Exclude irb from documentation generation
- IRB has its own documentation in the project readme and https://ruby.github.io/irb/ already.
- As a tool, its internal implementation details are not relevant to the user.
- Excluding it from the documentation generation reduces the size of the generated documentation
  and makes search results more relevant.

I also checked the there are no references to IRB so it should not break any links.
2024-12-16 11:55:33 -08:00
David Rodríguez
29d3ea1e84 [rubygems/rubygems] Fix bundle lock --add-checksums when gems are already installed
a087c452ad
2024-12-16 19:51:16 +00:00
Stan Lo
a6fd6cb72f [ruby/rdoc] Print warnings for rdoc-ref links that can't be resolved
(https://github.com/ruby/rdoc/pull/1241)

4a5206ae56
2024-12-16 19:35:00 +00:00
David Rodríguez
d0968b1b4c [rubygems/rubygems] Fix gem info tagging some non default gems as default
7585825c57
2024-12-16 18:09:54 +00:00
Mari Imaizumi
9b3831e908 [ruby/reline] Bump version to 0.6.0
(https://github.com/ruby/reline/pull/795)

e0850cd5ba
2024-12-16 17:10:27 +00:00
Kevin Newton
8eaa976cbe [ruby/prism] Fix up regression in ruby parser translation
b283a72c88
2024-12-16 10:51:22 -05:00
Kevin Newton
2ab1b07b84 [ruby/prism] Simplify srange_find in parser compiler
34efacc618
2024-12-16 10:51:22 -05:00
Kevin Newton
cc967a470b [ruby/prism] Add do keyword tracking for While/Until
9686897290
2024-12-16 10:51:22 -05:00
Kevin Newton
737d674120 [ruby/prism] Bump to v1.2.0
817a8e39d9
2024-12-16 10:51:22 -05:00
Kevin Newton
4931220cbf [ruby/prism] Bump to v1.1.0
f80026883d
2024-12-16 10:51:22 -05:00
Nobuyoshi Nakada
a46fe5c807 [ruby/rdoc] Fix to parse rb_define_global_const
https://github.com/ruby/ruby/pull/12357

458ecbb7f7
2024-12-16 14:55:39 +00:00
tomoya ishida
4428c51f01 [ruby/reline] Change quoted_insert and bracketed_paste to a single
key input
(https://github.com/ruby/reline/pull/792)

8f331edb07
2024-12-16 13:53:34 +00:00
Stan Lo
9e7e938ed9 [ruby/rdoc] Bump version to v6.9.1
7cd125e2f0
2024-12-16 12:49:17 +00:00
Nobuyoshi Nakada
946c823ddb Freeze Random::Formatter::ALPHANUMERIC and its elements 2024-12-16 20:54:40 +09:00
tomoya ishida
784bd9c42e [ruby/rdoc] Add attribute :force to RDoc::RubygemsHook just like
RDoc::RubyGemsHook
(https://github.com/ruby/rdoc/pull/1244)

Rubygems creates an instance of RDoc::RubygemsHook, sets `doc.force = overwrite`, then calls `doc.generate` the document.
RDoc::RubygemsHook needs attribute `:force` just like RDoc::RubyGemsHook.

01bdbcdd4d
2024-12-16 11:32:43 +00:00
Nobuyoshi Nakada
a3991599fa [ruby/tmpdir] Move private constants under Dir::Tmpname module
Including `TMPDIR_CANDIDATES` extracted from `Dir.tmpdir` invariant.

d219ee273f
2024-12-16 10:28:10 +00:00
Nobuyoshi Nakada
0769a48a21 [ruby/tmpdir] Tell if the block is given by block argument
6e97a96d3b
2024-12-16 10:13:45 +00:00
Nobuyoshi Nakada
bf0f323907 [ruby/tmpdir] Fix for path-like objects
Fix https://github.com/ruby/tmpdir/pull/37

a8ceafae7d
2024-12-16 09:40:01 +00:00
Hiroshi SHIBATA
89d3b72488 [ruby/securerandom] Bump up v0.4.1
65fb8ddcc3
2024-12-16 05:43:01 +00:00
Hiroshi SHIBATA
7923e420c4 [ruby/securerandom] Only define compatible method in < Ruby 3.3
2c8cdfba7b
2024-12-16 05:35:47 +00:00
Hiroshi SHIBATA
3a4433dddd [ruby/securerandom] Restore SecureRandom.alphanumeric same as Random::Formatter.alphanumeric of Ruby 3.3/3.4
Fixes https://github.com/ruby/securerandom/pull/35

fbb36e36cc
2024-12-16 05:35:47 +00:00
Hiroshi SHIBATA
2f315667eb [ruby/timeout] Bump up v0.4.3
607d8c6fbe
2024-12-16 03:53:22 +00:00
Stan Lo
16b84b72a4 [rubygems/rubygems] Fix broken link to license file
76cb4aad70
2024-12-15 18:46:51 +00:00