revix 0.2.1 → 0.2.2
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/rake.yml +8 -3
- data/.github/workflows/release.yml +7 -5
- data/.rubocop.yml +19 -7
- data/lib/revix/version.rb +1 -1
- data/lib/revix.rb +0 -1
- data/revix.gemspec +4 -0
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3fe819eddd58458eb5a1fa2133888b609743063d21262575c6fccf7c34143e25
|
|
4
|
+
data.tar.gz: 57d0e745e3bd713630b01eceddf103c0ffdf5fdf4db1ba083edfba8228784714
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdbf0f0f94bcaa65607be94ba80132bd3ceac9870952e61726735fde290aa266358d77411de7a02424ddefd04d3da702bb4b76dea711c1bb6d991297ca375987
|
|
7
|
+
data.tar.gz: c1c995e77eda13504377651245a6feb71cdf90f75075f9372b48219cb75db72197a5e6346c1e023976d40e5a5d98d428996ca27cd6e54bc59c7465bf6aea90b9
|
data/.github/workflows/rake.yml
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
1
|
+
# Formerly cimas-managed. Now consumer-owned per metanorma/cimas#68
|
|
2
|
+
# (workflow-file conversion from cimas-synced copied stubs to reusable-workflow
|
|
3
|
+
# references). Pins metanorma/ci reusable at @v1 (moving major, three-tier
|
|
4
|
+
# tagging discipline per metanorma/ci#372).
|
|
3
5
|
name: rake
|
|
4
6
|
|
|
5
7
|
on:
|
|
@@ -8,8 +10,11 @@ on:
|
|
|
8
10
|
tags: [ v* ]
|
|
9
11
|
pull_request:
|
|
10
12
|
|
|
13
|
+
permissions:
|
|
14
|
+
contents: write
|
|
15
|
+
|
|
11
16
|
jobs:
|
|
12
17
|
rake:
|
|
13
|
-
uses: metanorma/ci/.github/workflows/generic-rake.yml@
|
|
18
|
+
uses: metanorma/ci/.github/workflows/generic-rake.yml@v1
|
|
14
19
|
secrets:
|
|
15
20
|
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
|
@@ -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:
|
|
@@ -19,6 +14,12 @@ on:
|
|
|
19
14
|
repository_dispatch:
|
|
20
15
|
types: [ do-release ]
|
|
21
16
|
|
|
17
|
+
# Least-privilege ceiling for the called rubygems-release.yml: its release job
|
|
18
|
+
# needs contents:write (git tag push) and id-token:write (OIDC Trusted Publishing).
|
|
19
|
+
permissions:
|
|
20
|
+
contents: write
|
|
21
|
+
id-token: write
|
|
22
|
+
|
|
22
23
|
jobs:
|
|
23
24
|
release:
|
|
24
25
|
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
|
@@ -27,3 +28,4 @@ jobs:
|
|
|
27
28
|
secrets:
|
|
28
29
|
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
|
29
30
|
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
|
31
|
+
|
data/.rubocop.yml
CHANGED
|
@@ -2,18 +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.
|
|
5
13
|
- .rubocop_todo.yml
|
|
6
14
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
# local repo-specific modifications
|
|
12
|
-
# ...
|
|
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.
|
|
13
18
|
plugins:
|
|
14
19
|
- rubocop-rspec
|
|
15
20
|
- rubocop-performance
|
|
16
21
|
- rubocop-rake
|
|
17
22
|
|
|
23
|
+
# local repo-specific modifications
|
|
24
|
+
# ...
|
|
25
|
+
|
|
18
26
|
AllCops:
|
|
19
|
-
|
|
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
|
data/lib/revix/version.rb
CHANGED
data/lib/revix.rb
CHANGED
data/revix.gemspec
CHANGED
|
@@ -31,4 +31,8 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.require_paths = ["lib"]
|
|
32
32
|
|
|
33
33
|
spec.add_dependency "lutaml-model", "~> 0.8.0"
|
|
34
|
+
|
|
35
|
+
# The spec suite pins the nokogiri adapter (xml_adapter_type =
|
|
36
|
+
# :nokogiri); runtime XML goes through moxml via lutaml-model.
|
|
37
|
+
spec.add_development_dependency "nokogiri"
|
|
34
38
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: revix
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-model
|
|
@@ -24,6 +24,20 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: 0.8.0
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: nokogiri
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
27
41
|
description:
|
|
28
42
|
email:
|
|
29
43
|
- open.source@ribose.com
|