metanorma-cli 1.5.17 → 1.5.18.pre
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: c1601f0ff711fb22530caaa98747d61eacadec8e9669fc5833e4c9e1dea41b34
|
4
|
+
data.tar.gz: 14dd8d4490dc2584192a9a75faa5be0bb1f8828ada59cfbe813134a4118cff9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5b2d2acbba3ce893d8ff70e97e76368364acd08556d3bba8b45e190ed79dccb3b5a4238739e03266561755f95d0eb4c9f58c99831cfa685dc7c259ad6db880d
|
7
|
+
data.tar.gz: cf3eaba88d21e0b079b8ad0a3915d574ec31386f97adf84a505bdd70d0079f01ebe160f6687611095cd10dc229d187e2faa83171f722d284ec953b34a28c5550
|
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.pre
|
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-21 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: 1.3.1
|
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
|