darlingtonia 2.2.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -2
- data/lib/darlingtonia/hyrax_record_importer.rb +5 -2
- data/lib/darlingtonia/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4ee896195cae43d0d113662a85b6e49060678bd8448e61d3c4214274b7b5ce0
|
4
|
+
data.tar.gz: 279715ab8f4f2050c9fb91e762b98db7b95e1fbdc45ec417d895bab3e0b32a6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fc1b6b65ca8f354a82a45d18130e067769461c633790c3694270d4090652b4d91932fbe0ad1d17f28f44e98b8b5602b750d627c425929fdf3e39d04af2dfdde
|
7
|
+
data.tar.gz: c1e43ca3e7058cb945d6b188cf6c2ab18bc07d3220c663c0192508cebb7c30546dd12d317f868b1c19fe32a99057ad4d116b48c7fdc94cd129ad38fe3d6a01cd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
3.0.0 - Wed Feb 13, 2019
|
2
|
+
|
3
|
+
* Change to method signature of HyraxRecordImporter.new
|
4
|
+
* initialize method now accepts an attributes hash for
|
5
|
+
attributes that come from the UI or importer rather
|
6
|
+
than from the CSV/mapper. These are useful for logging
|
7
|
+
and tracking the output of an import job for a given
|
8
|
+
collection, user, or batch.
|
3
9
|
* Improved default logging
|
4
10
|
* logs are more easily parsed, e.g., by splunk
|
5
11
|
* logs contain summary information
|
@@ -27,10 +27,13 @@ module Darlingtonia
|
|
27
27
|
|
28
28
|
# @param attributes [Hash] Attributes that come
|
29
29
|
# from the UI or importer rather than from
|
30
|
-
# the CSV/mapper.
|
30
|
+
# the CSV/mapper. These are useful for logging
|
31
|
+
# and tracking the output of an import job for
|
32
|
+
# a given collection, user, or batch.
|
31
33
|
# @example
|
32
34
|
# attributes: { collection_id: '123',
|
33
|
-
# depositor_id: '456'
|
35
|
+
# depositor_id: '456',
|
36
|
+
# batch_id: '789' }
|
34
37
|
def initialize(error_stream: Darlingtonia.config.default_error_stream,
|
35
38
|
info_stream: Darlingtonia.config.default_info_stream,
|
36
39
|
attributes: {})
|
data/lib/darlingtonia/version.rb
CHANGED