Skip to content

Conversation

@tagliala
Copy link
Contributor

@tagliala tagliala commented Jan 3, 2025

Running the spec suite with RUBYOPT='-w' to validate PR #8593 revealed numerous warnings related to ambiguous operators.

To address these warnings, the Lint/AmbiguousOperator cop has been enabled and rubocop -a has been run to fix the offenses.


This PR removes 122 warnings from the spec suite

Running the spec suite with `RUBYOPT='-w'` to validate PR #8593 revealed
numerous warnings related to ambiguous operators.

To address these warnings, the `Lint/AmbiguousOperator` cop has been
enabled and `rubocop -a` has been run to fix the offenses.
@tagliala tagliala marked this pull request as ready for review January 3, 2025 19:22
@codecov
Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.11%. Comparing base (5541da5) to head (1bdaf46).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8594   +/-   ##
=======================================
  Coverage   99.11%   99.11%           
=======================================
  Files         141      141           
  Lines        4076     4076           
=======================================
  Hits         4040     4040           
  Misses         36       36           

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

@javierjulio javierjulio self-requested a review January 3, 2025 23:37
Copy link
Member

@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

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

Thanks!

@tagliala tagliala merged commit 3639223 into master Jan 4, 2025
24 checks passed
@tagliala tagliala deleted the chore/enable-ambiguous-operator-cop branch January 4, 2025 09:52
@tagliala
Copy link
Contributor Author

tagliala commented Jan 4, 2025

I'll check arbre and inherited instruments

tagliala added a commit to activeadmin/arbre that referenced this pull request Jan 4, 2025
Parity with ActiveAdmin to prevent introduction of new warnings

Ref: activeadmin/activeadmin#8594
tagliala added a commit to activeadmin/inherited_resources that referenced this pull request Jan 4, 2025
Parity with ActiveAdmin to prevent introduction of new warnings

Ref: activeadmin/activeadmin#8594
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.

3 participants