Skip to content

Conversation

@jurre
Copy link
Contributor

@jurre jurre commented Jul 20, 2020

In ruby 3.0 positional arguments and keyword arguments will be
separated, and to prepare us for this, ruby 2.7 will start raising
warnings about potential issues.

This change resolves most of the warnings in the test-suite and some
that we have noticed in production.

I bumped .ruby-version for testing and kept it in this PR to make verifying
the changes locally a bit easier, but CI runs everything on 2.5.1 so might
be better to revert that, or update CI to run on 2.7. Happy to update the
PR to accomodate either.

In ruby 3.0 positional arguments and keyword arguments will be
separated, and to prepare us for this, ruby 2.7 will start raising
warnings about potential issues.

This change resolves most of the warnings in the test-suite and some
that we have noticed in production.
@jurre jurre force-pushed the jurre/ruby-27-warnings branch from 7c14162 to a6b5f5f Compare July 20, 2020 12:17
@jurre
Copy link
Contributor Author

jurre commented Jul 20, 2020

It seems like that kafka-2.5 failure is a known flake? Lmk if I need to look into it instead!

@jurre
Copy link
Contributor Author

jurre commented Aug 3, 2020

Hi @dasch, anything I can do to help get these changes in? 💛

Copy link
Contributor

@dasch dasch left a comment

Choose a reason for hiding this comment

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

Looks good!

@dasch dasch merged commit 39879b6 into zendesk:master Aug 3, 2020
@dasch
Copy link
Contributor

dasch commented Aug 3, 2020

Thanks!

@jurre jurre deleted the jurre/ruby-27-warnings branch August 3, 2020 13:08
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