Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Mar 20, 2024
1 parent da6a6a8 commit f4d04bf
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions umich_catalog_indexing/spec/support/traject_settings.rb
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
$:.unshift "#{File.dirname(__FILE__)}/../lib"
require 'library_stdnums'
require "library_stdnums"

require 'traject/macros/marc21'
require "traject/macros/marc21"
extend Traject::Macros::Marc21

require 'traject/macros/marc21_semantics'
require "traject/macros/marc21_semantics"
extend Traject::Macros::Marc21Semantics

require 'traject/macros/marc_format_classifier'
require "traject/macros/marc_format_classifier"
extend Traject::Macros::MarcFormats

require 'ht_traject'
require "ht_traject"
extend HathiTrust::Traject::Macros
extend Traject::UMichFormat::Macros

require "traject/null_writer"

require 'marc_record_speed_monkeypatch'
require 'marc4j_fix'

UmichOverlap = if ENV['NODB']
require "ht_traject/no_db_mocks/ht_overlap"
HathiTrust::NoDB::UmichOverlap
else
require 'ht_traject/ht_overlap.rb'
HathiTrust::UmichOverlap
end
require "marc_record_speed_monkeypatch"
require "marc4j_fix"

UmichOverlap = if ENV["NODB"]
require "ht_traject/no_db_mocks/ht_overlap"
HathiTrust::NoDB::UmichOverlap
else
require "ht_traject/ht_overlap"
HathiTrust::UmichOverlap
end

settings do
store "writer_class_name", "Traject::NullWriter"
Expand Down

0 comments on commit f4d04bf

Please sign in to comment.