metanorma-plugin-datastruct 0.3.13 → 0.3.14
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 +20 -6
- data/.rubocop.yml +22 -2
- data/lib/metanorma/plugin/datastruct/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: 5f140725e090d39e8388d4a29f78bb9b6c047df382353c819a42b3ababd6a4b4
|
|
4
|
+
data.tar.gz: 3283417b8e899ff92265044d40f56e332fea21d480b467b2dbf5f7b07ce7a3e1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc70a5f233c98981c2007679b83a469164c82257c6671e0d6e66fe49f8fcefb9c025e12f6c6b0e94aa51b427d59d786c2c077ed6e9164dca1779fb4e32334487
|
|
7
|
+
data.tar.gz: 6a66668b2a40dcc389dd6de45cdb9ae460de266ea33483d9aead2f340a158b1004b2b05f8bc12e9363be3df0098ed4a3220a4f3e6dfe81208884cb1eb53120cc
|
|
@@ -2,11 +2,6 @@
|
|
|
2
2
|
# See https://github.com/metanorma/cimas
|
|
3
3
|
name: release
|
|
4
4
|
|
|
5
|
-
permissions:
|
|
6
|
-
contents: write
|
|
7
|
-
packages: write
|
|
8
|
-
id-token: write
|
|
9
|
-
|
|
10
5
|
on:
|
|
11
6
|
workflow_dispatch:
|
|
12
7
|
inputs:
|
|
@@ -18,6 +13,21 @@ on:
|
|
|
18
13
|
default: 'skip'
|
|
19
14
|
repository_dispatch:
|
|
20
15
|
types: [ do-release ]
|
|
16
|
+
# The publish leg: when the release PR (head branch `release/v*`) merges,
|
|
17
|
+
# the reusable tags the merge commit and publishes (ci#515). Ordinary PR
|
|
18
|
+
# closes are skipped inside the reusable — no noise on regular merges.
|
|
19
|
+
pull_request:
|
|
20
|
+
types:
|
|
21
|
+
- closed
|
|
22
|
+
|
|
23
|
+
# Least-privilege ceiling for the called rubygems-release.yml: its release job
|
|
24
|
+
# needs contents:write (git tag push), id-token:write (OIDC Trusted Publishing),
|
|
25
|
+
# and pull-requests:write (the release-PR leg opens and auto-merges the release
|
|
26
|
+
# PR — ci#515; reusable workflows are capped by the caller's permissions).
|
|
27
|
+
permissions:
|
|
28
|
+
contents: write
|
|
29
|
+
id-token: write
|
|
30
|
+
pull-requests: write
|
|
21
31
|
|
|
22
32
|
jobs:
|
|
23
33
|
release:
|
|
@@ -25,5 +35,9 @@ jobs:
|
|
|
25
35
|
with:
|
|
26
36
|
next_version: ${{ github.event.inputs.next_version }}
|
|
27
37
|
secrets:
|
|
28
|
-
|
|
38
|
+
# Trusted Publishing (OIDC) is the only publish path: the org
|
|
39
|
+
# METANORMA_CI_RUBYGEMS_API_KEY secret was deleted (metanorma/ci#373),
|
|
40
|
+
# and rubygems-release.yml falls through to the OIDC/TP flow when the
|
|
41
|
+
# rubygems-api-key secret is absent (metanorma/ci#416).
|
|
29
42
|
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
|
43
|
+
|
data/.rubocop.yml
CHANGED
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
# Auto-generated by Cimas: Do not edit it manually!
|
|
2
2
|
# See https://github.com/metanorma/cimas
|
|
3
3
|
inherit_from:
|
|
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.
|
|
4
13
|
- .rubocop_todo.yml
|
|
5
|
-
|
|
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
|
|
6
22
|
|
|
7
23
|
# local repo-specific modifications
|
|
8
24
|
# ...
|
|
9
25
|
|
|
10
26
|
AllCops:
|
|
11
|
-
|
|
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
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-plugin-datastruct
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.14
|
|
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
|
+
date: 2026-12-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: asciidoctor
|