relaton 3.1.19 → 3.1.20

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: 82ae1ae72264d7cd138bc17d37bc94544018a8f832dea792e6c08991a5aa7e43
4
- data.tar.gz: 3cd7ed61cf31dc06f3cd53c17924245e9dfa1afbe26d7e0c1033d598f81cc0f5
3
+ metadata.gz: 9e4f6a40690e340cdc88df19873656d76969c93f8b07ef567a45bc3958b09e3d
4
+ data.tar.gz: bddbe8db505fed1572fe8ee32b5f05cf25c2bb6d1e742c2059c177cf89a2f544
5
5
  SHA512:
6
- metadata.gz: fab782430548dd21e816c1b286c82b5fac40cc64308ac0904afa5fb7973919a139109d7269e5a8f0960cf22a19ccdb02025e1268cfcf68dbfa750f22d3897ef2
7
- data.tar.gz: fe0571736274c0c4e30578b7afc1ed796c891a8e2b38dc284a6a8c6a5e5c113de6b6ccc9e0647997f98bc1bdf95c6c65c635277f5dd3bcf303ce87a2fb7248e4
6
+ metadata.gz: f1d6dee9da70b6b7f0845753b73bc5d6b48f1ddb6bf1f6fd10d470b0122066acfd90562d89d92db6523d948ccf7a7ac486e455c40acbaf21e06a3174bf0b3e5b
7
+ data.tar.gz: bfad3fdfb626f9795e701a9bc15aa60047698f3fa305facce3666d723365aa7bff69502455b5bc9f8bd3bb3e74357d19a010bcb849e222d86b4d8a6b9ef0565c
@@ -201,6 +201,15 @@ module Relaton
201
201
 
202
202
  bibitem = hit.item
203
203
  all_parts_item = bibitem.to_all_parts
204
+ # An all-parts entry aggregates parts whose statuses and editions
205
+ # differ, so it must not present the base part's status or edition
206
+ # date as the series's: an undated ISO 3098 (all parts) citation
207
+ # built its entry from the withdrawn iso-3098-0-1997 record and
208
+ # rendered a withdrawal note for a live series (metanorma/suma#216).
209
+ all_parts_item.status = nil
210
+ all_parts_item.date = []
211
+ Util.warn "all-parts citation built from #{hit.pubid}; " \
212
+ "the base record's edition status and dates are dropped"
204
213
  @array.reject { |h| h.pubid.part == hit.pubid.part }.each do |hi|
205
214
  all_parts_item.relation << create_relation(hi)
206
215
  end
@@ -1,3 +1,3 @@
1
1
  module Relaton
2
- VERSION = "3.1.19".freeze
2
+ VERSION = "3.1.20".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.19
4
+ version: 3.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-30 00:00:00.000000000 Z
11
+ date: 2026-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable