ManageIQ / manageiq-smartstate

Apache License 2.0
4 stars 36 forks source link

Replace Ruby 2.6 Array#difference #121

Closed jerryk55 closed 4 years ago

jerryk55 commented 4 years ago

Ruby 2.6 Array#difference() method was used without realizing it was added in 2.6 and not available in 2.5. Replacing with Array#-().

@roliveri please review.

Will be required in Ivanchuk as well.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1824259

miq-bot commented 4 years ago

Checked commit https://github.com/jerryk55/manageiq-smartstate/commit/a3515d315152044e783dcc923d931deb620ce311 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint 1 file checked, 0 offenses detected Everything looks fine. :star: