Skip to content

Commit 3db9633

Browse files
authored
Merge pull request #2818 from ruby/bundle-update-20260120-ca6048cc
bundle update (2026-01-20)
2 parents af52adc + edc4741 commit 3db9633

File tree

14 files changed

+73
-71
lines changed

14 files changed

+73
-71
lines changed

Gemfile.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ GEM
6363
bigdecimal (>= 3.1, < 5)
6464
language_server-protocol (3.17.0.5)
6565
lint_roller (1.1.0)
66-
listen (3.9.0)
66+
listen (3.10.0)
67+
logger
6768
rb-fsevent (~> 0.10, >= 0.10.3)
6869
rb-inotify (~> 0.9, >= 0.9.10)
6970
logger (1.7.0)
@@ -84,14 +85,14 @@ GEM
8485
racc (~> 1.4)
8586
ostruct (0.6.3)
8687
parallel (1.27.0)
87-
parser (3.3.10.0)
88+
parser (3.3.10.1)
8889
ast (~> 2.4.1)
8990
racc
9091
power_assert (3.0.1)
9192
pp (0.6.3)
9293
prettyprint
9394
prettyprint (0.2.0)
94-
prism (1.7.0)
95+
prism (1.8.0)
9596
pstore (0.2.0)
9697
psych (4.0.6)
9798
stringio
@@ -107,7 +108,7 @@ GEM
107108
rb-fsevent (0.11.2)
108109
rb-inotify (0.11.1)
109110
ffi (~> 1.0)
110-
rdoc (7.0.3)
111+
rdoc (7.1.0)
111112
erb
112113
psych (>= 4.0.0)
113114
tsort
@@ -141,7 +142,7 @@ GEM
141142
rubocop-ast (1.49.0)
142143
parser (>= 3.3.7.2)
143144
prism (~> 1.7)
144-
rubocop-on-rbs (1.8.0)
145+
rubocop-on-rbs (1.9.0)
145146
lint_roller (~> 1.1)
146147
rbs (~> 3.5)
147148
rubocop (>= 1.72.1, < 2.0)

core/complex.rbs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ class Complex < Numeric
740740
# Complex.rect(1, Rational(0, 1)).to_f # => 1.0
741741
#
742742
# Raises RangeError if `self.imag` is not exactly zero (either `Integer(0)` or
743-
# `Rational(0, *n*)`).
743+
# `Rational(0, _n_)`).
744744
#
745745
def to_f: () -> Float
746746

@@ -754,7 +754,7 @@ class Complex < Numeric
754754
# Complex.rect(1, Rational(0, 1)).to_i # => 1
755755
#
756756
# Raises RangeError if `self.imag` is not exactly zero (either `Integer(0)` or
757-
# `Rational(0, *n*)`).
757+
# `Rational(0, _n_)`).
758758
#
759759
def to_i: () -> Integer
760760

@@ -769,7 +769,7 @@ class Complex < Numeric
769769
# Complex.rect(1, 0.0).to_r # => (1/1)
770770
#
771771
# Raises RangeError if `self.imag` is not exactly zero (either `Integer(0)` or
772-
# `Rational(0, *n*)`) and `self.imag.to_r` is not exactly zero.
772+
# `Rational(0, _n_)`) and `self.imag.to_r` is not exactly zero.
773773
#
774774
# Related: Complex#rationalize.
775775
#

core/dir.rbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,14 +567,14 @@ class Dir
567567
#
568568
# Dir.glob('io.?') # => ["io.c"]
569569
#
570-
# * `'[*set*]'`: Matches any one character in the string *set*; behaves like a
570+
# * `'[_set_]'`: Matches any one character in the string *set*; behaves like a
571571
# [Regexp character class](rdoc-ref:Regexp@Character+Classes), including set
572572
# negation (`'[^a-z]'`):
573573
#
574574
# Dir.glob('*.[a-z][a-z]').take(3)
575575
# # => ["CONTRIBUTING.md", "COPYING.ja", "KNOWNBUGS.rb"]
576576
#
577-
# * `'{*abc*,*xyz*}'`: Matches either string *abc* or string *xyz*; behaves
577+
# * `'{_abc_,_xyz_}'`: Matches either string *abc* or string *xyz*; behaves
578578
# like [Regexp alternation](rdoc-ref:Regexp@Alternation):
579579
#
580580
# Dir.glob('{LEGAL,BSDL}') # => ["LEGAL", "BSDL"]
@@ -631,9 +631,9 @@ class Dir
631631
# Dir.glob('*', flags: File::FNM_DOTMATCH).take(5)
632632
# # => [".", ".appveyor.yml", ".cirrus.yml", ".dir-locals.el", ".document"]
633633
#
634-
# * File::FNM_EXTGLOB: enables the pattern extension `'{*a*,*b*}'`, which
634+
# * File::FNM_EXTGLOB: enables the pattern extension `'{_a_,_b_}'`, which
635635
# matches pattern *a* and pattern *b*; behaves like a [regexp
636-
# union](rdoc-ref:Regexp.union) (e.g., `'(?:*a*|*b*)'`):
636+
# union](rdoc-ref:Regexp.union) (e.g., `'(?:_a_|_b_)'`):
637637
#
638638
# pattern = '{LEGAL,BSDL}'
639639
# Dir.glob(pattern) # => ["LEGAL", "BSDL"]

