cocina-models 0.28.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d1e95282bfbdd8835506ac6d0649071e4ab0dddd8a4f91c8ebfb10f81a396e2
4
- data.tar.gz: ca759ccd62a857f5870eafb0155e0bf030d252e21707d6900a9e6d2de9fb210d
3
+ metadata.gz: 76b2604162a420ba454bf72d767dd17cffd588c585644e7af5713a626528c354
4
+ data.tar.gz: a120a35df55448923beb33b256001ea711de2a41b89a6b353e7eb8770aea160c
5
5
  SHA512:
6
- metadata.gz: 232f3479397e45f4cfd50bf13781b10f75ae4d6b93b7db553d66607ebd25a06d9303262285bb7bdfe4d2ab5142584ee548ea6903171ef2a9a953f0b2073a7bc8
7
- data.tar.gz: 6cb5ef6b63cb69f5d81aa4903eec832413cc8b98d24c6d78a042064533960452c6b5fc85d00d63747f78d385cb2b1a89688c70d9d9c570a89e0778f8cb44ea24
6
+ metadata.gz: 8339f6d67fa9ce0d717383e377d68c935ec77b6eab99248a74ea0b70ef74379c449a9a004942d5495df97f3a00aedb671323cdd9a1f040961d7b85c285094c64
7
+ data.tar.gz: c1e9c0dd4dbd1c079e863d914519e7c173d79eb85e164a1c2121b69b23d87b3323823c93e52fcd4227fde46338c6987bef4ec75d85b3517a62869ac5eb40a259
@@ -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
@@ -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(false)
22
+ attribute :sdrPreserve, Types::Strict::Bool.optional.default(true)
23
23
  attribute :shelve, Types::Strict::Bool.optional.default(false)
24
24
  end
25
25
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.28.0'
5
+ VERSION = '0.29.0'
6
6
  end
7
7
  end
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.28.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 00:00:00.000000000 Z
11
+ date: 2020-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct