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

better regex comparison #21669

Merged
merged 1 commit into from Feb 2, 2022
Merged

better regex comparison #21669

merged 1 commit into from Feb 2, 2022

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Jan 27, 2022

fixes:

warning: deprecated Object#=~ is called on TrueClass
warning: deprecated Object#=~ is called on FalseClass

also:

rubocop wanted some spacing for guard clauses
and wanted to use match instead of =~ and I obliged

lib/patches/ruport_patch.rb Outdated Show resolved Hide resolved
lib/tasks/evm_settings.rake Outdated Show resolved Hide resolved
lib/tasks/evm_settings.rake Outdated Show resolved Hide resolved
lib/tasks/evm_settings.rake Outdated Show resolved Hide resolved
fixes:

warning: deprecated Object#=~ is called on TrueClass
warning: deprecated Object#=~ is called on FalseClass

also:

rubocop wanted some spacing for guard clauses
and wanted to use match instead of =~ and I obliged
@miq-bot
Copy link
Member

miq-bot commented Feb 2, 2022

Checked commit kbrock@3d23add with ruby 2.6.3, rubocop 1.13.0, haml-lint 0.35.0, and yamllint
3 files checked, 0 offenses detected
Everything looks fine. 🍰

@kbrock
Copy link
Member Author

kbrock commented Feb 2, 2022

update:

  • added specs and fixed syntax errors

@Fryguy Fryguy merged commit a739a56 into ManageIQ:master Feb 2, 2022
@Fryguy Fryguy self-assigned this Feb 2, 2022
@kbrock kbrock deleted the nil_regex branch February 2, 2022 20:53
@kbrock kbrock mentioned this pull request Feb 4, 2022
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants