From bf4534525f2508b303c00c5061a0697844c01712 Mon Sep 17 00:00:00 2001 From: leaannbradford Date: Thu, 20 Apr 2023 16:24:54 -0700 Subject: [PATCH 1/2] add require bagit to bagit parser file --- app/parsers/bulkrax/bagit_parser.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/parsers/bulkrax/bagit_parser.rb b/app/parsers/bulkrax/bagit_parser.rb index bc59cb17..34d1ac93 100644 --- a/app/parsers/bulkrax/bagit_parser.rb +++ b/app/parsers/bulkrax/bagit_parser.rb @@ -3,6 +3,7 @@ module Bulkrax class BagitParser < CsvParser # rubocop:disable Metrics/ClassLength include ExportBehavior + require 'bagit' def self.export_supported? true From 3d9985eb8ac2cb9ef8e1f7bac2273d40535eb689 Mon Sep 17 00:00:00 2001 From: leaannbradford Date: Thu, 20 Apr 2023 17:05:39 -0700 Subject: [PATCH 2/2] move require --- app/parsers/bulkrax/bagit_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/parsers/bulkrax/bagit_parser.rb b/app/parsers/bulkrax/bagit_parser.rb index 34d1ac93..005e894a 100644 --- a/app/parsers/bulkrax/bagit_parser.rb +++ b/app/parsers/bulkrax/bagit_parser.rb @@ -1,9 +1,9 @@ # frozen_string_literal: true +require 'bagit' module Bulkrax class BagitParser < CsvParser # rubocop:disable Metrics/ClassLength include ExportBehavior - require 'bagit' def self.export_supported? true