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

Update rubocop, replace custom cop with official safe navigator cop #5292

Merged
merged 3 commits into from
Dec 1, 2024

Conversation

martinemde
Copy link
Member

No description provided.

Copy link

codecov bot commented Dec 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.01%. Comparing base (77bbd90) to head (0bac94f).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5292      +/-   ##
==========================================
+ Coverage   96.88%   97.01%   +0.13%     
==========================================
  Files         457      456       -1     
  Lines        9576     9563      -13     
==========================================
  Hits         9278     9278              
+ Misses        298      285      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martinemde martinemde force-pushed the martinemde/update-rubocop branch from 5648229 to c72d751 Compare December 1, 2024 20:00
def default(rubygem: Rubygem.first!, # rubocop:disable Metrics/ParameterLists
number: "1.0.0", platform: "ruby",
version_gid: rubygem.versions.where(number:, platform:).first&.to_gid,
pushed_by: "Pusher", actor_gid: version_gid&.find&.pusher&.to_gid)
Copy link
Member Author

Choose a reason for hiding this comment

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

Safe navigation rubocop complained about this chain, so I extracted this into the body in each of the 3 previews so it could pass.

@martinemde martinemde force-pushed the martinemde/update-rubocop branch from c72d751 to 8b3ec68 Compare December 1, 2024 20:14
@martinemde martinemde enabled auto-merge (squash) December 1, 2024 21:40
@martinemde martinemde merged commit c7bbd32 into master Dec 1, 2024
17 checks passed
@martinemde martinemde deleted the martinemde/update-rubocop branch December 1, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants