rubygems / rubygems.org

The Ruby community's gem hosting service.
https://rubygems.org
MIT License
2.31k stars 905 forks source link

Policy refactors #4833

Closed martinemde closed 2 days ago

martinemde commented 6 days ago

Clean up error messaging, accessing the rubygem model in policies, and make a few checks more clear.

codecov[bot] commented 6 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.00%. Comparing base (c175af7) to head (2dccc34).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4833 +/- ## ========================================== - Coverage 97.02% 97.00% -0.02% ========================================== Files 406 406 Lines 8526 8520 -6 ========================================== - Hits 8272 8265 -7 - Misses 254 255 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

martinemde commented 6 days ago

Ok, I addressed the coverage problems and merged the suggestions. Should be ready for final review.