From 1efcc99159a049c5604f71ce29d5cf3b096dbe93 Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Fri, 20 Dec 2024 16:42:44 -0800 Subject: [PATCH] Update Bulkrax to 9.0 (#2403) * update bulkrax to 9.0 * run migration --- Gemfile | 2 +- Gemfile.lock | 12 ++++++------ db/schema.rb | 6 +++++- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index b4cdb3b22..e3dc4abd1 100644 --- a/Gemfile +++ b/Gemfile @@ -30,7 +30,7 @@ gem 'blacklight_range_limit' gem 'bolognese', '>= 1.9.10' gem 'bootstrap', '~> 4.6' gem 'bootstrap-datepicker-rails' -gem 'bulkrax', '~> 8.3' +gem 'bulkrax', '~> 9.0.0' gem 'byebug', group: %i[development test] gem 'capybara', group: %i[test] gem 'capybara-screenshot', '~> 1.0', group: %i[test] diff --git a/Gemfile.lock b/Gemfile.lock index 2199bc61a..9b7993627 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -206,11 +206,11 @@ GIT GIT remote: https://github.com/scientist-softserv/willow_sword.git - revision: 64d0b818bc2a31c158baa80cc6af107715b50a94 + revision: e4edebde9a29636d74c794efca423535db296880 branch: main specs: willow_sword (0.2.0) - bagit (~> 0.4.1) + bagit (~> 0.4) rails (~> 6.1) rubyzip (>= 1.0.0) @@ -294,7 +294,7 @@ GEM babel-source (>= 4.0, < 6) execjs (~> 2.0) backport (1.2.0) - bagit (0.4.6) + bagit (0.6.0) docopt (~> 0.5.0) validatable (~> 1.6) base64 (0.2.0) @@ -396,8 +396,8 @@ GEM signet (~> 0.8) typhoeus builder (3.2.4) - bulkrax (8.3.0) - bagit (~> 0.4.6) + bulkrax (9.0.0) + bagit (~> 0.6.0) coderay denormalize_fields iso8601 (~> 0.9.0) @@ -1494,7 +1494,7 @@ DEPENDENCIES bolognese (>= 1.9.10) bootstrap (~> 4.6) bootstrap-datepicker-rails - bulkrax (~> 8.3) + bulkrax (~> 9.0.0) byebug capybara capybara-screenshot (~> 1.0) diff --git a/db/schema.rb b/db/schema.rb index f8b315bbb..961c8652a 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2024_09_16_182823) do +ActiveRecord::Schema.define(version: 2024_12_05_212513) do # These are extensions that must be enabled in order to support this database enable_extension "hstore" @@ -74,7 +74,9 @@ t.string "importerexporter_type", default: "Bulkrax::Importer" t.integer "import_attempts", default: 0 t.string "status_message", default: "Pending" + t.string "error_class" t.index ["identifier", "importerexporter_id", "importerexporter_type"], name: "bulkrax_identifier_idx" + t.index ["importerexporter_id", "importerexporter_type", "id"], name: "index_bulkrax_entries_on_importerexporter_id_type_and_id" t.index ["importerexporter_id", "importerexporter_type"], name: "bulkrax_entries_importerexporter_idx" t.index ["type"], name: "index_bulkrax_entries_on_type" end @@ -110,6 +112,7 @@ t.boolean "include_thumbnails", default: false t.boolean "generated_metadata", default: false t.string "status_message", default: "Pending" + t.string "error_class" t.index ["user_id"], name: "index_bulkrax_exporters_on_user_id" end @@ -153,6 +156,7 @@ t.string "status_message", default: "Pending" t.datetime "last_imported_at" t.datetime "next_import_at" + t.string "error_class" t.index ["user_id"], name: "index_bulkrax_importers_on_user_id" end