Commit 990da4b
authored
Replace features task with spec task (#568)
* Replace features task with spec task
- Rewrote all cucumber features as minitest/spec specs
- Added spec task, and removed features task
- Updated CI scripts to run spec instead of features
- Stopped bundling Cucumber
* Fix issues identified by GitHub copilot review
- In CI, rename Features jobs to Spec
- Configure Aruba timeout to 30 seconds, as had been the case in the features.
- Fix creation of empty.rb in minimum_score_spec.rb, and then fix the spec to not false-negative on the correctly generated higher score.
* Catch up with rubocop cop updates
- Exclude Style/OneClassPerFile in offending files.
- When building ast_node_children in lib/rubycritic/analysers/helpers/ast_node.rb, use grep instead of select with a kind check (Style/SelectByKind)
- When generating hash in RubyCritic::AnalysisSummary, use to_h directly (Style/ReduceToHash)1 parent 0bd2f52 commit 990da4b
18 files changed
Lines changed: 311 additions & 314 deletions
File tree
- .github/workflows
- features
- command_line_interface
- step_definitions
- support
- lib/rubycritic
- analysers/helpers
- test/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
| |||
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
| 56 | + | |
61 | 57 | | |
62 | 58 | | |
63 | 59 | | |
| |||
76 | 72 | | |
77 | 73 | | |
78 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments