Skip to content

Update mdl, mocha and rake dependencies.#1

Closed
faisal wants to merge 5 commits into
replace_arubafrom
update_mocha_and_rake
Closed

Update mdl, mocha and rake dependencies.#1
faisal wants to merge 5 commits into
replace_arubafrom
update_mocha_and_rake

Conversation

@faisal

@faisal faisal commented May 26, 2026

Copy link
Copy Markdown
Owner
  • Bump Mocha and Rake dependencies to latest versions.
  • Bump MDL dependency by removing the ''~> 0.15.0' lock, since the way we use it should not be so sensitive to minor version drift.

Note: this stacks on the Aruba removal in whitesmith#571

Check list:

Aruba is a recurring source of dependency conflicts when updating Rubycritic dependencies*.
Update Aruba call sites to call the underlying command line calls directly.
Call with Open3 so as to capture results and return status.

* Most recently, being able to update to diff-lcs 2.0, which we do in this commit.
We ran into it more before when Rubycritic relied on Cucumber, though it doesn't any more.
@faisal faisal force-pushed the update_mocha_and_rake branch from 8097338 to f730cae Compare June 3, 2026 11:29
@faisal faisal changed the title Update mocha and rake dependencies. Update mdl, mocha and rake dependencies. Jun 3, 2026
@faisal faisal changed the base branch from replace_aruba to main June 3, 2026 11:37
@faisal faisal changed the base branch from main to replace_aruba June 3, 2026 11:37
faisal and others added 4 commits June 12, 2026 20:08
Co-authored-by: Juan Vásquez <javasgon@gmail.com>
…h#572)

- Add lang="en" on <html> so screen readers and translation features
  pick the correct language for the entire report.
- Give the navbar menu-toggle anchor an accessible name via aria-label.
- Make per-rating summary IDs unique (rating-<a-f>-{files,churns,smells})
  so the HTML spec's unique-ID requirement holds and JS/test selectors
  can target individual cells.

Verified via pa11y --standard WCAG2AA on overview.html:
before  50 errors
after   34 errors  (-16: -15 dup IDs, -1 missing lang, +1 anchor label)

Remaining 34 (deliberately out of scope for this PR):
- 30 G18 + 3 G145 contrast violations on #A4A4A4 grays — opinionated
  style change, would prefer maintainer-led decision before changing.
- 1 F77 duplicate id="page-content-wrapper" — cross-page (affects
  overview/smells_index/simple_cov_index templates), separate scope.

Tests + RuboCop green. Test snapshot under test/samples/ auto-updated
to reflect the new template output.
# Conflicts:
#	CHANGELOG.md
@faisal faisal force-pushed the update_mocha_and_rake branch from f730cae to 1c31442 Compare June 12, 2026 19:11
@faisal faisal force-pushed the replace_aruba branch 2 times, most recently from 4d819c6 to a7e11c7 Compare June 12, 2026 19:21
@faisal faisal deleted the branch replace_aruba June 12, 2026 21:09
@faisal faisal closed this Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants