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

Fix RuboCop warnings and default Ruby version #288

Merged
merged 4 commits into from
Dec 6, 2023
Merged

Fix RuboCop warnings and default Ruby version #288

merged 4 commits into from
Dec 6, 2023

Conversation

ndonewar
Copy link
Contributor

@ndonewar ndonewar commented Dec 5, 2023

This PR takes parts of another PR to focus on just the RuboCop fixes needed to get RuboCop in CI working.

  • 58dfe95 defaults the .ruby-version to the latest available
  • ce36e53 is the largest change, but is also just the automatic fixes done by RubyCop (via bundle exec rubocop -a).
  • 5731444 manually fixes the remaining 3 issues, which were all extraneous parentheses deletions.
  • 59ef81f simplifies CI and RuboCop to 3.2 only

@ndonewar ndonewar marked this pull request as ready for review December 5, 2023 20:54
Copy link

@tomthorogood tomthorogood left a comment

Choose a reason for hiding this comment

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

The changes make sense to me, I have one question about dependents outside of GitHub.

Comment on lines -89 to +91
url: url,
read_timeout: read_timeout,
open_timeout: open_timeout,
url:,
read_timeout:,
open_timeout:,

Choose a reason for hiding this comment

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

yay, i love seeing this shorthand ❤️

Comment on lines -14 to 17
ruby-version: ['3.0', '3.1', '3.2']
ruby-version: ['3.2']
ES_VERSION: ['5.6.15', '8.7.0']
include:
- ES_VERSION: '5.6.15'

Choose a reason for hiding this comment

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

Does this mean that we're no longer supporting 3.0 or 3.1 at all with elastomer client? Will that cause any customer impact, if users are depending upon that support?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, since the library is only used internally, we're focusing support on the version we run.

@ndonewar ndonewar merged commit 520c8d8 into main Dec 6, 2023
3 checks passed
@ndonewar ndonewar deleted the fix-rubocop branch December 6, 2023 13:37
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