[pull] master from ruby:master - #1372
Merged
Merged
Conversation
nmake does not join a `{$(VPATH)}target` line and a bare `target` line
into a single node, so the prerequisites declared on the braced lines
never fired. An out-of-place mswin build kept using a probes.dmyh
generated before gc__xcalloc was added to probes.d and gc.c failed to
compile with RUBY_DTRACE_GC_XCALLOC undefined. parse.c had the same
problem with its id.h prerequisite. GNU make is unaffected since
tool/prereq.status strips the braces for uncommon.mk.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…wn parsing Time.iso8601 accepts a year of any length. A far enough year makes the distance from now overflow to Float Infinity, and ceil then raises FloatDomainError while the cooldown summary is built after a successful resolve, aborting install, update, lock and outdated in both front ends. Such a timestamp is now treated as no publish time, the same as a missing created_at. ruby/rubygems@af9cd431d7 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
`load_gemspec` changed into the gemspec's directory and then passed the still-relative path to `Gem::StubSpecification.gemspec_stub`, which reads it while that chdir is active, so a relative path resolved one directory too deep. Expanding once up front keeps the absolute-path requirement in the code instead of relying on every caller to satisfy it. ruby/rubygems@3d19c765b1 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
`validate_name!` only compared the name with its `File.basename`, which lets `.`, `..`, the empty string and names containing NUL through. Those resolve `info/..` to the index root on the remote side, and NUL escaped as an ArgumentError instead of the Gem::Exception callers handle. ruby/rubygems@6d3b6dc6c1 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…h after 416 The retry after Range Not Satisfiable removed only the Range header. When the oversized local cache still matched the remote ETag, the retry came back as 304 and the corrupt cache file was kept forever. ruby/rubygems@a94646bf62 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…tch errors A 204 No Content passed the HTTPSuccess branch and the updater wrote its nil body into the cache, truncating the cached versions or info file to zero bytes. ruby/rubygems@0b41d83470 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Gem::RemoteFetcher already prefers the X-Error-Message header over the status text, so the block reason a corporate proxy sends was lost only on the compact index path. ruby/rubygems@96bcc78924 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…he compact index `uri + location` drops the userinfo when Location is an absolute URL, so a private index redirecting to another path on the same host lost the credentials and the follow-up request failed authentication. Bundler's downloader already re-applies them; cross-host redirects still drop them. ruby/rubygems@2e8ffc65b6 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…als_for With `credential_store` enabled, `Settings#set_key` moves host credentials out of the config file and into the OS store, but `GitProxy#configured_uri` still read `Bundler.settings[host]`, which only sees the config file. Private git sources were cloned without credentials and failed. `credentials_for` already covers env, store and config file lookups for rubygems sources, so use it here too. ruby/rubygems@30a2491864 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…t personal emails Match the layout of rubygems-update.gemspec: authors sorted by first commit date, oldest first, and one personal address per author with an empty string where none is known. ruby/rubygems@198d88f544 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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 : )