Commit 75bc582
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 75bc582
2 files changed
+3
-2
lines changed| 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 | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| 465 | + | |
465 | 466 | | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
469 | | - | |
| 470 | + | |
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| |||
0 commit comments