Skip to content

Commit

Permalink
Update to latest version of rubocop (#3114)
Browse files Browse the repository at this point in the history
* Update to latest version of rubocop

* Use bundler 2.4 rather than latest

bundler 2.5 seems to not load the dependencies via engine cart correctly
  • Loading branch information
jcoyne authored Dec 27, 2023
1 parent 4cddeef commit 9305415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler: 'latest'
bundler: '2.4.22'
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
Expand Down
2 changes: 1 addition & 1 deletion lib/blacklight/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def show_fields_for(display_types)

# @!visibility private
def freeze
each { |_k, v| v.is_a?(OpenStruct) && v.freeze } # rubocop:disable Style/HashEachMethods
each { |_k, v| v.is_a?(OpenStruct) && v.freeze }
super
end

Expand Down

0 comments on commit 9305415

Please sign in to comment.