suma 0.5.5 → 0.5.7
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/Gemfile +27 -7
- data/lib/suma/svg_quality.rb +1 -0
- data/lib/suma/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: 98f57b1e48077074a8b282922f6b1196a718fc50bfae43d31fe81dad940d0092
|
|
4
|
+
data.tar.gz: 3c0982d9e700c84b6cfc9030d835cef3f2bd34ae3309df3ce622f25301124a11
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95856f79045ee2124742c28d86c18fe50401bbc642ad44872912b0e05e31713a9fb479601a18f0320810583f2a2ae1b5de2d5d897815668d56087f6078af7d90
|
|
7
|
+
data.tar.gz: d0514ee213feaed81c9f4d79ff10728634c60ba5c731cc9a2dc9adae64fa87d45ec7512c6697eb31c5de9efc9f75198449d90631d1a032c69e65833b3aee7bc3
|
data/Gemfile
CHANGED
|
@@ -21,17 +21,31 @@ gem "canon"
|
|
|
21
21
|
# Flip both to released gems once metanorma-iso releases the migration.
|
|
22
22
|
gem "metanorma-iso", github: "metanorma/metanorma-iso", branch: "main"
|
|
23
23
|
gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
|
|
24
|
-
# metanorma#607
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
|
|
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"
|
|
28
29
|
# iso/standoc main also use unreleased metanorma-document 0.5.x model
|
|
29
30
|
# classes (e.g. Components::Inline::TermrefElement).
|
|
30
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"
|
|
31
45
|
# gem "metanorma-plugin-lutaml", github: "metanorma/metanorma-plugin-lutaml", branch: "main"
|
|
32
46
|
# gem "metanorma-standoc", github: "metanorma/metanorma-standoc", branch: "main"
|
|
33
47
|
# gem "expressir", github: "lutaml/expressir", branch: "main"
|
|
34
|
-
gem "expressir", "2.4.
|
|
48
|
+
gem "expressir", "2.4.35"
|
|
35
49
|
gem "nokogiri"
|
|
36
50
|
gem "openssl", "~> 3.0"
|
|
37
51
|
gem "rake"
|
|
@@ -40,8 +54,14 @@ gem "rubocop"
|
|
|
40
54
|
gem "rubocop-performance"
|
|
41
55
|
gem "rubocop-rake"
|
|
42
56
|
gem "rubocop-rspec"
|
|
43
|
-
# isodoc
|
|
44
|
-
#
|
|
57
|
+
# isodoc only `require`s "sassc-embedded" when compiling SCSS at
|
|
58
|
+
# runtime (css.rb#convert_scss). Release-built isodoc gems ship
|
|
59
|
+
# precompiled .css (gem_tasks compiles lib/**/*.scss during `rake
|
|
60
|
+
# build`, then git-rm's it), so consumers of released isodoc never
|
|
61
|
+
# load it. Suma rides isodoc from git, whose artifact carries only
|
|
62
|
+
# .scss, so every HTML render goes through convert_scss and needs
|
|
63
|
+
# this shim (verified: HTML builds LoadError without it).
|
|
64
|
+
# Re-evaluate once suma rides released isodoc.
|
|
45
65
|
gem "sassc-embedded", "~> 1.0"
|
|
46
66
|
# relaton-render's floor (>= 2.0.0.pre.alpha.6) admits the stale June
|
|
47
67
|
# 2.2.0.pre prerelease, which predates lutaml-model 0.8.78's strict
|
data/lib/suma/svg_quality.rb
CHANGED
|
@@ -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
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
|
+
version: 0.5.7
|
|
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-10-
|
|
11
|
+
date: 2026-10-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: expressir
|