Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various Rubocop fixes #88

Merged
merged 2 commits into from
Jun 21, 2022
Merged

Various Rubocop fixes #88

merged 2 commits into from
Jun 21, 2022

Conversation

evolve75
Copy link
Owner

These are mostly mechanical fixes to the code and should improve overall quality.

However, the code complexity issues still need to be resolved. The codebase has grown and some technical debt and cognitive load is now ripe for remediation.

evolve75 added 2 commits June 20, 2022 02:09
These are the _easy_ fixes to the code structure, and many were "auto-corrected"
by Rubocop.

The real changes (long and complex methods) will need more analysis of the code.

Also fixed the `rdoc` generation to use the correct title and main file.

Also added an auto-generated rubocop_todo config to defer fixes.

This setup lets the issues be documented, while not becoming a nag.
This is to comply with the Ruby method naming convention for predicate methods
(the ones ending with `?`). Rest of the code base has been updated to use the
new method names.

However, for backward compatibility, `aliases` with the old method names have
been defined to the new names so that current client code can continue to work.
@evolve75 evolve75 merged commit 1fbafc0 into master Jun 21, 2022
@evolve75 evolve75 deleted the rubocop-fixes branch June 21, 2022 03:15
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