suma 0.5.45 → 0.5.46
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/.github/workflows/release.yml +7 -0
- data/lib/suma/delivery/site_verifier.rb +5 -0
- data/lib/suma/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: 85a9c26d83622207b34e74ff9079c36a8111cf87afb0e571b732a8f83b852f8d
|
|
4
|
+
data.tar.gz: 2cdffdf12e5e539ea0c96d8608ee0affe428bd03a4046f5ec1bfd11d3d3182bf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 98ce215e152ba83d93c686bfb6d239b485e0d49832894d73fcff70f73580840d23d084f488cb0579bb4ccd98e956a971578e3e544f510dc59ca44423252735cb
|
|
7
|
+
data.tar.gz: b3e7d4d2e7961d5a09a2b137505191a5d4797eaf5bf377bba25b8cd1a4fc14ac6382a1ff1c325fa2aecc03827b576a4113fd7d037e35f12f0a7f816e0032b02a
|
|
@@ -13,12 +13,19 @@ on:
|
|
|
13
13
|
default: 'skip'
|
|
14
14
|
repository_dispatch:
|
|
15
15
|
types: [ do-release ]
|
|
16
|
+
# The publish leg: when the release PR (head branch release/v*) merges,
|
|
17
|
+
# metanorma/ci tags the merge commit and publishes (metanorma/ci#515).
|
|
18
|
+
# Ordinary PR closes are skipped inside the reusable workflow.
|
|
19
|
+
pull_request:
|
|
20
|
+
types:
|
|
21
|
+
- closed
|
|
16
22
|
|
|
17
23
|
# Least-privilege ceiling for the called rubygems-release.yml: its release job
|
|
18
24
|
# needs contents:write (git tag push) and id-token:write (OIDC Trusted Publishing).
|
|
19
25
|
permissions:
|
|
20
26
|
contents: write
|
|
21
27
|
id-token: write
|
|
28
|
+
pull-requests: write
|
|
22
29
|
|
|
23
30
|
jobs:
|
|
24
31
|
release:
|
|
@@ -152,6 +152,11 @@ module Suma
|
|
|
152
152
|
# leakage).
|
|
153
153
|
def check_asciidoc_leakage(doc, rel_path, report)
|
|
154
154
|
leaks = doc.xpath("//text()").sum do |node|
|
|
155
|
+
# The annotated-EXPRESS source listing shows the macros as
|
|
156
|
+
# written by design (the source-fidelity listing); only macros
|
|
157
|
+
# rendered outside listings are leakage.
|
|
158
|
+
next 0 if inside_listing?(node)
|
|
159
|
+
|
|
155
160
|
text = node.text.to_s
|
|
156
161
|
text.scan(ASCIIDOC_MACROS_RE).size + (text.strip == "+" ? 1 : 0)
|
|
157
162
|
end
|
data/lib/suma/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: suma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.46
|
|
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-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|