metanorma-cli 1.7.0 → 1.7.1
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/collection.rb +3 -4
- data/lib/metanorma/cli/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: 02574e7929bebfce46a37180a0953ce5aefd6113fcb5a3d7e5799ca8bbea2030
|
4
|
+
data.tar.gz: ccc4616c73b9249b440970299a3783ef2cdd5fcb70c332a0a4eb7093e9e93824
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0928c8a1c3bc9eaebb9d13d85ee22506b4e14c492d23959721e4cc7b1dc5a1687546be120c905f2616a195ebd287829aff8ff26398d4a89c714a2f7efaede693'
|
7
|
+
data.tar.gz: 68c8f106254a8cc16eda790705952e551263af2d528accbec226ad9964fea89f10a7595c38975d38bbbd45b721c5d7bd83066bb6a179a7f4de20edb7d4921535
|
@@ -35,8 +35,8 @@ module Metanorma
|
|
35
35
|
@collection_options ||= {
|
36
36
|
compile: @compile_options,
|
37
37
|
output_folder: build_output_folder,
|
38
|
-
coverpage: options.fetch(:coverpage, nil),
|
39
|
-
format: collection_output_formats(options.fetch(:format, "")),
|
38
|
+
coverpage: @options.fetch(:coverpage, nil),
|
39
|
+
format: collection_output_formats(@options.fetch(:format, "")),
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -59,13 +59,12 @@ module Metanorma
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def extract_options_from_file
|
62
|
-
if options.empty?
|
63
62
|
yaml_file = YAML.safe_load(File.read(@file.to_s))
|
64
63
|
|
65
64
|
@options = Cli.with_indifferent_access(
|
66
65
|
yaml_file.slice("coverpage", "format", "output_folder"),
|
67
66
|
)
|
68
|
-
|
67
|
+
@options.merge!(options)
|
69
68
|
end
|
70
69
|
end
|
71
70
|
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.7.
|
4
|
+
version: 1.7.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: 2023-04-
|
11
|
+
date: 2023-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debug
|