Commit 227b3d6
Limit compact index dependency parser to split on first colon
The upcoming compact index v2 format introduced by rubygems.org appends a
`created_at:ISO8601` field to each info line, and the timestamp's internal
colons were being treated as additional split delimiters. Splitting only on
the first colon keeps existing keys like `ruby:>= 2.7.0` intact while letting
multi-colon values pass through untouched.
rubygems/rubygems.org#6504
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent dce4b75 commit 227b3d6
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments