metanorma-iso 3.5.7 → 3.5.8
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/Gemfile +2 -4
- data/lib/metanorma/iso/cleanup_biblio.rb +9 -2
- data/lib/metanorma/iso/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: 0e9a97e56ab39bd783469a8bbaea2fee896ed29d60e65b5be523633efe3a9de3
|
|
4
|
+
data.tar.gz: 9ae9da323404361d1fb84516b944822a6544f664b67f708878a5a994ebc9a7c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b318c2b971c4fb8aff7cf904d1454e6ebd394841d86be650b1dee69f6dac48e51254ee4249638d91f852b6d1e42ed6c7f51388c43514e8b870145cc039f52450
|
|
7
|
+
data.tar.gz: e2b8a94e4c748f6a792049779c9411c2f0d5698e18d40587006514ce25e8f7e1433d403438ea1ec9c899d062c288799889a5d9473e35dc4c945dc66a49570d55
|
data/Gemfile
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
source "https://rubygems.org"
|
|
2
2
|
|
|
3
3
|
gemspec
|
|
4
|
-
gem "metanorma-mirror", "~> 1.0"
|
|
4
|
+
gem "metanorma-mirror", "~> 1.0"
|
|
5
5
|
gem "relaton", "~> 3.0"
|
|
6
6
|
|
|
7
7
|
gem "canon"
|
|
8
8
|
gem "isodoc", "~> 3.7.9" # carries the relaton-render range #846
|
|
9
|
-
|
|
10
|
-
# standoc main's converter); released 0.7.53 does not define it yet.
|
|
11
|
-
gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "main"
|
|
9
|
+
gem "metanorma-plugin-lutaml", "~> 0.7"
|
|
12
10
|
gem "metanorma-utils", "~> 2.0" # GcBudget + the array-join table cell buffer
|
|
13
11
|
gem "metanorma-standoc", "~> 3.5.7" # Standoc::Document split + the pubid-dispatch refs world
|
|
14
12
|
gem "metanorma-document", "~> 0.5.3" # relaton 3.1 line; relaton-bib retired
|
|
@@ -165,8 +165,15 @@ module Metanorma
|
|
|
165
165
|
|
|
166
166
|
def draft_biblio_docid(orig, base_pubid, docid)
|
|
167
167
|
id = orig.dup
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
# DIR 2 26.4's stage-less em-dash form ("ISO 17664-1:—") applies to a
|
|
169
|
+
# plain draft's year slot. A supplement draft ("ISO .../DAM 1") keeps
|
|
170
|
+
# its stage: stripping it leaves a bare "/" and an orphan number
|
|
171
|
+
# (metanorma-iso#1696).
|
|
172
|
+
unless id.is_a?(Pubid::Iso::SupplementIdentifier) ||
|
|
173
|
+
id.is_a?(Pubid::Iec::SupplementIdentifier)
|
|
174
|
+
id.typed_stage = nil
|
|
175
|
+
id.stage = nil
|
|
176
|
+
end
|
|
170
177
|
id.date = Pubid::Components::Date.new(year: 123456789)
|
|
171
178
|
docid.children = id.to_s.sub("123456789", "—")
|
|
172
179
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-iso
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.5.
|
|
4
|
+
version: 3.5.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-document
|