bulkrax 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/bulkrax/importers_controller.rb +3 -4
- data/app/helpers/bulkrax/validation_helper.rb +4 -4
- data/app/jobs/bulkrax/create_relationships_job.rb +3 -0
- data/app/jobs/bulkrax/import_work_job.rb +20 -7
- data/app/jobs/bulkrax/importer_job.rb +1 -1
- data/app/jobs/bulkrax/schedule_relationships_job.rb +2 -1
- data/app/matchers/bulkrax/application_matcher.rb +1 -0
- data/app/models/bulkrax/csv_entry.rb +93 -24
- data/app/models/bulkrax/exporter.rb +3 -12
- data/app/models/bulkrax/importer.rb +1 -1
- data/app/models/bulkrax/pending_relationship.rb +1 -1
- data/app/models/concerns/bulkrax/dynamic_record_lookup.rb +1 -1
- data/app/models/concerns/bulkrax/export_behavior.rb +6 -4
- data/app/models/concerns/bulkrax/has_matchers.rb +1 -0
- data/app/models/concerns/bulkrax/import_behavior.rb +6 -3
- data/app/models/concerns/bulkrax/importer_exporter_behavior.rb +9 -1
- data/app/parsers/bulkrax/application_parser.rb +14 -16
- data/app/parsers/bulkrax/bagit_parser.rb +5 -16
- data/app/parsers/bulkrax/csv_parser.rb +43 -111
- data/app/parsers/bulkrax/oai_dc_parser.rb +2 -2
- data/app/parsers/bulkrax/parser_export_record_set.rb +281 -0
- data/app/parsers/bulkrax/xml_parser.rb +9 -5
- data/app/services/bulkrax/remove_relationships_for_importer.rb +4 -2
- data/app/views/bulkrax/entries/show.html.erb +1 -1
- data/app/views/bulkrax/exporters/_form.html.erb +32 -33
- data/app/views/bulkrax/exporters/index.html.erb +2 -2
- data/app/views/bulkrax/exporters/show.html.erb +3 -3
- data/app/views/bulkrax/importers/_bagit_fields.html.erb +13 -12
- data/app/views/bulkrax/importers/_csv_fields.html.erb +13 -12
- data/app/views/bulkrax/importers/_oai_fields.html.erb +12 -10
- data/app/views/bulkrax/importers/_xml_fields.html.erb +12 -11
- data/app/views/bulkrax/importers/show.html.erb +18 -16
- data/app/views/bulkrax/shared/_collection_entries_tab.html.erb +6 -6
- data/app/views/bulkrax/shared/_file_set_entries_tab.html.erb +6 -6
- data/app/views/bulkrax/shared/_work_entries_tab.html.erb +6 -6
- data/config/locales/bulkrax.en.yml +26 -0
- data/lib/bulkrax/entry_spec_helper.rb +17 -0
- data/lib/bulkrax/version.rb +1 -1
- data/lib/bulkrax.rb +119 -46
- data/lib/generators/bulkrax/templates/config/initializers/bulkrax.rb +1 -1
- data/lib/tasks/reset.rake +1 -1
- metadata +7 -6
@@ -72,7 +72,7 @@ Bulkrax.setup do |config|
|
|
72
72
|
# config.qa_controlled_properties += ['my_field']
|
73
73
|
|
74
74
|
# Specify the delimiter regular expression for splitting an attribute's values into a multi-value array.
|
75
|
-
# config.multi_value_element_split_on =
|
75
|
+
# config.multi_value_element_split_on = /\s*[:;|]\s*/.freeze
|
76
76
|
|
77
77
|
# Specify the delimiter for joining an attribute's multi-value array into a string. Note: the
|
78
78
|
# specific delimeter should likely be present in the multi_value_element_split_on expression.
|
data/lib/tasks/reset.rake
CHANGED
@@ -32,7 +32,7 @@ namespace :hyrax do
|
|
32
32
|
Mailboxer::Notification.delete_all
|
33
33
|
Mailboxer::Conversation::OptOut.delete_all
|
34
34
|
Mailboxer::Conversation.delete_all
|
35
|
-
AccountElevator.switch!(
|
35
|
+
AccountElevator.switch!(Site.instance.account) if defined?(AccountElevator)
|
36
36
|
# we need to wait till Fedora is done with its cleanup
|
37
37
|
# otherwise creating the admin set will fail
|
38
38
|
while AdminSet.exists?(AdminSet::DEFAULT_ID)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulkrax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Kaufman
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -327,6 +327,7 @@ files:
|
|
327
327
|
- app/parsers/bulkrax/csv_parser.rb
|
328
328
|
- app/parsers/bulkrax/oai_dc_parser.rb
|
329
329
|
- app/parsers/bulkrax/oai_qualified_dc_parser.rb
|
330
|
+
- app/parsers/bulkrax/parser_export_record_set.rb
|
330
331
|
- app/parsers/bulkrax/xml_parser.rb
|
331
332
|
- app/services/bulkrax/remove_relationships_for_importer.rb
|
332
333
|
- app/views/bulkrax/entries/_parsed_metadata.html.erb
|
@@ -411,7 +412,7 @@ homepage: https://github.com/samvera-labs/bulkrax
|
|
411
412
|
licenses:
|
412
413
|
- Apache-2.0
|
413
414
|
metadata: {}
|
414
|
-
post_install_message:
|
415
|
+
post_install_message:
|
415
416
|
rdoc_options: []
|
416
417
|
require_paths:
|
417
418
|
- lib
|
@@ -426,8 +427,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
426
427
|
- !ruby/object:Gem::Version
|
427
428
|
version: '0'
|
428
429
|
requirements: []
|
429
|
-
rubygems_version: 3.
|
430
|
-
signing_key:
|
430
|
+
rubygems_version: 3.1.6
|
431
|
+
signing_key:
|
431
432
|
specification_version: 4
|
432
433
|
summary: Import and export tool for Hyrax and Hyku
|
433
434
|
test_files: []
|