Commit 52966ab
committed
Include prerelease gems in compact index during incremental update
In `update_index`, the call to `update_compact_index` only received
`released` specs, excluding prerelease gems from the compact index
files (`versions`, `info/<gemname>`). Since modern Bundler prefers the
compact index, prerelease gems were effectively invisible after an
incremental `--update`.
Fix by passing all specs (both released and prerelease) to
`update_compact_index`.
Fixes #481 parent 61a8570 commit 52966ab
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
| 469 | + | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
| |||
0 commit comments