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 +4 -4
- data/lib/relaton/iso/hit_collection.rb +9 -0
- data/lib/relaton/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: 9e4f6a40690e340cdc88df19873656d76969c93f8b07ef567a45bc3958b09e3d
|
|
4
|
+
data.tar.gz: bddbe8db505fed1572fe8ee32b5f05cf25c2bb6d1e742c2059c177cf89a2f544
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/relaton/version.rb
CHANGED
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.
|
|
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
|
+
date: 2026-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|