bulk_ops 0.1.20 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bulk_ops/parser.rb +0 -1
- data/lib/bulk_ops/version.rb +1 -1
- data/lib/bulk_ops/work_job.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: 00c3c3a7c2256497f2b11f6a177b4c5ef83ffd97bfc68aa624ff9cc03245c41d
|
4
|
+
data.tar.gz: ad0ea1d063dc3e73bf9623ada0bc68288dfcb19f56a40999b05f0b9d59123977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c8fe5f805e77388d2825935d9876ab2a19786f05c5eccdf2dc3fc149b112010a790e129aad2ff77717dd65c1af06fff9182ec5f0a6b99e68c37aff7e7583391
|
7
|
+
data.tar.gz: a2ab3d414597fb7e6add10ceb86ed339c082eb8f8604b6f6ec51df16b303e59639c0354ac85e63bd03f2f810748a6254c00a7a1a3f930c9a9b4fa746735ebb43
|
data/lib/bulk_ops/parser.rb
CHANGED
@@ -14,7 +14,6 @@ class BulkOps::Parser
|
|
14
14
|
end
|
15
15
|
# Otherwise, if there are any valid fields other than relationship or file fields, call it a work
|
16
16
|
metadata[row_number].each do |field, value|
|
17
|
-
return true if
|
18
17
|
next if BulkOps::Verification.is_file_field?(field)
|
19
18
|
next if ["parent", "order"].include?(normalize_relationship_field_name(field))
|
20
19
|
next if ["title","label"].include?(field.downcase.strip)
|
data/lib/bulk_ops/version.rb
CHANGED
data/lib/bulk_ops/work_job.rb
CHANGED
@@ -62,7 +62,7 @@ class BulkOps::WorkJob < ActiveJob::Base
|
|
62
62
|
|
63
63
|
|
64
64
|
def define_work
|
65
|
-
if
|
65
|
+
if (@work_proxy.present? && @work_proxy.work_id.present? && record_exists?(@work_proxy.work_id))
|
66
66
|
begin
|
67
67
|
@work = ActiveFedora::Base.find(@work_proxy.work_id)
|
68
68
|
rescue ActiveFedora::ObjectNotFoundError
|