Repository navigation
Commit 01c0895
committed
Check gem edits in vendor dry runs instead
Move the #1761 fix to the gem vendored backend: its dry run now
computes the Gemfile and lock edits the wet run would make and returns
the same refusal (for example a declaration inside a `group` block).
Every dry-run caller benefits, not just the eject: a plain
`vendor --dry-run` and the takeover previews over restored text now
report what the wet run would refuse. This replaces the eject-only
gate added in the previous commit, which checked each gem pin against
its own one-pin restore and hid earlier backend refusals.
Assisted-by: Claude Code:claude-opus-5-51 parent 8de500d commit 01c0895
2 files changed
Lines changed: 27 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | | - | |
1854 | | - | |
1855 | | - | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
1862 | | - | |
1863 | | - | |
1864 | 1853 | | |
1865 | 1854 | | |
1866 | 1855 | | |
1867 | 1856 | | |
1868 | 1857 | | |
1869 | 1858 | | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
1873 | | - | |
1874 | 1859 | | |
1875 | 1860 | | |
1876 | 1861 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
666 | 674 | | |
667 | 675 | | |
668 | 676 | | |
| |||
3663 | 3671 | | |
3664 | 3672 | | |
3665 | 3673 | | |
| 3674 | + | |
| 3675 | + | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
| 3681 | + | |
| 3682 | + | |
| 3683 | + | |
| 3684 | + | |
| 3685 | + | |
| 3686 | + | |
| 3687 | + | |
| 3688 | + | |
| 3689 | + | |
| 3690 | + | |
| 3691 | + | |
| 3692 | + | |
3666 | 3693 | | |
3667 | 3694 | | |
3668 | 3695 | | |
| |||
0 commit comments