metanorma-cli 1.7.0 → 1.7.1.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ed6824aa3ab577712ff88ee31e6d6ac12058cd3719df1877fd1c268089aa2d2
4
- data.tar.gz: 7726beadc15033ec2a3390fbea89b15559b1a5d32efe3fd8826d083e81c55555
3
+ metadata.gz: 9b834b08cd66e5d83c2ebfdefa3f43582bdd68a97b0252a17491545a0fac2bd9
4
+ data.tar.gz: 6af82cc7d24942152446159322679e580e663b7d29b758aacf94b41561d1e1fc
5
5
  SHA512:
6
- metadata.gz: beb3b3950eab17442711ca5379e9d58bff421b980c19872f7699bad1caf6a4a7cdbe8b8324324e88486d70c0685be2af741473ce57f3974f6d7e39ed27c8687c
7
- data.tar.gz: d8e2e54d1837332a59b8f587acf8da318b046fba8ba2e6b6a2b10bf6098029942342ba034f46b3d7504b1868debd0756766514ec5a18e6c10456d74d84a5c68f
6
+ metadata.gz: e2dc470b8262680bbaa73ba7437f620e3741cc36b4ef2d713e8eb7806dd7261e22e9b04d565dc7d8a1b5c7cdc7d51353c394bbddecc62fcebc7e87e0053ed2e7
7
+ data.tar.gz: d0a97e63f0620184ea7efc8952b3b82eb3f17a0aadbbf55a3ddaff2c008f79c25fa289e86fdaac59792c520c25316eaefade3bbc92679f113e76b38d9bada8e3
@@ -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
- end
67
+ @options.merge!(options)
69
68
  end
70
69
  end
71
70
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Cli
3
- VERSION = "1.7.0".freeze
3
+ VERSION = "1.7.1.pre".freeze
4
4
  end
5
5
  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.0
4
+ version: 1.7.1.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: 2023-04-11 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debug
@@ -478,9 +478,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
478
478
  version: 2.7.0
479
479
  required_rubygems_version: !ruby/object:Gem::Requirement
480
480
  requirements:
481
- - - ">="
481
+ - - ">"
482
482
  - !ruby/object:Gem::Version
483
- version: '0'
483
+ version: 1.3.1
484
484
  requirements: []
485
485
  rubygems_version: 3.3.26
486
486
  signing_key: