metanorma-ogc 2.9.8 → 2.9.10

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: ec2b5d592426f4a6fa1c4bbf53da4f51a9c2b99b4b6fabdbe5202b23d052ecc1
4
- data.tar.gz: 7754004ba70bc28ab7aad50548e5c0308f6d5ad60775b6d6d70c8e88ff6f3258
3
+ metadata.gz: e08e7cb459d12485f89db319854ae6a94bac1abad1d52f7ba1ed7e3597c32745
4
+ data.tar.gz: 4f61478dec1ec9b00be6ca94caeb43fbf08f3de93e514b76a5307c712f4d824a
5
5
  SHA512:
6
- metadata.gz: 94de2606f8d40ddc6987186d23cc7442b4ae9a7db98af690423045c7fd230c9be11930f024a23382e110a9f8224d5e32e8a8efe969a75eaf35f785b0f6557121
7
- data.tar.gz: d273445c5539d185b098fe89e31becb048d23fc602303f0c9ceac3e8e3e5ec13d4056627f53b496d9ca401ccc3b2009212a03e68d5b22b09458626dc24a4361e
6
+ metadata.gz: 9a1cb4bcb4e5fb52a1b5c14eb6b4068980f12c59e9fd147dc9b66cdc66c4ab55e3a637a1a814711b6ec04c9a48bdd6b966b043a19b149fc2367122c313957350
7
+ data.tar.gz: 78e3ca0324082f56c695e00680c308df4898701727f0ddbe54f73b59fb7e0c17cbc8cb3bb1562fd57c2e6539c62d1ac491df6481f8defa5c72d8d316e0b31673
data/.rubocop.yml CHANGED
@@ -2,9 +2,30 @@
2
2
  # See https://github.com/metanorma/cimas
3
3
  inherit_from:
4
4
  - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml
5
+ # .rubocop_todo.yml MUST be the last entry. inherit_from is last-wins:
6
+ # if listed before oss-guides, the shared config's stricter Metrics/
7
+ # (MethodLength, BlockLength, etc.) rules override the todo's per-file
8
+ # grandfathering, and the todo becomes inert on those cops. Empirically
9
+ # verified on suma 2026-07-06: with todo listed first, 34 Metrics/* offenses
10
+ # remained; moved last, cleared. Every gem in the metanorma-org fleet
11
+ # already ships a `.rubocop_todo.yml` on its live tree (audited 2026-07-06,
12
+ # 54/54 have it), so this reference is safe to emit unconditionally.
13
+ - .rubocop_todo.yml
14
+
15
+ # Rubocop plugins enabled centrally so every metanorma-org gem picks them up
16
+ # on cimas sync — best practice belongs at the shared-template layer, not
17
+ # per-repo. Per ronaldtse feedback on metanorma/ci#332.
18
+ plugins:
19
+ - rubocop-rspec
20
+ - rubocop-performance
21
+ - rubocop-rake
5
22
 
6
23
  # local repo-specific modifications
7
24
  # ...
8
25
 
9
26
  AllCops:
10
- TargetRubyVersion: 3.4
27
+ # 3.3 matches the org-wide minimum being pushed via #274 (Raise minimum
28
+ # Ruby version to 3.3 due to EOL of 3.2 on 2026-03-31). Was 3.4 before
29
+ # this commit — 3.4 was above the org's stated minimum and would have
30
+ # applied Rubocop rules that fail-close on gems still targeting 3.3.
31
+ TargetRubyVersion: 3.3
@@ -52,6 +52,8 @@
52
52
  <span class="label">Submission Date: </span> <span class="value">{{ receiveddate }}</span>
53
53
  <span class="label">Approval Date: </span> <span class="value">{{ issueddate }}</span>
54
54
  <span class="label">Publication Date: </span> <span class="value">{{ publisheddate }}</span>
55
+ {% assign doi = bibdata.docidentifier | where: "type", "DOI" | first %}
56
+ {% if doi %}<span class="label">DOI: <span class="docnumber value">{{ doi.content }}</span></span>{% endif %}
55
57
  <span class="label">External identifier of this OGC® document: <span class="docnumber value">{{ externalid }}</span></span>
56
58
  <span class="label">Internal identifier of this OGC® document: <span class="docnumber value">{{ docnumber }}</span></span>
57
59
  {% if url or html %}
@@ -143,6 +143,11 @@ a.FootnoteRef, span.FootnoteRef {
143
143
  vertical-align: super;
144
144
  }
145
145
 
146
+ a.TableFootnoteRef, a.FootnoteRef, a.footnote-number,
147
+ sup a, a:has(> sup) {
148
+ vertical-align: baseline;
149
+ }
150
+
146
151
  .addition {
147
152
  color: blue;
148
153
  }