suma 0.5.1 → 0.5.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/release.yml +10 -0
- data/.rubocop.yml +8 -0
- data/lib/suma/schema_collection.rb +4 -1
- data/lib/suma/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3f9f2ba538c3f9515549875292447ece09cc661afd3357af6b2662052afeb8aa
|
|
4
|
+
data.tar.gz: a8fbfe210cb3d5e112ef03632c8f93678a02a59c307bb2407491dae30471d455
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9b4920a4a4961319ac8ee67abccf38557b41d19f12d579711f20310429af4a9532be3204e11384ecb52fe6a22db82967fa7afd7a24bca15fb5f77357a0bdffe
|
|
7
|
+
data.tar.gz: 1a03d235c43500e7361fe8002cfb877944285a608cca4ee8be5edde1904cccb6fb0d7cda2df0b93b1f3a56574ff642651f1461bbda8f0c0f5875fdec7ca56ab0
|
|
@@ -19,6 +19,16 @@ jobs:
|
|
|
19
19
|
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
|
|
20
20
|
with:
|
|
21
21
|
next_version: ${{ github.event.inputs.next_version }}
|
|
22
|
+
# Explicit release_command needed since metanorma/ci#314 deprecated
|
|
23
|
+
# `bundler_cache` (hardcoded to false) — the reusable's release job no
|
|
24
|
+
# longer runs `bundle install` implicitly via ruby/setup-ruby, so the
|
|
25
|
+
# default `bundle exec rake release` fires against uninstalled gems.
|
|
26
|
+
# Surfaced by kwkwan on metanorma-plugin-lutaml#285. Deeper fix
|
|
27
|
+
# (bundle install inside rubygems-release.yml's release job) tracked
|
|
28
|
+
# separately.
|
|
29
|
+
release_command: |
|
|
30
|
+
bundle install
|
|
31
|
+
bundle exec rake release
|
|
22
32
|
secrets:
|
|
23
33
|
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
|
|
24
34
|
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
data/.rubocop.yml
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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
15
|
# Rubocop plugins enabled centrally so every metanorma-org gem picks them up
|
|
@@ -58,9 +58,12 @@ module Suma
|
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
def process_schema(config_schema, template_class)
|
|
61
|
+
category = SchemaCategory.for_schema(
|
|
62
|
+
id: config_schema.id, path: config_schema.path.to_s,
|
|
63
|
+
)
|
|
61
64
|
express = ExpressSchema.new(
|
|
62
65
|
id: config_schema.id, path: config_schema.path.to_s,
|
|
63
|
-
output_path: @output_path_schemas.to_s
|
|
66
|
+
output_path: @output_path_schemas.join(category.directory).to_s
|
|
64
67
|
)
|
|
65
68
|
|
|
66
69
|
compiler = SchemaCompiler.new(
|
data/lib/suma/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date:
|
|
11
|
+
date: 2026-07-28 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
14
|
name: expressir
|
|
@@ -253,6 +254,7 @@ licenses:
|
|
|
253
254
|
- BSD-2-Clause
|
|
254
255
|
metadata:
|
|
255
256
|
rubygems_mfa_required: 'true'
|
|
257
|
+
post_install_message:
|
|
256
258
|
rdoc_options: []
|
|
257
259
|
require_paths:
|
|
258
260
|
- lib
|
|
@@ -267,7 +269,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
267
269
|
- !ruby/object:Gem::Version
|
|
268
270
|
version: '0'
|
|
269
271
|
requirements: []
|
|
270
|
-
rubygems_version:
|
|
272
|
+
rubygems_version: 3.5.22
|
|
273
|
+
signing_key:
|
|
271
274
|
specification_version: 4
|
|
272
275
|
summary: Utility for SUMA (STEP Unified Model-Based Standards Architecture)
|
|
273
276
|
test_files: []
|