Commit 283e984
authored
chore(ci): fix lint, brakeman, and test command (#34)
* chore(ci): fix lint, brakeman, and test command
- Rubocop: auto-corrected Layout/HashAlignment in
ConnectionScoreCalculator and its spec.
- Brakeman: rewrote Person.with_upcoming_events to use
integer-encoded month*100+day instead of an interpolated
tuple IN clause. Same semantics, no string interpolation,
resolves the weak SQL-injection warning.
- CI test job: project uses RSpec; switched the runner from
�[1mUnrecognized command "test" (�[1;4mRails::Command::UnrecognizedCommandError�[m�[1m)�[m (Minitest) to
/home/brian/.rbenv/versions/3.4.8/bin/ruby -I/home/brian/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.6/lib:/home/brian/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rspec-support-3.13.7/lib /home/brian/.rbenv/versions/3.4.8/lib/ruby/gems/3.4.0/gems/rspec-core-3.13.6/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
............................*........................................................................................................
Pending: (Failures listed here are expected and do not affect your suite's status)
1) User add some examples to (or delete) /home/brian/projects/saber/spec/models/user_spec.rb
# Not yet implemented
# ./spec/models/user_spec.rb:4
Finished in 0.62195 seconds (files took 0.32583 seconds to load)
133 examples, 0 failures, 1 pending.
These checks have been failing since M5; M5 backend likely
merged via admin bypass. Landing this first so M6 frontend
PR #33 can rebase onto green main.
* chore(deps): bump nokogiri 1.19.2 → 1.19.3
- Patches GHSA-c4rq-3m3g-8wgx (High, CSS selector
tokenizer regex backtracking) and GHSA-v2fc-qm4h-8hqv
(Medium, XSLT memory leak).
- Surfaced by `bin/bundler-audit` in the scan_ruby CI
job, which was already failing alongside the other
three issues in this PR.
- Transitive update only — no `Gemfile` change.1 parent 875ae7f commit 283e984
5 files changed
Lines changed: 22 additions & 21 deletions
File tree
- .github/workflows
- app
- models
- services
- spec/services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments