cocina-models 0.28.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocina/models/dro.rb +1 -0
- data/lib/cocina/models/file.rb +1 -1
- data/lib/cocina/models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76b2604162a420ba454bf72d767dd17cffd588c585644e7af5713a626528c354
|
4
|
+
data.tar.gz: a120a35df55448923beb33b256001ea711de2a41b89a6b353e7eb8770aea160c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8339f6d67fa9ce0d717383e377d68c935ec77b6eab99248a74ea0b70ef74379c449a9a004942d5495df97f3a00aedb671323cdd9a1f040961d7b85c285094c64
|
7
|
+
data.tar.gz: c1e9c0dd4dbd1c079e863d914519e7c173d79eb85e164a1c2121b69b23d87b3323823c93e52fcd4227fde46338c6987bef4ec75d85b3517a62869ac5eb40a259
|
data/lib/cocina/models/dro.rb
CHANGED
@@ -48,6 +48,7 @@ module Cocina
|
|
48
48
|
# but I think it's actually required for every DRO
|
49
49
|
attribute :hasAdminPolicy, Types::Strict::String.optional.default(nil)
|
50
50
|
attribute :releaseTags, Types::Strict::Array.of(ReleaseTag).meta(omittable: true).default([].freeze)
|
51
|
+
attribute :partOfProject, Types::Strict::String.meta(omittable: true)
|
51
52
|
end
|
52
53
|
|
53
54
|
# Identification sub-schema for the DRO
|
data/lib/cocina/models/file.rb
CHANGED
@@ -19,7 +19,7 @@ module Cocina
|
|
19
19
|
|
20
20
|
# Represents the administration of the file
|
21
21
|
class Administrative < Struct
|
22
|
-
attribute :sdrPreserve, Types::Strict::Bool.optional.default(
|
22
|
+
attribute :sdrPreserve, Types::Strict::Bool.optional.default(true)
|
23
23
|
attribute :shelve, Types::Strict::Bool.optional.default(false)
|
24
24
|
end
|
25
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocina-models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|