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

Upgrade RuboCop and fix some offenses #909

Merged
merged 1 commit into from May 26, 2023

Conversation

bquorning
Copy link
Contributor

Ruby 2.5 compatibility is no longer a concern, so we can now upgrade to the very latest version.

Checklist

  • Feature branch is up-to-date with master (if not - rebase it).
  • Added tests.
  • Added an entry to the Changelog if the new
    code introduces user-observable changes.
  • Update Readme.md when cli options are changed

Comment on lines +261 to 262
'_spec.rb$' - matches rspec files
'_(test|spec).rb$' - matches test or spec files
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or, if we want a “regex escaped dot” \. in the output:

Suggested change
'_spec.rb$' - matches rspec files
'_(test|spec).rb$' - matches test or spec files
'_spec\\.rb$' - matches rspec files
'_(test|spec)\\.rb$' - matches test or spec files

Ruby 2.5 compatibility is no longer a concern, so we can now upgrade to the
very latest version.
Copy link
Owner

@grosser grosser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@grosser grosser merged commit 3247815 into grosser:master May 26, 2023
12 of 13 checks passed
@bquorning bquorning deleted the update-rubocop branch May 26, 2023 15:09
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.

None yet

2 participants