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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44a52b9a312d6af31420243ee562755d4e156253c7b8565efaa888fce430176d
4
- data.tar.gz: edb7f284406703d9efe0f3555daf6454b86c5f52ceee0fd5b568cf5702d5fd7e
3
+ metadata.gz: 5f140725e090d39e8388d4a29f78bb9b6c047df382353c819a42b3ababd6a4b4
4
+ data.tar.gz: 3283417b8e899ff92265044d40f56e332fea21d480b467b2dbf5f7b07ce7a3e1
5
5
  SHA512:
6
- metadata.gz: 3357016894027162a4e637eb97bc471ceb52c55c4f8ded2cfee27f6ba6c2d852c2cfe1e9a796558bd6f28bf7933c690e6865967a71dee9461deda0b48a1c3342
7
- data.tar.gz: 224174d84b20bc739ed6c4489d10a3f5b8f3b1db316bb6b5819c12b487ae4b59cef8a1c12125ae421e35168377b6bc6e34ce92bae2c1908ae61ab379ebd60961
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
- rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
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
- - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.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
6
22
 
7
23
  # local repo-specific modifications
8
24
  # ...
9
25
 
10
26
  AllCops:
11
- TargetRubyVersion: 2.5
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
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Datastruct
4
- VERSION = "0.3.13".freeze
4
+ VERSION = "0.3.14".freeze
5
5
  end
6
6
  end
7
7
  end
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.13
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-06 00:00:00.000000000 Z
11
+ date: 2026-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor