Skip to content

Commit

Permalink
Merge ce5761c into 7e54107
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiarlo committed Jun 9, 2020
2 parents 7e54107 + ce5761c commit 8ba36ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/pre_assembly/bundle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def allowed_values
{
:project_style=>{
:content_structure=>[:simple_image,:simple_book,:book_as_image,:book_with_pdf,:file,:smpl,:'3d'],
:get_druid_from=>[:suri,:container,:manifest,:druid_minter],
:get_druid_from=>[:container,:manifest,:druid_minter],
},
:content_md_creation=>{
:style=>[:default,:filename,:dpg,:smpl,:salt,:none],
Expand Down Expand Up @@ -232,8 +232,7 @@ def validate_usage
validation_errors << "If should_register=true, it does not make sense to have project_style:content_tag_override=true since objects are not registered yet." if @project_style[:content_tag_override]
else # if should_register=false, check some stuff
validation_errors << "The APO and SET DRUIDs should not be set if should_register = false." if (@apo_druid_id || @set_druid_id) # APO and SET should not be set
validation_errors << "get_druid_from: 'suri' is only valid if should_register = true." if @project_style[:get_druid_from]==:suri # can't use SURI to get druid
validation_errors << "get_druid_from: 'manifest' is only valid if use_manifest = true." if @project_style[:get_druid_from]==:manifest && @object_discovery[:use_manifest] == false # can't use SURI to get druid
validation_errors << "get_druid_from: 'manifest' is only valid if use_manifest = true." if @project_style[:get_druid_from]==:manifest && @object_discovery[:use_manifest] == false
end
Expand Down

0 comments on commit 8ba36ac

Please sign in to comment.