Repository navigation
Commit 0dfe007
Fix CI: restore collection validation, fix ranges, correct constants
- collection.rb: always call __vc_validate_collection_parameter!. Guarding
it on !__vc_compiled? made MissingCollectionArgumentError not raise for
compiled components (RenderingTest#test_collection_component_missing_
parameter_name). The method allocates nothing when everything is warm,
so removing the guard costs no allocations.
- rendering_allocations_test.rb: 7.1/3.2 inline is 41 (not 40); 7.2/3.3
collection is 79 (not 77). Use the counts CI observed.
- CHANGELOG: use 'to' instead of hyphen ranges to satisfy Vale.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ad85400e-6ae8-4a73-b095-3d51d1168e8f1 parent 899c1d9 commit 0dfe007
3 files changed
Lines changed: 4 additions & 4 deletions
File tree
- docs
- lib/view_component
- test/sandbox/test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments