[pull] master from ruby:master - #1373
Merged
Merged
Conversation
… symbol In strict mode, a Symbol whose name is not UTF-8 compatible was passed to generate_json_string, which handed the as_json result to raw_generate_json_string without checking its type. A non-String result was then read as a String, segfaulting the process. Route strict symbols through the T_STRING case of generate_json_general so they reuse its as_json handling. That re-dispatches the result by type, and its as_json_called flag stops a symbol returned by as_json from recursing. ruby/json@2d73e6bdfe Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
README-bundler.md duplicated the supporting, conduct, contributing and getting-help sections of README.md, and no prose document linked to it. LICENSE-bundler.md carried the same MIT text as MIT.txt, differing only in wrap width and quote style. Move Bundler's description and usage example into README.md, credit Bundler's copyright holders in MIT.txt, and ship MIT.txt in the bundler gem in place of the two removed files. ruby/rubygems@292aae49b4 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Since the base `string` is a valid encoding, there should be no other invalid sequences in `sliced`. ruby/rubygems@c240193553
Operations on an already open file are faster and safer than those based on the path name. ruby/rubygems@f449acaa49
A UTF-8 replacement makes String#scrub! raise Encoding::CompatibilityError on an ASCII-incompatible receiver such as UTF-16LE, where the loop trimmed the tail fine. It is also slower than the loop for the common case of an ASCII name that needs no truncation. ruby/rubygems@5e1eb084d6 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
[Feature #22238]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )