Use String#encode(universal_newline:) for line-ending normalization
The universal newline decorator states the intent more clearly than a regexp substitution and also folds a lone CR.
Fix mk_builtin_loader.rb for CRLF source checkouts
dump_ast reports prism byte offsets against the raw file bytes, which are authoritative, but the loader read the source in text mode, so on Windows a CRLF checkout shifted every offset and produced wrong line...
ZJIT: Share getivar and setivar dispatch
ZJIT: Optimize polymorphic setivar
[ruby/rubygems] Preserve the locked Bundler checksum when the gem isn't cached
bundler_checksum recomputed the Bundler self-checksum from the locally cached gem on every lockfile write and emitted nothing when that gem was absent. As a result an existing bundler (x.y.z) sha256=... entry was...
bundler_checksum
bundler (x.y.z) sha256=...
Suppress C99 mode warnings
Make __VA_ARGS__ check mandatory
__VA_ARGS__
Since we already require C99 compilers, and autoconf 2.67 or later. __VA_ARGS__ is always available.
Replace separators only if it is necessary
Update default gems list at 9fd5efe9ca5db06b59e3345053abea [ci skip]
[ruby/json] Release 2.21.1
https://github.com/ruby/json/commit/fd61def38b
View all revisions | View revisions
Also available in: Atom