Commit a27f303
[ruby/rubygems] Normalize host comparison in attestation_supported_host?
The method compared against a hardcoded string, so a trailing slash
(e.g. "https://rubygems.org/") would cause auto-attestation to be
silently skipped. Now we chomp the trailing slash and compare against
Gem::DEFAULT_HOST to be consistent with the rest of the codebase.
ruby/rubygems@a4fa24c8cf
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b9358e9 commit a27f303
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
0 commit comments