Commit c96878c
committed
fix(cli): address PR #2727 review — remove dead CLAUDE.md ref, dedup test
Reviewer A's required-before-merge items on #2727:
1. `cli/lucli/Module.cfc` — the `fix` string in the new `paginationLinks`
upgrade check referenced `CLAUDE.md ## Pagination View Helpers`. End
users running `wheels upgrade check --to=4.0.0` against their own app
have no `CLAUDE.md` from this repo. Replace with the public GitHub
issue URL. Remove the adjacent NOTE about doubling `##` — it was only
relevant while the `fix` string contained `##1930`, and the URL form
no longer needs the doubling.
2. `vendor/wheels/tests/specs/view/paginationLinksDeprecationSpec.cfc` —
the upgrade-check coverage `it()` duplicated the block-extraction
boilerplate (`expandPath`, `find("currentMajor <= 3...")`, etc.) that
already lives in `UpgradeCheckCoverageSpec.cfc`. Move the assertion
into that spec as one more `it()` alongside the other 3.x → 4.x
coverage checks, and trim the deprecation spec down to the runtime
warning tests only.
Reviewer B's adjacent point (multi-line comment blocks per CLAUDE.md's
"one short line max" rule): collapse the 5-line block in
`vendor/wheels/view/links.cfc`, the 7-line preamble in `Module.cfc`,
and the 18-line header in `paginationLinksDeprecationSpec.cfc`.
Refs #2714, #2727.
Signed-off-by: Peter Amiri <peter@alurium.com>1 parent 6b375ab commit c96878c
4 files changed
Lines changed: 22 additions & 72 deletions
File tree
- cli/lucli
- vendor/wheels
- tests/specs
- cli
- view
- view
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3733 | 3733 | | |
3734 | 3734 | | |
3735 | 3735 | | |
3736 | | - | |
3737 | | - | |
3738 | | - | |
3739 | | - | |
3740 | | - | |
3741 | | - | |
3742 | | - | |
| 3736 | + | |
3743 | 3737 | | |
3744 | 3738 | | |
3745 | 3739 | | |
3746 | 3740 | | |
3747 | 3741 | | |
3748 | 3742 | | |
3749 | | - | |
| 3743 | + | |
3750 | 3744 | | |
3751 | 3745 | | |
3752 | 3746 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
Lines changed: 13 additions & 59 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 1 | | |
20 | 2 | | |
21 | 3 | | |
22 | 4 | | |
23 | 5 | | |
24 | 6 | | |
25 | | - | |
| 7 | + | |
26 | 8 | | |
27 | 9 | | |
28 | 10 | | |
| |||
36 | 18 | | |
37 | 19 | | |
38 | 20 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
57 | 27 | | |
58 | 28 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
81 | 35 | | |
82 | 36 | | |
83 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
| 236 | + | |
241 | 237 | | |
242 | 238 | | |
243 | 239 | | |
| |||
0 commit comments