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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0f3d62a2115d7a69c05a8aac7e13f1badda13bc587474884a089e456c460b96
4
- data.tar.gz: 3c7027bc6bade6fa01198b4a89675f1fc78b21140042befb52c3219afc92b66d
3
+ metadata.gz: 00c3c3a7c2256497f2b11f6a177b4c5ef83ffd97bfc68aa624ff9cc03245c41d
4
+ data.tar.gz: ad0ea1d063dc3e73bf9623ada0bc68288dfcb19f56a40999b05f0b9d59123977
5
5
  SHA512:
6
- metadata.gz: 2f1381ef24e117468a3aa134ae19ed64b50c7d37ae0657fc31e06e830ef33471fc2cd35a407d63d5e362b4ba88f24cdfb8b462da55e957f289be3461b27273ce
7
- data.tar.gz: 91f4661e005d422c39417fa9d6b94d0d4f85d3b8b4f5ca5da375294fbba7b02116c01854aaa1cf30e77326eb44d318e205be38aa7ee4f96516c50caa786dad5f
6
+ metadata.gz: 1c8fe5f805e77388d2825935d9876ab2a19786f05c5eccdf2dc3fc149b112010a790e129aad2ff77717dd65c1af06fff9182ec5f0a6b99e68c37aff7e7583391
7
+ data.tar.gz: a2ab3d414597fb7e6add10ceb86ed339c082eb8f8604b6f6ec51df16b303e59639c0354ac85e63bd03f2f810748a6254c00a7a1a3f930c9a9b4fa746735ebb43
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module BulkOps
2
- VERSION = "0.1.20"
2
+ VERSION = "0.1.21"
3
3
  end
@@ -62,7 +62,7 @@ class BulkOps::WorkJob < ActiveJob::Base
62
62
 
63
63
 
64
64
  def define_work
65
- if proxy.work_id.present? && record_exists? proxy.work_id
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulk_ops
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ned Henry, UCSC Library Digital Initiatives