core/enumerable.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,7 @@ module Enumerable[unchecked out Elem] : _Each[Elem]
23142314
# Creates an enumerator for each chunked elements. The ends of chunks are
23152315
# defined by *pattern* and the block.
23162316
#
2317-
# If *`pattern* === *elt`* returns `true` or the block returns `true` for the
2317+
# If `_pattern_ === _elt_` returns `true` or the block returns `true` for the
23182318
# element, the element is end of a chunk.
23192319
#
23202320
# The `===` and *block* is called from the first element to the last element of

core/file.rbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,9 +2239,9 @@ File::Separator: String
22392239
#
22402240
# #### File::FNM_EXTGLOB
22412241
#
2242-
# Flag File::FNM_EXTGLOB enables pattern `'{*a*,*b*}'`, which matches pattern
2242+
# Flag File::FNM_EXTGLOB enables pattern `'{_a_,_b_}'`, which matches pattern
22432243
# '*a*' and pattern '*b*'; behaves like a [regexp union](rdoc-ref:Regexp.union)
2244-
# (e.g., `'(?:*a*|*b*)'`):
2244+
# (e.g., `'(?:_a_|_b_)'`):
22452245
#
22462246
# pattern = '{LEGAL,BSDL}'
22472247
# Dir.glob(pattern) # => ["LEGAL", "BSDL"]

core/kernel.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
#
103103
# ### Subprocesses
104104
#
105-
# * [\`command`](rdoc-ref:Kernel#`): Returns the standard output of running
105+
# * [`command`](rdoc-ref:Kernel#`): Returns the standard output of running
106106
# `command` in a subshell.
107107
# * #exec: Replaces current process with a new process.
108108
# * #fork: Forks the current process into two processes.

core/process.rbs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@
257257
#
258258
# Use execution options to set resource limits.
259259
#
260-
# The keys for these options are symbols of the form `:rlimit_*resource_name`*,
261-
# where *resource_name* is the downcased form of one of the string resource
262-
# names described at method Process.setrlimit. For example, key `:rlimit_cpu`
263-
# corresponds to resource limit `'CPU'`.
260+
# The keys for these options are symbols of the form
261+
# `:rlimit_<i>resource_name</i>`, where *resource_name* is the downcased form of
262+
# one of the string resource names described at method Process.setrlimit. For
263+
# example, key `:rlimit_cpu` corresponds to resource limit `'CPU'`.
264264
#
265265
# The value for such as key is one of:
266266
#

