Bump rubocop from 1.76.1 to 1.81.1

This release includes some updates in the Style/RedundantParentheses and
Naming/PredicateMethod rules. We're changing the code accordingly.

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.76.1 to 1.81.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.76.1...v1.81.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-version: 1.81.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2025-10-31 13:26:52 +00:00
committed by Javi Martín
parent 413d0ed9be
commit 1fa3cf8ce7
6 changed files with 8 additions and 9 deletions

View File

@@ -89,9 +89,8 @@ module ProposalsDashboardHelper
end
def new_resources_since_last_login?(resources, new_actions_since_last_login)
if resources.present?
resources.present? &&
resources.ids.any? { |id| new_actions_since_last_login.include?(id) }
end
end
def active_resources_for(proposal)