metanorma-cli 1.18.0.pre.alpha.3 → 1.18.1
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 +7 -3
- data/README.adoc +10 -0
- data/lib/metanorma/cli/git_template.rb +7 -1
- data/lib/metanorma/cli/version.rb +1 -1
- data/metanorma-cli.gemspec +3 -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: 9fd9c14886302a9fb27ad0cad4ffb6b8aff2c79605ccb1a314f1dc362a0d88c1
|
|
4
|
+
data.tar.gz: c6072089ec320f6e57bc1fb5b5ca6f134cef84fa871c3d5ce39c4bca6df36e46
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36ca86926592dd8d2cc2a2c802aa76f4d96d55384f16c210d6516b8aecaf42837759f3e1cde781b3ed2798c3a0f6d9440e28670ec45320dab216c5d2a2844f80
|
|
7
|
+
data.tar.gz: 99d96768a26706e6916804525b7a5b7ade2d8603483952081ca8b632738a0085baf6925278d8e618e2e4869762b0ea60bb65a4155a17e84f8b27099088532875
|
data/Gemfile
CHANGED
|
@@ -25,9 +25,13 @@ gem "metanorma-taste",
|
|
|
25
25
|
|
|
26
26
|
gem "relaton-cli", ">= 2.2.0.pre.alpha.1"
|
|
27
27
|
gem "relaton-bib", "~> 2.2.0.pre.alpha.1"
|
|
28
|
-
gem "pubid",
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
gem "pubid", "~> 2.0" # 2.0.0 released; the git source now carries the 2.1 pre line
|
|
29
|
+
|
|
30
|
+
# The git gem's 6.0.0 removed clone's `:path` and the Repository#branches
|
|
31
|
+
# collection (template + fontist-repo setup crashes). The template code is
|
|
32
|
+
# ported on this branch; fontist still needs its own port and release, so
|
|
33
|
+
# ride the 5.x line until then.
|
|
34
|
+
gem "git", "~> 5.7"
|
|
31
35
|
|
|
32
36
|
# Cap lutaml-model < 0.8.20: 0.8.20 relocates the XML adapter directory
|
|
33
37
|
# (xmi and other transitive gems still require the old path). The wave's
|
data/README.adoc
CHANGED
|
@@ -73,6 +73,16 @@ are installed. Please refer to the following table for them.
|
|
|
73
73
|
|===
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
== Troubleshooting: `LoadError: cannot load such file -- sassc-embedded`
|
|
77
|
+
|
|
78
|
+
The metanorma gems ship their stylesheets precompiled, and intentionally do not declare `sassc-embedded`: released-gem consumers never execute a Sass toolchain.
|
|
79
|
+
|
|
80
|
+
This LoadError appears when the bundle resolves flavor gems **from git or as prereleases that ship `.scss` sources**: isodoc's live-compilation path then runs and needs the toolchain from the consumer side. Add it to your Gemfile for that setup:
|
|
81
|
+
|
|
82
|
+
[gem "sassc-embedded"]
|
|
83
|
+
|
|
84
|
+
It is a consumer-side concern: do not declare it in a gem's gemspec.
|
|
85
|
+
|
|
76
86
|
== Usage
|
|
77
87
|
|
|
78
88
|
Refer to https://www.metanorma.org/install/usage[Metanorma CLI usage].
|
|
@@ -77,7 +77,13 @@ module Metanorma
|
|
|
77
77
|
# git gem >= 5 spawns with a chdir into the target directory, which
|
|
78
78
|
# must already exist; older versions created it implicitly
|
|
79
79
|
templates_path.mkpath
|
|
80
|
-
clone =
|
|
80
|
+
clone = if Gem::Version.new(Git::VERSION) >= Gem::Version.new("6")
|
|
81
|
+
# git 6.0 took the clone target as the second positional argument
|
|
82
|
+
# and dropped the `:path` option entirely
|
|
83
|
+
Git.clone(repo, templates_path.join(name.to_s).to_s)
|
|
84
|
+
else
|
|
85
|
+
Git.clone(repo, name, path: templates_path)
|
|
86
|
+
end
|
|
81
87
|
template_path unless clone.nil?
|
|
82
88
|
end
|
|
83
89
|
|
data/metanorma-cli.gemspec
CHANGED
|
@@ -30,6 +30,9 @@ Gem::Specification.new do |spec|
|
|
|
30
30
|
# resolution with the shim-free generation.
|
|
31
31
|
spec.add_dependency "metanorma-ietf", ">= 3.7.12.pre.alpha.1"
|
|
32
32
|
spec.add_dependency "metanorma-iso", ">= 3.5.1.pre.alpha.1"
|
|
33
|
+
# The taste-chain-aware FlavorLoader (0.2.4 resolves tastes to
|
|
34
|
+
# nonexistent metanorma-<taste> gems) - the floor names the line.
|
|
35
|
+
spec.add_dependency "metanorma-core", ">= 0.2.5.pre.alpha.1"
|
|
33
36
|
spec.add_dependency "mnconvert", "~> 1.89"
|
|
34
37
|
spec.add_dependency "metanorma-release", "~> 0.2"
|
|
35
38
|
# spec.add_dependency "thor", "~> 1.0" # inherited from vectory
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.18.
|
|
4
|
+
version: 1.18.1
|
|
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-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-ietf
|
|
@@ -38,6 +38,20 @@ dependencies:
|
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: 3.5.1.pre.alpha.1
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: metanorma-core
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 0.2.5.pre.alpha.1
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 0.2.5.pre.alpha.1
|
|
41
55
|
- !ruby/object:Gem::Dependency
|
|
42
56
|
name: mnconvert
|
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|