core/regexp.rbs

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -414,26 +414,26 @@
414414
#
415415
# Lookahead anchors:
416416
#
417-
# * `(?=*pat*)`: Positive lookahead assertion: ensures that the following
417+
# * `(?=_pat_)`: Positive lookahead assertion: ensures that the following
418418
# characters match *pat*, but doesn't include those characters in the
419419
# matched substring.
420420
#
421-
# * `(?!*pat*)`: Negative lookahead assertion: ensures that the following
421+
# * `(?!_pat_)`: Negative lookahead assertion: ensures that the following
422422
# characters *do not* match *pat*, but doesn't include those characters in
423423
# the matched substring.
424424
#
425425
# Lookbehind anchors:
426426
#
427-
# * `(?<=*pat*)`: Positive lookbehind assertion: ensures that the preceding
427+
# * `(?<=_pat_)`: Positive lookbehind assertion: ensures that the preceding
428428
# characters match *pat*, but doesn't include those characters in the
429429
# matched substring.
430430
#
431-
# * `(?<!*pat*)`: Negative lookbehind assertion: ensures that the preceding
431+
# * `(?<!_pat_)`: Negative lookbehind assertion: ensures that the preceding
432432
# characters do not match *pat*, but doesn't include those characters in the
433433
# matched substring.
434434
#
435435
# The pattern below uses positive lookahead and positive lookbehind to match
436-
# text appearing in **...** tags without including the tags in the match:
436+
# text appearing in `<b>`...`</b>` tags without including the tags in the match:
437437
#
438438
# /(?<=<b>)\w+(?=<\/b>)/.match("Fortune favors the <b>bold</b>.")
439439
# # => #<MatchData "bold">
@@ -577,7 +577,7 @@
577577
# re.match('1943-02-04').size # => 1
578578
# re.match('foo') # => nil
579579
#
580-
# Adding one or more pairs of parentheses, `(*subexpression*)`, defines
580+
# Adding one or more pairs of parentheses, `(_subexpression_)`, defines
581581
# *groups*, which may result in multiple matched substrings, called *captures*:
582582
#
583583
# re = /(\d\d\d\d)-(\d\d)-(\d\d)/
@@ -649,8 +649,8 @@
649649
#
650650
# * For a large number of groups:
651651
#
652-
# * The ordinary `\*n`* notation applies only for *n* in range (1..9).
653-
# * The `MatchData[*n*]` notation applies for any non-negative *n*.
652+
# * The ordinary `\_n_` notation applies only for *n* in range (1..9).
653+
# * The `MatchData[_n_]` notation applies for any non-negative *n*.
654654
#
655655
# * `\0` is a special backreference, referring to the entire matched string;
656656
# it may not be used within the regexp itself, but may be used outside it
@@ -662,7 +662,7 @@
662662
# #### Named Captures
663663
#
664664
# As seen above, a capture can be referred to by its number. A capture can also
665-
# have a name, prefixed as `?<*name*>` or `?'*name*'`, and the name (symbolized)
665+
# have a name, prefixed as `?<_name_>` or `?'_name_'`, and the name (symbolized)
666666
# may be used as an index in `MatchData[]`:
667667
#
668668
# md = /\$(?<dollars>\d+)\.(?'cents'\d+)/.match("$3.67")
@@ -677,7 +677,7 @@
677677
# /\$(?<dollars>\d+)\.(\d+)/.match("$3.67")
678678
# # => #<MatchData "$3.67" dollars:"3">
679679
#
680-
# A named group may be backreferenced as `\k<*name*>`:
680+
# A named group may be backreferenced as `\k<_name_>`:
681681
#
682682
# /(?<vowel>[aeiou]).\k<vowel>.\k<vowel>/.match('ototomy')
683683
# # => #<MatchData "ototo" vowel:"o">
@@ -733,9 +733,9 @@
733733
#
734734
# #### Subexpression Calls
735735
#
736-
# As seen above, a backreference number (`\*n`*) or name (`\k<*name*>`) gives
736+
# As seen above, a backreference number (`\_n_`) or name (`\k<_name_>`) gives
737737
# access to a captured *substring*; the corresponding regexp *subexpression* may
738-
# also be accessed, via the number (`\\g*n`*) or name (`\g<*name*>`):
738+
# also be accessed, via the number (`\\g<i>n</i>`) or name (`\g<_name_>`):
739739
#
740740
# /\A(?<paren>\(\g<paren>*\))*\z/.match('(())')
741741
# # ^1
@@ -770,12 +770,12 @@
770770
#
771771
# #### Conditionals
772772
#
773-
# The conditional construct takes the form `(?(*cond*)*yes*|*no*)`, where:
773+
# The conditional construct takes the form `(?(_cond_)_yes_|_no_)`, where:
774774
#
775775
# * *cond* may be a capture number or name.
776776
# * The match to be applied is *yes* if *cond* is captured; otherwise the
777777
# match to be applied is *no*.
778-
# * If not needed, `|*no`* may be omitted.
778+
# * If not needed, `|_no_` may be omitted.
779779
#
780780
# Examples:
781781
#
@@ -804,7 +804,7 @@
804804
#
805805
# #### Unicode Properties
806806
#
807-
# The `/\p{*property_name*}/` construct (with lowercase `p`) matches characters
807+
# The `/\p{_property_name_}/` construct (with lowercase `p`) matches characters
808808
# using a Unicode property name, much like a character class; property `Alpha`
809809
# specifies alphabetic characters:
810810
#
@@ -1038,21 +1038,21 @@
10381038
#
10391039
# Each of these modifiers sets a mode for the regexp:
10401040
#
1041-
# * `i`: `/*pattern*/i` sets [Case-Insensitive
1041+
# * `i`: `/_pattern_/i` sets [Case-Insensitive
10421042
# Mode](rdoc-ref:Regexp@Case-Insensitive+Mode).
1043-
# * `m`: `/*pattern*/m` sets [Multiline Mode](rdoc-ref:Regexp@Multiline+Mode).
1044-
# * `x`: `/*pattern*/x` sets [Extended Mode](rdoc-ref:Regexp@Extended+Mode).
1045-
# * `o`: `/*pattern*/o` sets [Interpolation
1043+
# * `m`: `/_pattern_/m` sets [Multiline Mode](rdoc-ref:Regexp@Multiline+Mode).
1044+
# * `x`: `/_pattern_/x` sets [Extended Mode](rdoc-ref:Regexp@Extended+Mode).
1045+
# * `o`: `/_pattern_/o` sets [Interpolation
10461046
# Mode](rdoc-ref:Regexp@Interpolation+Mode).
10471047
#
10481048
# Any, all, or none of these may be applied.
10491049
#
10501050
# Modifiers `i`, `m`, and `x` may be applied to subexpressions:
10511051
#
1052-
# * `(?*modifier*)` turns the mode "on" for ensuing subexpressions
1053-
# * `(?-*modifier*)` turns the mode "off" for ensuing subexpressions
1054-
# * `(?*modifier*:*subexp*)` turns the mode "on" for *subexp* within the group
1055-
# * `(?-*modifier*:*subexp*)` turns the mode "off" for *subexp* within the
1052+
# * `(?_modifier_)` turns the mode "on" for ensuing subexpressions
1053+
# * `(?-_modifier_)` turns the mode "off" for ensuing subexpressions
1054+
# * `(?_modifier_:_subexp_)` turns the mode "on" for *subexp* within the group
1055+
# * `(?-_modifier_:_subexp_)` turns the mode "off" for *subexp* within the
10561056
# group
10571057
#
10581058
# Example:
@@ -1168,22 +1168,22 @@
11681168
# A regular expression containing non-US-ASCII characters is assumed to use the
11691169
# source encoding. This can be overridden with one of the following modifiers.
11701170
#
1171-
# * `/*pat*/n`: US-ASCII if only containing US-ASCII characters, otherwise
1171+
# * `/_pat_/n`: US-ASCII if only containing US-ASCII characters, otherwise
11721172
# ASCII-8BIT:
11731173
#
11741174
# /foo/n.encoding # => #<Encoding:US-ASCII>
11751175
# /foo\xff/n.encoding # => #<Encoding:ASCII-8BIT>
11761176
# /foo\x7f/n.encoding # => #<Encoding:US-ASCII>
11771177
#
1178-
# * `/*pat*/u`: UTF-8
1178+
# * `/_pat_/u`: UTF-8
11791179
#
11801180
# /foo/u.encoding # => #<Encoding:UTF-8>
11811181
#
1182-
# * `/*pat*/e`: EUC-JP
1182+
# * `/_pat_/e`: EUC-JP
11831183
#
11841184
# /foo/e.encoding # => #<Encoding:EUC-JP>
11851185
#
1186-
# * `/*pat*/s`: Windows-31J
1186+
# * `/_pat_/s`: Windows-31J
11871187
#
11881188
# /foo/s.encoding # => #<Encoding:Windows-31J>
11891189
#
@@ -1926,7 +1926,7 @@ class Regexp
19261926
# rdoc-file=re.c
19271927
# - ~ rxp -> integer or nil
19281928
# -->
1929-
# Equivalent to *`rxp* =~ $_`:
1929+
# Equivalent to `<i>rxp</i> =~ $_`:
19301930
#
19311931
# $_ = "input data"
19321932
# ~ /at/ # => 7

