metanorma-cli 1.5.17.pre → 1.5.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/cli/version.rb +1 -1
- data/lib/metanorma/flavor.rb +7 -10
- data/metanorma-cli.gemspec +5 -2
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0851e37f5bafb10e44b18c4451e3fa996518f1bce6c952c335f24ed60ed6ab44'
|
4
|
+
data.tar.gz: 11a8fab794fd5c9e2435d48902f0b6bf96e300e4cbfe2b8206f5f96615bf19ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ef2df3f68ce5b5070670fbf8f9dbf036e6e5ad0c1eae0fd76c5e7e1711fdb6e6dd68e1b571b8a45e6c185981f0f6319cbc9168c2ed34ecf7f76027f64c5636
|
7
|
+
data.tar.gz: d761d1a870095daa21f22c9aebb90814bc0d6467b8512c68bc86197c562d6288ff84115bc03ecb8dd07c2bae3376b4d3362ae0a3eb1ea1c6cda3fc8e40896d86
|
data/lib/metanorma/flavor.rb
CHANGED
@@ -7,6 +7,7 @@ module Metanorma
|
|
7
7
|
SUPPORTED_GEMS = [
|
8
8
|
"metanorma-iso",
|
9
9
|
"metanorma-iec",
|
10
|
+
"metanorma-ieee",
|
10
11
|
"metanorma-ietf",
|
11
12
|
"metanorma-bipm",
|
12
13
|
"metanorma-cc",
|
@@ -36,21 +37,17 @@ module Metanorma
|
|
36
37
|
|
37
38
|
def activate
|
38
39
|
flavors.each do |flavor_name|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
Metanorma::Cli::UI.debug("#{flavor_name} is not present!")
|
43
|
-
end
|
40
|
+
gem(flavor_name)
|
41
|
+
rescue LoadError, MissingSpecError => _e
|
42
|
+
Metanorma::Cli::UI.debug("#{flavor_name} is not present!")
|
44
43
|
end
|
45
44
|
end
|
46
45
|
|
47
46
|
def load_flavors
|
48
47
|
flavors.each do |flavor_name|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
gem_loading_error(flavor_name)
|
53
|
-
end
|
48
|
+
require(flavor_name)
|
49
|
+
rescue LoadError => _e
|
50
|
+
gem_loading_error(flavor_name)
|
54
51
|
end
|
55
52
|
end
|
56
53
|
|
data/metanorma-cli.gemspec
CHANGED
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
# need for dev because locally compiled metanorma-iso does not have css
|
35
35
|
spec.add_development_dependency "rubocop", "~> 1.5.2"
|
36
36
|
spec.add_development_dependency "sassc"
|
37
|
-
#spec.add_runtime_dependency "metanorma-nist", "~> 2.1.0"
|
37
|
+
# spec.add_runtime_dependency "metanorma-nist", "~> 2.1.0"
|
38
38
|
|
39
39
|
spec.add_runtime_dependency "metanorma-ietf", "~> 3.0.0"
|
40
40
|
spec.add_runtime_dependency "metanorma-iso", "~> 2.1.0"
|
@@ -56,10 +56,13 @@ Gem::Specification.new do |spec|
|
|
56
56
|
spec.add_runtime_dependency "metanorma-iho", "~> 0.6.0"
|
57
57
|
spec.add_runtime_dependency "metanorma-itu", "~> 2.1.0"
|
58
58
|
# spec.add_runtime_dependency "metanorma-nist", "~> 2.1.0"
|
59
|
+
spec.add_runtime_dependency "metanorma-ieee", "~> 0.0.1"
|
59
60
|
spec.add_runtime_dependency "metanorma-ogc", "~> 2.1.0"
|
60
61
|
spec.add_runtime_dependency "metanorma-un", "~> 0.9.0"
|
61
62
|
spec.add_runtime_dependency "relaton-cli", ">= 0.8.2"
|
62
63
|
|
63
64
|
spec.add_runtime_dependency "socksify"
|
64
|
-
#spec.metadata["rubygems_mfa_required"] = "true"
|
65
|
+
# spec.metadata["rubygems_mfa_required"] = "true"
|
66
|
+
# spec.metadata["rubygems_mfa_required"] = "true"
|
67
|
+
# NOBODY UNCOMMENTS THIS WITHOUT EXPLAINING TO ME HOW TO USE MFA
|
65
68
|
end
|
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.5.
|
4
|
+
version: 1.5.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debug
|
@@ -374,6 +374,20 @@ dependencies:
|
|
374
374
|
- - "~>"
|
375
375
|
- !ruby/object:Gem::Version
|
376
376
|
version: 2.1.0
|
377
|
+
- !ruby/object:Gem::Dependency
|
378
|
+
name: metanorma-ieee
|
379
|
+
requirement: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - "~>"
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: 0.0.1
|
384
|
+
type: :runtime
|
385
|
+
prerelease: false
|
386
|
+
version_requirements: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - "~>"
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: 0.0.1
|
377
391
|
- !ruby/object:Gem::Dependency
|
378
392
|
name: metanorma-ogc
|
379
393
|
requirement: !ruby/object:Gem::Requirement
|
@@ -508,11 +522,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
508
522
|
version: 2.5.0
|
509
523
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
510
524
|
requirements:
|
511
|
-
- - "
|
525
|
+
- - ">="
|
512
526
|
- !ruby/object:Gem::Version
|
513
|
-
version:
|
527
|
+
version: '0'
|
514
528
|
requirements: []
|
515
|
-
rubygems_version: 3.3.
|
529
|
+
rubygems_version: 3.3.16
|
516
530
|
signing_key:
|
517
531
|
specification_version: 4
|
518
532
|
summary: Metanorma is the standard of standards; the metanorma gem allows you to create
|