bulkrax 2.0.0 → 2.0.1
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/models/bulkrax/csv_entry.rb +3 -1
- data/lib/bulkrax/version.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12d2cd4f6112d69872499fefcc5338743445c5ee922389451724591372907935
|
|
4
|
+
data.tar.gz: 56ca7cb3fea0d47218695ce42870f4c892f3eb622b71ef062d57ac103adcdd9c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e79423222d13be800ecb7758dd0d75a87b78082b7c7d0d90a059d6bcf80a0ccd4897b0ae6301da62ebc7dd62efa6962c1a3bf64a49d0a69456d1f2e7b49ff50d
|
|
7
|
+
data.tar.gz: 0c65a81da9f1a6825f31fb4c4047bceb30557663a88ef3b593ede7b1fa125f950d4d675068c0f74268e18ce21caa8ceddf493febca4436ed2ff1d68486ebe8da
|
|
@@ -68,7 +68,9 @@ module Bulkrax
|
|
|
68
68
|
'Creating Collections using the collection_field_mapping will no longer be supported as of Bulkrax version 3.0.' \
|
|
69
69
|
' Please configure Bulkrax to use related_parents_field_mapping and related_children_field_mapping instead.'
|
|
70
70
|
)
|
|
71
|
-
|
|
71
|
+
# we do not want to sort the values in the record before adding the metadata.
|
|
72
|
+
# if we do, the factory_class will be set to the default_work_type for all values that come before "model" or "work type"
|
|
73
|
+
record.each do |key, value|
|
|
72
74
|
next if self.parser.collection_field_mapping.to_s == key_without_numbers(key)
|
|
73
75
|
|
|
74
76
|
index = key[/\d+/].to_i - 1 if key[/\d+/].to_i != 0
|
data/lib/bulkrax/version.rb
CHANGED
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: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rob Kaufman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-01-
|
|
11
|
+
date: 2022-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -224,7 +224,11 @@ dependencies:
|
|
|
224
224
|
- - ">="
|
|
225
225
|
- !ruby/object:Gem::Version
|
|
226
226
|
version: '0'
|
|
227
|
-
description:
|
|
227
|
+
description: Bulkrax is a batteries included importer for Samvera applications. It
|
|
228
|
+
currently includes support for OAI-PMH (DC and Qualified DC) and CSV out of the
|
|
229
|
+
box. It is also designed to be extensible, allowing you to easily add new importers
|
|
230
|
+
in to your application or to include them with other gems. Bulkrax provides a full
|
|
231
|
+
admin interface including creating, editing, scheduling and reviewing imports.
|
|
228
232
|
email:
|
|
229
233
|
- rob@notch8.com
|
|
230
234
|
executables: []
|
|
@@ -386,5 +390,5 @@ requirements: []
|
|
|
386
390
|
rubygems_version: 3.1.2
|
|
387
391
|
signing_key:
|
|
388
392
|
specification_version: 4
|
|
389
|
-
summary:
|
|
393
|
+
summary: Import and export tool for Hyrax and Hyku
|
|
390
394
|
test_files: []
|