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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7c349e432568a10f8f77a939d0464e511466f0bc7ae30f7d7f5ff134a1bb656
4
- data.tar.gz: 5a89d7d2e778e35ab4213af0648c5c99857f264851f50a40dfbfa76f1440a79a
3
+ metadata.gz: c4ee896195cae43d0d113662a85b6e49060678bd8448e61d3c4214274b7b5ce0
4
+ data.tar.gz: 279715ab8f4f2050c9fb91e762b98db7b95e1fbdc45ec417d895bab3e0b32a6b
5
5
  SHA512:
6
- metadata.gz: 7ef901a03b12a77bf06ffb61622d4ff606c3369d872c1bc72f8bf8975c96faa9450b1826cda254c915afef0a03ebd1908db00e818ddc6d1087a1aeb83a823c9f
7
- data.tar.gz: ac6bd1de71971065ec2432c27ad786e810f306f54271fd1d800117706479745b93b98b2e3115be806227becd01aaecbb570ae0a366370d231bc6d9a2b3ec6222
6
+ metadata.gz: 9fc1b6b65ca8f354a82a45d18130e067769461c633790c3694270d4090652b4d91932fbe0ad1d17f28f44e98b8b5602b750d627c425929fdf3e39d04af2dfdde
7
+ data.tar.gz: c1e43ca3e7058cb945d6b188cf6c2ab18bc07d3220c663c0192508cebb7c30546dd12d317f868b1c19fe32a99057ad4d116b48c7fdc94cd129ad38fe3d6a01cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
- 2.2.0 - Tue Feb 12, 2019
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: {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Darlingtonia
4
- VERSION = '2.2.0'
4
+ VERSION = '3.0.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: darlingtonia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Data Curation Experts