cocina_display 2.3.0 → 2.3.2

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: e1e0f87a13c412b340ebdfab09decceb357a3ed0a8a2fa666b46ce02da5e28e3
4
- data.tar.gz: 1ddcfe85c1eabf4f1ebdb6894a965bd8c29455410976006f938e78be635347aa
3
+ metadata.gz: 8cf24d8cff548f049b41ae60c2f5f4bb5c43b216b7869b3a1a595ecf83cc5788
4
+ data.tar.gz: 854345966fca94967a05389e2ce84a7c531ecc8ea2d9fb21331e9dfe355ff5b1
5
5
  SHA512:
6
- metadata.gz: 5d6d3c35c5469b7ccac23349846800fb58e4c0c7a09d849942db0cc7dd5bc71a0b5a6c5e485e0303605234182e668ac67184ca614f7a282fbee67af4357eaec4
7
- data.tar.gz: 2e25ed214b68a92ec014740aa4523fadd9ab3d519ecced7797f768bf6b4675d410961f374c0543cec95dd5ffb1d688a301ff48ebfe52ec7220e99fe7ae3864c6
6
+ metadata.gz: 2ce20517130be528019962a0d195d7beb49e7d12f6088db54fe77cf92b759395aa7a0c73908bea3e3bdd04f66448b1de877fcac7b33dc83706a0b81590d98faa
7
+ data.tar.gz: 411c10a0fa870e83948809830e2ac9fe0c745dc6cf78225f8b06b74384f98f89db94845813f3740a809b04a74df9a6e730732076d1970b6e32ffe3111ea507d2
@@ -12,8 +12,7 @@ afa: Afroasiatic (Other)
12
12
  afh: Afrihili (Artificial language)
13
13
  afr: Afrikaans
14
14
  ain: Ainu
15
- # ajm is deprecated
16
- ajm: Aljamía
15
+ ajm: Aljamía # deprecated
17
16
  aka: Akan
18
17
  akk: Akkadian
19
18
  alb: Albanian
@@ -32,8 +31,7 @@ arn: Mapuche
32
31
  arp: Arapaho
33
32
  art: Artificial (Other)
34
33
  arw: Arawak
35
- # ase from iso639-3
36
- ase: American Sign Language
34
+ ase: American Sign Language # from iso639-3
37
35
  asm: Assamese
38
36
  ast: Bable
39
37
  ath: Athapascan (Other)
@@ -75,8 +73,7 @@ bur: Burmese
75
73
  byn: Bilin
76
74
  cad: Caddo
77
75
  cai: Central American Indian (Other)
78
- # cam is deprecated
79
- cam: Khmer
76
+ cam: Khmer # deprecated
80
77
  car: Carib
81
78
  cat: Catalan
82
79
  cau: Caucasian (Other)
@@ -119,6 +116,7 @@ den: Slavey
119
116
  dgr: Tlicho
120
117
  din: Dinka
121
118
  div: Divehi
119
+ dnt: Mid Grand Valley Dani # from iso639-3
122
120
  doi: Dogri
123
121
  dra: Dravidian (Other)
124
122
  dsb: Lower Sorbian
@@ -129,26 +127,21 @@ dyu: Dyula
129
127
  dzo: Dzongkha
130
128
  efi: Efik
131
129
  egy: Egyptian
132
- # per RFC 5646 and ISO 15924
133
- egy-Egyd: Egyptian, Demotic
130
+ egy-Egyd: Egyptian, Demotic # per RFC 5646 and ISO 15924
134
131
  eka: Ekajuk
135
132
  elx: Elamite
136
133
  eng: English
137
134
  enm: English, Middle (1100-1500)
138
135
  epo: Esperanto
139
- # esk is deprecated
140
- esk: Eskimo languages
141
- # esp is deprecated
142
- esp: Esperanto
136
+ esk: Eskimo languages # deprecated
137
+ esp: Esperanto # deprecated
143
138
  est: Estonian
144
- # eth is deprecated
145
- eth: Ethiopic
139
+ eth: Ethiopic # deprecated
146
140
  ewe: Ewe
147
141
  ewo: Ewondo
148
142
  fan: Fang
149
143
  fao: Faroese
150
- # far is deprecated
151
- far: Faroese
144
+ far: Faroese # deprecated
152
145
  fat: Fanti
153
146
  fij: Fijian
154
147
  fil: Filipino
@@ -156,8 +149,7 @@ fin: Finnish
156
149
  fiu: Finno-Ugrian (Other)
157
150
  fon: Fon
158
151
  fre: French
