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

Enable rubocop; Bump version; Bump dependencies; Fix rubocop #8

Merged
merged 2 commits into from
May 9, 2023

Conversation

MrGeneration
Copy link
Contributor

👋 This PR provides a minimal rubocop config and fixes the gem to ruby versions 3.0 and higher. (<3.0 is EOL).

I also run a very basic rubocop check and adjusted all complaints to have a clean state.
This causes a required change (set_debug(bool) to show_debug(bool)) - if that's a bad change in your opinion, we can disable it in rubocop so it won't pop up. For this reason I've bumped to mayor 4.0 (breaking change).

Also raised the dependencies to most current possible. Hope that fits.

@MrGeneration MrGeneration changed the title Enable rubocop; Bump version; Bump dependencies; Fix rubocop Draft: Enable rubocop; Bump version; Bump dependencies; Fix rubocop May 1, 2023
Ensure example.rb reflects the code changes. Adjust wording (2nd factor requires a secret which is not reflected by the comments). With this change the order of username and password is technically irrelevant.
@MrGeneration MrGeneration changed the title Draft: Enable rubocop; Bump version; Bump dependencies; Fix rubocop Enable rubocop; Bump version; Bump dependencies; Fix rubocop May 1, 2023
@MrGeneration
Copy link
Contributor Author

If you prefer the version bumping and rubocop introduction (and fixes due to it) in independent PRs let me know. I was chasing down the rabbit hole so...

@fabian-coder fabian-coder merged commit dcee4e8 into inwx:master May 9, 2023
@MrGeneration MrGeneration deleted the mh/maintenance branch May 9, 2023 10:51
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