From a2b64c6737f3ec050cbf35982835bdcb4faece20 Mon Sep 17 00:00:00 2001 From: Shana Moore Date: Mon, 19 Feb 2024 15:35:29 -0800 Subject: [PATCH] :bug: comment out adventist reference to get the app to build Do we need to contribute back TextFileTextExtractionService? ref: - https://github.com/scientist-softserv/adventist_knapsack/blob/1321d31e4f36cb1bde420f1168f4a174ef3c1712/app/services/adventist/text_file_text_extraction_service.rb#L8 --- hyrax-webapp | 2 +- lib/hyku_knapsack/engine.rb | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/hyrax-webapp b/hyrax-webapp index e60efac..4717a5b 160000 --- a/hyrax-webapp +++ b/hyrax-webapp @@ -1 +1 @@ -Subproject commit e60efacb694ccdde973a6abd0e376e7dc9c74bf6 +Subproject commit 4717a5b576cdbc87ab000345465a8da4cf4774a8 diff --git a/lib/hyku_knapsack/engine.rb b/lib/hyku_knapsack/engine.rb index 74de876..6377401 100644 --- a/lib/hyku_knapsack/engine.rb +++ b/lib/hyku_knapsack/engine.rb @@ -46,10 +46,6 @@ def self.load_translations! end config.after_initialize do - # need collection model first - collection_decorator = HykuKnapsack::Engine.root.join("app", "models", "collection_decorator.rb").to_s - Rails.configuration.cache_classes ? require(collection_decorator) : load(collection_decorator) - HykuKnapsack::Engine.root.glob("app/**/*_decorator*.rb").sort.each do |c| Rails.configuration.cache_classes ? require(c) : load(c) end @@ -64,7 +60,6 @@ def self.load_translations! # # https://github.com/scientist-softserv/adventist-dl/blob/97bd05946345926b2b6c706bd90e183a9d78e8ef/config/application.rb#L68-L73 Hyrax::DerivativeService.services = [ - Adventist::TextFileTextExtractionService, IiifPrint::PluggableDerivativeService ]