159
- # fri is deprecated
160
- fri: Frisian
152
+ fri: Frisian # deprecated
161
153
  frm: French, Middle (ca. 1300-1600)
162
154
  fro: French, Old (ca. 842-1300)
163
155
  frr: North Frisian
@@ -166,12 +158,9 @@ fry: Frisian
166
158
  ful: Fula
167
159
  fur: Friulian
168
160
  gaa: Gã
169
- # gae is deprecated
170
- gae: Scottish Gaelic
171
- # gag is deprecated
172
- gag: Galician
173
- # gal is deprecated
174
- gal: Oromo
161
+ gae: Scottish Gaelic # deprecated
162
+ gag: Galician # deprecated
163
+ gal: Oromo # deprecated
175
164
  gay: Gayo
176
165
  gba: Gbaya
177
166
  gem: Germanic (Other)
@@ -193,8 +182,7 @@ grc: Greek, Ancient (to 1453)
193
182
  gre: Greek, Modern (1453-)
194
183
  grn: Guarani
195
184
  gsw: Swiss German
196
- # gua is deprecated
197
- gua: Guarani
185
+ gua: Guarani # deprecated
198
186
  guj: Gujarati
199
187
  gwi: Gwich'in
200
188
  hai: Haida
@@ -227,12 +215,10 @@ inc: Indic (Other)
227
215
  ind: Indonesian
228
216
  ine: Indo-European (Other)
229
217
  inh: Ingush
230
- # int is deprecated
231
- int: Interlingua (International Auxiliary Language Association)
218
+ int: Interlingua (International Auxiliary Language Association) # deprecated
232
219
  ipk: Inupiaq
233
220
  ira: Iranian (Other)
234
- # iri is deprecated
235
- iri: Irish
221
+ iri: Irish # deprecated
236
222
  iro: Iroquoian (Other)
237
223
  ita: Italian
238
224
  jav: Javanese
@@ -273,17 +259,14 @@ kru: Kurukh
273
259
  kua: Kuanyama
274
260
  kum: Kumyk
275
261
  kur: Kurdish
276
- # kus is deprecated
277
- kus: Kusaie
262
+ kus: Kusaie # deprecated
278
263
  kut: Kootenai
279
264
  lad: Ladino
280
265
  lah: Lahndā
281
266
  lam: Lamba (Zambia and Congo)
282
- # lan is deprecated
283
- lan: Occitan (post 1500)
267
+ lan: Occitan (post 1500) # deprecated
284
268
  lao: Lao
285
- # lap is deprecated
286
- lap: Sami
269
+ lap: Sami # deprecated
287
270
  lat: Latin
288
271
  lav: Latvian
289
272
  lez: Lezgian
@@ -312,8 +295,7 @@ mao: Maori
312
295
  map: Austronesian (Other)
313
296
  mar: Marathi
314
297
  mas: Maasai
315
- # max is deprecated
316
- max: Manx
298
+ max: Manx # deprecated
317
299
  may: Malay
318
300
  mdf: Moksha
319
301
  mdr: Mandar
@@ -323,16 +305,14 @@ mic: Micmac
323
305
  min: Minangkabau
324
306
  # mis: Miscellaneous languages
325
307
  mkh: Mon-Khmer (Other)
326
- # mla is deprecated
327
- mla: Malagasy
308
+ mla: Malagasy # deprecated
328
309
  mlg: Malagasy
329
310
  mlt: Maltese
330
311
  mnc: Manchu
331
312
  mni: Manipuri
332
313
  mno: Manobo languages
333
314
  moh: Mohawk
334
- # mol is deprecated
335
- mol: Moldavian
315
+ mol: Moldavian # deprecated
336
316
  mon: Mongolian
337
317
  mos: Mooré
338
318
  # mul: Multiple languages
@@ -396,6 +376,7 @@ por: Portuguese
396
376
  pra: Prakrit languages
397
377
  pro: Provençal (to 1500)
398
378
  pus: Pushto
379
+ quc: K'iche' # from iso639-3
399
380
  que: Quechua
400
381
  raj: Rajasthani
401
382
  rap: Rapanui
@@ -414,27 +395,24 @@ sai: South American Indian (Other)
414
395
  sal: Salishan languages
415
396
  sam: Samaritan Aramaic
416
397
  san: Sanskrit
417
- # sao is deprecated
418
- sao: Samoan
398
+ sao: Samoan # deprecated
419
399
  sas: Sasak
420
400
  sat: Santali
421
- # scc is deprecated
422
- scc: Serbian
401
+ scc: Serbian # deprecated
423
402
  scn: Sicilian Italian
