Skip to content

Update for Blacklight 8.12.0 #3532

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Update for Blacklight 8.12.0 #3532

wants to merge 2 commits into from

Conversation

taylor-steve
Copy link
Contributor

@taylor-steve taylor-steve commented Aug 8, 2025

Rubocop + Blacklight 8.12.0 changes

@taylor-steve taylor-steve changed the title Testing Test fixes Update for Blacklight 8.12.0 Aug 11, 2025
@taylor-steve taylor-steve marked this pull request as ready for review August 11, 2025 21:55
@jcoyne
Copy link
Member

jcoyne commented Aug 12, 2025

Most of these changes seem to be related to view_component 4.0, not Blacklight 8.12.

@@ -4,6 +4,7 @@ module Spotlight
##
# Exhibit resources
class Resource < ActiveRecord::Base
# rubocop:disable Style/RedundantParentheses
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason not to remove the redundant parenthesis?

Copy link
Contributor Author

@taylor-steve taylor-steve Aug 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it changes the behavior (in the way rubocop wants to remove them)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds like a bug in rubocop. Have you filed an issue? They are usually responsive to fixing these sorts of things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants