Branch: refs/heads/depfu/update/srcapi/rubocop-1.52.0 Home: https://github.com/openSUSE/open-build-service Commit: 907693c048b055fbad8ccd9cddee33734f046ce6 https://github.com/openSUSE/open-build-service/commit/907693c048b055fbad8ccd... 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 M src/api/app/helpers/webui/webui_helper.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? ^^^^^^^^^^^^^^^^^^^ app/helpers/webui/webui_helper.rb:230:25: C: [Correctable] Style/RedundantFilterChain: Use any? instead of select.any?. paths_match = paths.select { |path| request.path.eql?(path) }.any? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^