Skip to content

Commit

Permalink
remove blacklight_range_limit gem and blacklight-range-limit node pac…
Browse files Browse the repository at this point in the history
…kage
  • Loading branch information
jmartin-sul committed Sep 6, 2024
1 parent 1f045b2 commit 0fa4d0a
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ gem 'honeybadger'
gem 'blacklight_dynamic_sitemap', '~> 0.3'
gem 'newrelic_rpm'
gem 'twitter-typeahead-rails'
gem 'blacklight_range_limit', '~> 7.0'
gem 'redis', '~> 5.0'
# Not compatible with GeoBlacklight 4.x
# https://github.com/geoblacklight/geo_monitor/issues/12
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ GEM
blacklight_dynamic_sitemap (0.6.0)
blacklight (> 6.0)
rails
blacklight_range_limit (7.8.2)
blacklight (>= 7.0)
bootsnap (1.18.4)
msgpack (~> 1.2)
bootstrap (5.3.3)
Expand Down Expand Up @@ -617,7 +615,6 @@ DEPENDENCIES
bcrypt_pbkdf (~> 1.1)
blacklight!
blacklight_dynamic_sitemap (~> 0.3)
blacklight_range_limit (~> 7.0)
bootsnap (>= 1.1.0)
bootstrap (~> 5.3)
capistrano
Expand Down
1 change: 0 additions & 1 deletion app/controllers/catalog_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'blacklight/catalog'

class CatalogController < ApplicationController
include BlacklightRangeLimit::ControllerOverride
include Blacklight::Catalog

configure_blacklight do |config|
Expand Down
3 changes: 0 additions & 3 deletions app/controllers/search_history_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
class SearchHistoryController < ApplicationController
include Blacklight::SearchHistory

helper BlacklightRangeLimit::ViewHelperOverride
helper RangeLimitHelper
end
1 change: 0 additions & 1 deletion app/models/search_builder.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
class SearchBuilder < Blacklight::SearchBuilder
include Blacklight::Solr::SearchBuilderBehavior
include BlacklightRangeLimit::RangeLimitBuilder
include Geoblacklight::SuppressedRecordsSearchBehavior
end
2 changes: 0 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require 'sidekiq/web'

Rails.application.routes.draw do
concern :range_searchable, BlacklightRangeLimit::Routes::RangeSearchable.new
mount Blacklight::Engine => '/'
mount OkComputer::Engine, at: '/status'
# API compatibility with is_it_working checks
Expand All @@ -12,7 +11,6 @@

resource :catalog, only: [:index], as: 'catalog', path: '/catalog', controller: 'catalog' do
concerns :searchable
concerns :range_searchable
end

get '/catalog/:id/code_snippet' => 'catalog#code_snippet'
Expand Down
7 changes: 0 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"dependencies": {
"@geoblacklight/frontend": "^5.0.0-alpha.10",
"blacklight-frontend": "^8.3.0",
"blacklight-range-limit": "^8.5.0",
"bootstrap": "^5.3.3",
"bootstrap-slider": "^11.0.2",
"leaflet": "^1.9.4",
Expand Down

0 comments on commit 0fa4d0a

Please sign in to comment.