Skip to content

test: enforce 100% coverage, remove dead code, lint via rake - #47

Merged
mscrivo merged 3 commits into
masterfrom
refactor/remove-dead-previous-node-helpers
Nov 24, 2026
Merged

mscrivo merged 3 commits into
masterfrom
refactor/remove-dead-previous-node-helpers

Conversation

@mscrivo

@mscrivo mscrivo commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator
  • Remove previous_node_name and previous_node_is_text?: private, no callers, and the only uncovered lines.
  • Add SimpleCov with branch coverage; the build fails below 100% line or branch coverage. A static coverage badge is added to the README (accurate as long as the threshold stays at 100%).
  • Bump bundler-audit 0.6.1 → 0.9.3 (0.6.1 requires bundler < 3).
  • Default rake task now runs specs + RuboCop, so the separate CI lint job is redundant and removed.

Verified locally: 72 examples pass, 113/113 lines and 71/71 branches covered, no RuboCop offenses; adding an uncovered method fails the build with exit 2.

🤖 Generated with Claude Code

mscrivo and others added 3 commits November 24, 2026 15:24
previous_node_name and previous_node_is_text? are private and have no
callers; they were the only uncovered lines in the library.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Also bumps bundler-audit to 0.9.3; 0.6.1 requires bundler < 3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Running 'rake' locally now lints too. The CI test job already runs
'rake', so the separate lint job is redundant and removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mscrivo
mscrivo merged commit fcbe0a4 into master Nov 24, 2026
3 checks passed
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.

1 participant