core/string.rbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
# * `\&` and `\0` correspond to `$&`, which contains the complete matched
8787
# text.
8888
# * `\'` corresponds to `$'`, which contains the string after the match.
89-
# * `\`` corresponds to `$``, which contains the string before the match.
89+
# * ``` corresponds to `$``, which contains the string before the match.
9090
# * `\+` corresponds to `$+`, which contains the last capture group.
9191
#
9292
# See Regexp for details.
@@ -559,7 +559,7 @@
559559
# * `\&` and `\0` correspond to `$&`, which contains the complete matched
560560
# text.
561561
# * `\'` corresponds to `$'`, which contains the string after the match.
562-
# * `\`` corresponds to `$``, which contains the string before the match.
562+
# * ``` corresponds to `$``, which contains the string before the match.
563563
# * `\+` corresponds to `$+`, which contains the last capture group.
564564
#
565565
# See Regexp for details.

core/struct.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class Struct[Elem]
133133
# **Class Name**
134134
#
135135
# With string argument `class_name`, returns a new subclass of `Struct` named
136-
# `Struct::*class_name`*:
136+
# `Struct::<em>class_name</em>`:
137137
#
138138
# Foo = Struct.new('Foo', :foo, :bar) # => Struct::Foo
139139
# Foo.name # => "Struct::Foo"

0 commit comments

Comments
 (0)