darlingtonia 3.2.0 → 3.2.1

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: 63a317635545c8808e56b95fcad54851481952e89268fcf3230eba94a885c203
4
- data.tar.gz: 5e76830148cf211c69fab7e7f6b455a9a06a912e73bd023dab6e1369964c8c25
3
+ metadata.gz: 4db745cf64eae860d26d4fb71bbd22a0af8af76b5e6017237ed4ddb7f02faa2c
4
+ data.tar.gz: a90876104f6125096c68d1eee31272adbc8181d67ab332bd0cb1c56699914c6e
5
5
  SHA512:
6
- metadata.gz: 3e86824312574df7b9630c1fd0f8d42416fe917309cea097912497f443d1e824b998dae3c97af18f76dc53a38e6af3f5ca54053bb3bf2423bc7ab9fd7b19245b
7
- data.tar.gz: cbe2deaca3be8d5da290f611c4d22a7d8abf91f2764cb40361da36551b8e0629563f50a30abae2723d2a91ac1c688f06ec24b6b7400f59fb0d61dabdb17b3451
6
+ metadata.gz: a321db0cb5e53ed938a36d7d6a1529382f9393470f61c2dd0ac3b5c23415fd42e4ba1f8c28d13ce4f6fe5e984b66d9fff8a3dc5187f1da5e9e2c71b79f9af70d
7
+ data.tar.gz: 54769929dcb90d240989d681afbac4d012b6cd957bb044a258396ddc92eb6833b6f47788b41cacd58083b05707e619477973c83dce6d6761807be690e85d0fbd
@@ -1,3 +1,7 @@
1
+ 3.2.1 - Thu Apr 4, 2019
2
+
3
+ * Bugfix: When logging, do not assume the deduplication field is multi-valued.
4
+
1
5
  3.2.0 - Tue Mar 5, 2019
2
6
 
3
7
  * Allow the importer to receive log settings from elsewhere, so it can log
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
 
18
18
  gem.required_ruby_version = '>= 2.3.4'
19
19
 
20
- gem.add_dependency 'active-fedora', '>= 11.5.2'
20
+ gem.add_dependency 'active-fedora', '>= 12.1.1'
21
21
 
22
22
  gem.add_development_dependency 'yard', '~> 0.9'
23
23
  gem.add_development_dependency 'bixby', '~> 1.0'
@@ -211,7 +211,7 @@ module Darlingtonia
211
211
 
212
212
  actor_env = Hyrax::Actors::Environment.new(existing_record, ::Ability.new(@depositor), attrs)
213
213
  if metadata_only_middleware.update(actor_env)
214
- info_stream << "event: record_updated, batch_id: #{batch_id}, record_id: #{existing_record.id}, collection_id: #{collection_id}, #{deduplication_field}: #{existing_record.respond_to?(deduplication_field) ? existing_record.send(deduplication_field)&.first : existing_record}"
214
+ info_stream << "event: record_updated, batch_id: #{batch_id}, record_id: #{existing_record.id}, collection_id: #{collection_id}, #{deduplication_field}: #{existing_record.respond_to?(deduplication_field) ? existing_record.send(deduplication_field) : existing_record}"
215
215
  @success_count += 1
216
216
  else
217
217
  existing_record.errors.each do |attr, msg|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Darlingtonia
4
- VERSION = '3.2.0'
4
+ VERSION = '3.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: darlingtonia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Data Curation Experts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-05 00:00:00.000000000 Z
11
+ date: 2019-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-fedora
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 11.5.2
19
+ version: 12.1.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 11.5.2
26
+ version: 12.1.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: yard
29
29
  requirement: !ruby/object:Gem::Requirement