Skip to content

Commit

Permalink
Pin view_component to 2.x to avoid breaking blacklight_range_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Oct 10, 2023
1 parent 940ee6d commit e0ced13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ gem 'acts-as-taggable-on'
gem 'mods_display', '~> 1.0'
gem 'slack-ruby-client'
gem 'blacklight-oembed', '~> 1.0'
gem 'view_component', '~> 2.82' # ViewComponent 3.x breaks blacklight_range_limit 8.3.0

# Used for shared reporting https://github.com/sul-dlss/exhibits/issues/2069
gem 'redis', '~> 5.0'
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ DEPENDENCIES
twitter-typeahead-rails (= 0.11.1.pre.corejavascript)
tzinfo-data
uglifier (>= 2.7.2)
view_component (~> 2.82)
web-console (>= 4.1.0)
webmock

Expand Down
1 change: 1 addition & 0 deletions spec/features/range_limit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
before do
login_as admin
visit spotlight.search_exhibit_catalog_path(exhibit)
page.driver.browser.manage.window.resize_to(1000, 400)
end

it 'has the date range facet' do
Expand Down

0 comments on commit e0ced13

Please sign in to comment.