424
403
  sco: Scots
425
- # scr is deprecated
426
- scr: Croatian
404
+ scr: Croatian # deprecated
427
405
  sel: Selkup
428
406
  sem: Semitic (Other)
429
407
  sga: Irish, Old (to 1100)
430
408
  sgn: Sign languages
431
409
  shn: Shan
432
- # sho is deprecated
433
- sho: Shona
410
+ sho: Shona # deprecated
434
411
  sid: Sidamo
435
412
  sin: Sinhalese
436
413
  sio: Siouan (Other)
437
414
  sit: Sino-Tibetan (Other)
415
+ skr: Saraiki # from iso639-3
438
416
  sla: Slavic (Other)
439
417
  slo: Slovak
440
418
  slv: Slovenian
@@ -447,8 +425,7 @@ smo: Samoan
447
425
  sms: Skolt Sami
448
426
  sna: Shona
449
427
  snd: Sindhi
450
- # snh is deprecated
451
- snh: Sinhalese
428
+ snh: Sinhalese # deprecated
452
429
  snk: Soninke
453
430
  sog: Sogdian
454
431
  som: Somali
@@ -460,8 +437,7 @@ srn: Sranan
460
437
  srp: Serbian
461
438
  srr: Serer
462
439
  ssa: Nilo-Saharan (Other)
463
- # sso is deprecated
464
- sso: Sotho
440
+ sso: Sotho # deprecated
465
441
  ssw: Swazi
466
442
  suk: Sukuma
467
443
  sun: Sundanese
@@ -469,19 +445,15 @@ sus: Susu
469
445
  sux: Sumerian
470
446
  swa: Swahili
471
447
  swe: Swedish
472
- # swz is deprecated
473
- swz: Swazi
448
+ swz: Swazi # deprecated
474
449
  syc: Syriac
475
450
  syr: Syriac, Modern
476
- # tag is deprecated
477
- tag: Tagalog
451
+ tag: Tagalog # deprecated
478
452
  tah: Tahitian
479
453
  tai: Tai (Other)
480
- # taj is deprecated
481
- taj: Tajik
454
+ taj: Tajik # deprecated
482
455
  tam: Tamil
483
- # tar is deprecated
484
- tar: Tatar
456
+ tar: Tatar # deprecated
485
457
  tat: Tatar
486
458
  tel: Telugu
487
459
  tem: Temne
@@ -501,13 +473,12 @@ tmh: Tamashek
501
473
  tog: Tonga (Nyasa)
502
474
  ton: Tongan
503
475
  tpi: Tok Pisin
504
- # tru is deprecated
505
- tru: Truk
476
+ tru: Truk # deprecated
477
+ trw: Torwali # from iso639-3
506
478
  tsi: Tsimshian
507
479
  tsn: Tswana
508
480
  tso: Tsonga
509
- # tsw is deprecated
510
- tsw: Tswana
481
+ tsw: Tswana # deprecated
511
482
  tuk: Turkmen
512
483
  tum: Tumbuka
513
484
  tup: Tupi languages
@@ -17,7 +17,7 @@ module CocinaDisplay
17
17
  # @example
18
18
  # record.bare_druid #=> "bb099mt5053"
19
19
  def bare_druid
20
- druid.delete_prefix("druid:")
20
+ druid&.delete_prefix("druid:")
21
21
  end
22
22
  end
23
23
  end
@@ -2,8 +2,8 @@ module CocinaDisplay
2
2
  module Subjects
3
3
  # A Subject in Cocina structured data, possibly in multiple languages.
4
4
  class Subject < Parallel::Parallel
5
- # String representation uses the main parallel value.
6
- delegate :to_s, to: :main_value
5
+ # String representation and parts reference the main parallel value.
6
+ delegate :to_s, :delimiter, :subject_parts, :values, to: :main_value
7
7
 
8
8
  # Label used when displaying the Subject.
9
9
  # @return [String]
@@ -2,5 +2,5 @@
2
2
 
3
3
  # :nodoc:
4
4
  module CocinaDisplay
5
- VERSION = "2.3.0" # :nodoc:
5
+ VERSION = "2.3.2" # :nodoc:
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocina_display
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Budak
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
10
+ date: 2026-04-21 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: janeway-jsonpath
@@ -320,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
320
  - !ruby/object:Gem::Version
321
321
  version: '0'
322
322
  requirements: []
323
- rubygems_version: 4.0.7
323
+ rubygems_version: 3.6.2
324
324
  specification_version: 4
325
325
  summary: Helpers for rendering Cocina metadata
326
326
  test_files: []