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

@@ -42,7 +42,7 @@ module Search
end
def search_finish_date
(params[:advanced_search][:date_max].to_date rescue Date.current) || Date.current
params[:advanced_search][:date_max].to_date rescue Date.current || Date.current
end
def search_date_range