cocina-models 0.105.2 → 0.106.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: 6283801eacea27f02ff0df5db24f2f18555b886995feea5770ce1d3f401186eb
4
- data.tar.gz: 027c89ba0444e1663efb32e03a7e384b60439c3b2f73b8d372402450d117ae42
3
+ metadata.gz: e344b96eb11f904d0730963727606fed5046857f72901761c7e75a1101992086
4
+ data.tar.gz: 1d446ff09f267b94684b57afeada1be9f393fd99874ed360c5c67f6e2d35051c
5
5
  SHA512:
6
- metadata.gz: 66ec3baf0a6610aec89f663bb208725bc4d5512750405a5a86d216793394a1162b84bdb548c007045395c94b4ba991aa05359b96c939b41eaf30993c1af418db
7
- data.tar.gz: 04ce19bbb766a4c3c699110edcf11326d87c526705eaa231a08d68adc88a97b79fd3a6dcc27b57f5347bb8b6e733786133985dae22efce8244144bb28ade517a
6
+ metadata.gz: 3941a79c6c26af81128ed0face784ce398c5b343970c5511d5da8cf8aad9dde10d1ea6fe19dad6122e6d460b2a53c3f1bcd9ca800dfbb2885e98d9d37a4e588f
7
+ data.tar.gz: 4df7a5daf531751de3e26bb168f498a0b07042e039ea6797ee0f42e18893b74a464f72fc7ced0e6625818964f2e67d159bfa133878aa83f4c1410b6e67b0a076
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocina-models (0.105.2)
4
+ cocina-models (0.106.0)
5
5
  activesupport
6
6
  deprecation
7
7
  dry-struct (~> 1.0)
@@ -19,7 +19,7 @@ PATH
19
19
  GEM
20
20
  remote: https://rubygems.org/
21
21
  specs:
22
- activesupport (8.0.2)
22
+ activesupport (8.0.2.1)
23
23
  base64
24
24
  benchmark (>= 0.3)
25
25
  bigdecimal
@@ -36,14 +36,14 @@ GEM
36
36
  attr_extras (7.1.0)
37
37
  base64 (0.3.0)
38
38
  benchmark (0.4.1)
39
- bigdecimal (3.2.2)
39
+ bigdecimal (3.2.3)
40
40
  byebug (12.0.0)
41
41
  committee (5.0.0)
42
42
  json_schema (~> 0.14, >= 0.14.3)
43
43
  openapi_parser (~> 1.0)
44
44
  rack (>= 1.5)
45
45
  concurrent-ruby (1.3.5)
46
- connection_pool (2.5.3)
46
+ connection_pool (2.5.4)
47
47
  deprecation (1.1.0)
48
48
  activesupport
49
49
  diff-lcs (1.6.2)
@@ -88,7 +88,7 @@ GEM
88
88
  mini_portile2 (2.8.9)
89
89
  minitest (5.25.5)
90
90
  multi_json (1.17.0)
91
- nokogiri (1.18.9)
91
+ nokogiri (1.18.10)
92
92
  mini_portile2 (~> 2.8.2)
93
93
  racc (~> 1.4)
94
94
  openapi_parser (1.0.0)
@@ -99,12 +99,12 @@ GEM
99
99
  racc
100
100
  patience_diff (1.2.0)
101
101
  optimist (~> 3.0)
102
- prism (1.4.0)
102
+ prism (1.5.1)
103
103
  racc (1.8.1)
104
- rack (3.2.0)
104
+ rack (3.2.1)
105
105
  rainbow (3.1.1)
106
106
  rake (13.3.0)
107
- regexp_parser (2.11.1)
107
+ regexp_parser (2.11.3)
108
108
  rspec (3.13.1)
109
109
  rspec-core (~> 3.13.0)
110
110
  rspec-expectations (~> 3.13.0)
@@ -117,10 +117,10 @@ GEM
117
117
  rspec-mocks (3.13.5)
118
118
  diff-lcs (>= 1.2.0, < 2.0)
119
119
  rspec-support (~> 3.13.0)
120
- rspec-support (3.13.4)
120
+ rspec-support (3.13.5)
121
121
  rspec_junit_formatter (0.6.0)
122
122
  rspec-core (>= 2, < 4, != 2.12.0)
123
- rubocop (1.79.2)
123
+ rubocop (1.80.2)
124
124
  json (~> 2.3)
125
125
  language_server-protocol (~> 3.17.0.2)
126
126
  lint_roller (~> 1.1.0)
@@ -137,7 +137,7 @@ GEM
137
137
  rubocop-rake (0.7.1)
138
138
  lint_roller (~> 1.1)
139
139
  rubocop (>= 1.72.1)
140
- rubocop-rspec (3.6.0)
140
+ rubocop-rspec (3.7.0)
141
141
  lint_roller (~> 1.1)
142
142
  rubocop (~> 1.72, >= 1.72.1)
143
143
  ruby-progressbar (1.13.0)
@@ -155,9 +155,9 @@ GEM
155
155
  thor (1.4.0)
156
156
  tzinfo (2.0.6)
157
157
  concurrent-ruby (~> 1.0)
158
- unicode-display_width (3.1.4)
159
- unicode-emoji (~> 4.0, >= 4.0.4)
160
- unicode-emoji (4.0.4)
158
+ unicode-display_width (3.2.0)
159
+ unicode-emoji (~> 4.1)
160
+ unicode-emoji (4.1.0)
161
161
  uri (1.0.3)
162
162
  zeitwerk (2.7.3)
163
163
 
@@ -178,4 +178,4 @@ DEPENDENCIES
178
178
  simplecov
179
179
 
180
180
  BUNDLED WITH
181
- 2.7.1
181
+ 2.7.2
@@ -68,6 +68,8 @@ contributor.name:
68
68
  description: Name used that differs from legal or primary form of name.
69
69
  - value: surname
70
70
  description: Last or family name or names.
71
+ - value: translation
72
+ description: Latinized or other translated version of the name not following a formal transliteration scheme.
71
73
  - value: transliteration
72
74
  description: Name originally in non-Latin script presented phonetically using Latin characters.
73
75
  contributor.name.structuredValue:
@@ -72,6 +72,8 @@ _Path: contributor.name.type_
72
72
  * Name used that differs from legal or primary form of name.
73
73
  * surname
74
74
  * Last or family name or names.
75
+ * translation
76
+ * Latinized or other translated version of the name not following a formal transliteration scheme.
75
77
  * transliteration
76
78
  * Name originally in non-Latin script presented phonetically using Latin characters.
77
79
  ### Contributor name part types for structured value
@@ -64,6 +64,8 @@ module Cocina
64
64
  end
65
65
 
66
66
  def valid_edtf?(value)
67
+ return false if value == 'XXXX' # Not permitted by the spec, but allowed in the gem. https://github.com/inukshuk/edtf-ruby/issues/41
68
+
67
69
  Date.edtf!(value)
68
70
  true
69
71
  rescue StandardError
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.105.2'
5
+ VERSION = '0.106.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocina-models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.105.2
4
+ version: 0.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-08-14 00:00:00.000000000 Z
10
+ date: 2025-09-19 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: activesupport