[openSUSE/open-build-service] 559afb: Update rubocop to version 1.52.0
Branch: refs/heads/depfu/update/srcapi/rubocop-1.52.0 Home: https://github.com/openSUSE/open-build-service Commit: 559afb21c1509d264d7171a1b697e903cc06e4fd https://github.com/openSUSE/open-build-service/commit/559afb21c1509d264d7171... Author: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com> Date: 2023-06-06 (Tue, 06 Jun 2023) Changed paths: M src/api/Gemfile.lock R src/api/vendor/cache/rubocop-1.51.0.gem A src/api/vendor/cache/rubocop-1.52.0.gem R src/api/vendor/cache/rubocop-ast-1.28.1.gem A src/api/vendor/cache/rubocop-ast-1.29.0.gem Log Message: ----------- Update rubocop to version 1.52.0 Commit: f18b0dca62156069e13c157308dc6abfde098d2b https://github.com/openSUSE/open-build-service/commit/f18b0dca62156069e13c15... Author: Bernhard M. Wiedemann <bwiedemann@suse.de> Date: 2023-06-06 (Tue, 06 Jun 2023) Changed paths: M src/api/app/components/bs_request_history_element_component.rb Log Message: ----------- Fix a rubocop offense rubocop 1.52.0 reported app/components/bs_request_history_element_component.rb:40:46: C: [Correctable] Style/RedundantFilterChain: Use any? instead of select.any?. request_reviews_for_non_staging_projects.select(&:new?).any? ^^^^^^^^^^^^^^^^^^^ Compare: https://github.com/openSUSE/open-build-service/compare/9759658118e8...f18b0d...
participants (1)
-
Bernhard M. Wiedemann