suma 0.5.4 → 0.5.6

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: f6a70a78b69206429eb11f3798c6c7f6e0fcfb2a3c46fd2dcea9e605b9ed230f
4
- data.tar.gz: 8ba4c119da7747d212a4e1e85d13a4cbf0191cc780566f4f8a0fbca0529eb91a
3
+ metadata.gz: 95bc9b340767979f3dab6ec033a48eacae9b2ba2147947f2ade03a6393950aa5
4
+ data.tar.gz: 27987b3cb6be6c365f489d8724650f66033cc03c2ce5ef489ef3821eea8979de
5
5
  SHA512:
6
- metadata.gz: 2b695befb4db91a60adbb4b43739367e5187d9e07b4c97610b0843886cfbed4bc53ce6ac7ce43764fa27e9f6d9c46db9b57dfc2e298944429524b9fe7abbdd4b
7
- data.tar.gz: d8c3bc865349f54b50425b130f527b863442d43a50cdafe820a0fa37dad103300b8cfd2e0c3fbf5304039e1af592db2b8d1cd03f3e0bbe8db7ccce1f55f9f9d4
6
+ metadata.gz: 1b281a2a57f5817c1b41bbbcb5eaccee814d8936e8b75635f44a6426a98ff923161d7a05dd3a4388dd9aa880270d1bcaf11fd529968f27d69d49dc1b520decc2
7
+ data.tar.gz: 4fc0ed29b326636151fc77291427585f1472346ff4489eb2dbcdc867706fcfb2e7490921142bce1906a0d4bcc72d0da1a198ffce5537e1522af9918d280f9738
data/Gemfile CHANGED
@@ -13,10 +13,39 @@ gem "canon"
13
13
  # dropped: CI builds against a stable released metanorma, not a floating branch.
14
14
  # Flavor gem needed to compile the dummy-collection integration fixture
15
15
  # (spec/fixtures/dummy_collection, suma#107).
16
- gem "metanorma-iso"
16
+ # metanorma-iso releases (<= 3.5.0) require "pubid-iso"/"pubid-cen"/
17
+ # "pubid-iec" (pubid 1.15 split gems) that do not exist on the relaton-3
18
+ # chain, and whose lib/pubid/*.rb collide with the pubid 2 monolith's.
19
+ # The pubid-2 migration is on metanorma-iso main; it needs the unreleased
20
+ # metanorma-standoc "Standoc::Document" split, so pin that from main too.
21
+ # Flip both to released gems once metanorma-iso releases the migration.
22
+ gem "metanorma-iso", github: "metanorma/metanorma-iso", branch: "main"
23
+ gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
24
+ # metanorma#607 (drop localized <edition> variants before the relaton
25
+ # parse; metanorma-iso main emits them) landed on main, where the
26
+ # collection document parser lives at
27
+ # lib/metanorma/collection/document/document.rb.
28
+ gem "metanorma", github: "metanorma/metanorma", branch: "main"
29
+ # iso/standoc main also use unreleased metanorma-document 0.5.x model
30
+ # classes (e.g. Components::Inline::TermrefElement).
31
+ gem "metanorma-document", github: "metanorma/metanorma-document", branch: "main"
32
+ # Collection/Compile implementation gem the main-line metanorma stack
33
+ # resolves against (standoc main needs ~> 0.2.3).
34
+ gem "metanorma-core", github: "metanorma/metanorma-core", branch: "main"
35
+ # Main-line isodoc carries the relaton-render ~> 3.0.0.pre.alpha family
36
+ # allowance (< 5) that metanorma-iso main's CitationStyle needs
37
+ # (deep_symbolize / Iso690::Renderer exist only on the family
38
+ # prerelease); the released 3.7.3 still pins relaton-render ~> 1.3.0
39
+ # and crashes collection renders. Revert to the released gem once an
40
+ # isodoc release carries the allowance.
41
+ gem "isodoc", github: "metanorma/isodoc", branch: "main"
42
+ # relaton 3 prerelease floor: names the family prerelease for
43
+ # resolution (isodoc's relaton-render range alone is prerelease-blind).
44
+ gem "relaton", "~> 3.0.0.pre.alpha"
17
45
  # gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "main"
18
46
  # gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
19
47
  # gem "expressir", github: "lutaml/expressir", branch: "main"
48
+ gem "expressir", "2.4.27"
20
49
  gem "nokogiri"
21
50
  gem "openssl", "~> 3.0"
22
51
  gem "rake"
@@ -25,25 +54,11 @@ gem "rubocop"
25
54
  gem "rubocop-performance"
26
55
  gem "rubocop-rake"
27
56
  gem "rubocop-rspec"
28
- # Expressir >= 2.4.4 passes the lutaml-model `serialize:` mapping
29
- # kwarg, which needs lutaml-model >= 0.8.50, which needs rubyzip ~> 3,
30
- # which needs glossarist >= 2.14, which needs relaton ~> 3.0.0.pre.alpha
31
- # — a chain no RELEASED metanorma accepts. Left unpinned, the resolver
32
- # lands on expressir 2.4.5 (whose gemspec under-declares its
33
- # lutaml-model floor) + lutaml-model 0.8.29, a pair that crashes at
34
- # load with `unknown keyword: :serialize`. Pin the last released
35
- # expressir that works on this chain; lift once a released metanorma
36
- # accepts relaton 3.
37
- gem "expressir", "2.4.3"
38
-
39
- # Metanorma 2.5.5 was released referencing Metanorma::Core::Flavors,
40
- # which only exists in unreleased metanorma-core; its gemspec
41
- # under-declares the metanorma-core floor, so fresh resolves crash at
42
- # Metanorma::Collection.parse. Stay on the last consistent release
43
- # until metanorma-core ships.
44
- gem "metanorma", "< 2.5.5"
45
-
46
- # metanorma-plugin-lutaml 0.7.52+ calls Expressir::Express::LazyRepository
47
- # (expressir >= 2.4.20) but its gemspec still allows expressir >= 2.3.5,
48
- # breaking builds on the pinned expressir line above.
49
- gem "metanorma-plugin-lutaml", "< 0.7.52"
57
+ # isodoc 3.7.3 `require`s "sassc-embedded" while rendering HTML but does
58
+ # not declare it.
59
+ gem "sassc-embedded", "~> 1.0"
60
+ # relaton-render's floor (>= 2.0.0.pre.alpha.6) admits the stale June
61
+ # 2.2.0.pre prerelease, which predates lutaml-model 0.8.78's strict
62
+ # collection checks (duplicate <edition> raise). 2.1.9 is the current
63
+ # lutaml-model-0.8 line.
64
+ gem "relaton-bib", "2.1.9"
@@ -35,9 +35,9 @@ module Suma
35
35
  [%unnumbered,type=express]
36
36
  == #{schema_id} #{rendered_anchors}
37
37
 
38
- [source%unnumbered]
38
+ [source%unnumbered,subs="+macros"]
39
39
  --
40
- {{ schema.formatted }}
40
+ {{ schema.formatted_hyperlinked_adoc }}
41
41
  --
42
42
  {% endfor %}
43
43
  ----
@@ -7,6 +7,7 @@ module Suma
7
7
  autoload :Report, "suma/svg_quality/report"
8
8
  autoload :BatchReport, "suma/svg_quality/batch_report"
9
9
  autoload :Scanner, "suma/svg_quality/scanner"
10
+ autoload :Formatters, "suma/svg_quality/formatters"
10
11
 
11
12
  module QualityTiers
12
13
  CRITICAL = { name: :critical, min_errors: 200, emoji: "💥" }.freeze
data/lib/suma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Suma
4
- VERSION = "0.5.4"
4
+ VERSION = "0.5.6"
5
5
  end
data/suma.gemspec CHANGED
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
40
40
  spec.add_dependency "plurimath"
41
41
  spec.add_dependency "ruby-progressbar"
42
42
  spec.add_dependency "rubyzip"
43
- spec.add_dependency "svg_conform", "~> 0.1.0"
43
+ spec.add_dependency "svg_conform", ">= 0.1.0"
44
44
  spec.add_dependency "table_tennis"
45
45
  spec.add_dependency "thor", ">= 0.20"
46
46
 
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
4
+ version: 0.5.6
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-09-28 00:00:00.000000000 Z
11
+ date: 2026-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: expressir
@@ -118,14 +118,14 @@ dependencies:
118
118
  name: svg_conform
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - "~>"
121
+ - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: 0.1.0
124
124
  type: :runtime
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - "~>"
128
+ - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: 0.1.0
131
131
  - !ruby/object:Gem::Dependency