metanorma 1.4.9 → 1.4.10

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: fa8bc65943192736f6bb4e68cc84d227354ff2580ef4da93869d9a94bdb795a6
4
- data.tar.gz: 7cc4d04b32502c655b856c0214fd6ccd6bad5fadf81a7564598df43cf5afc526
3
+ metadata.gz: 01e0ef1fb800a027426b26230c47f67cd4629e986f5536a20911a2efd1c5cd51
4
+ data.tar.gz: 741ac82a66a23a10c256d0834a60325d9101fb0ceadd4fa343a76e14f11bf563
5
5
  SHA512:
6
- metadata.gz: 513e588086bc7a486e5538d0b8d4d9cb212ce0bf7248d5c4f033a92a3ea7bb2804c550bca99b05ed882fc79fdb69ce68878d89ae819ee75facca92f36749780d
7
- data.tar.gz: 4855c3739529440c2cbc8a3d60330f9723872e7cd8a36ccd925024e4a6bdb7e2a437ba604acbc498603c75fdf5b670db3f691a6305f0d5b20bbb3e815ac8d89c
6
+ metadata.gz: f719f4ca32eb7a5388dfe717b2c6171cbe35ed5bbfa091e07124c20e2f383c498cb9d0eb93cd6cf780c2949abf2d25ae973578f53a6ffa6c328c27bbe6b5ab91
7
+ data.tar.gz: ef0261286cbc8ad7a4b2a559dcda2b1e6f3fce81b73ea0ed125338b51959af4fd197ac240bca91942eb30308fa82cb249a4693d12450c477d1d0a62a4ec5f0cf
@@ -24,10 +24,10 @@ module Metanorma
24
24
  # @param mnf [Nokogiri::XML::Element]
25
25
  # @return [Metanorma::CollectionManifest]
26
26
  def from_yaml(mnf)
27
- manifest = RelatonBib::HashConverter.array(mnf["manifest"]).map do |m|
27
+ manifest = RelatonBib.array(mnf["manifest"]).map do |m|
28
28
  from_yaml m
29
29
  end
30
- docref = RelatonBib::HashConverter.array mnf["docref"]
30
+ docref = RelatonBib.array mnf["docref"]
31
31
  new(mnf["level"], mnf["title"], docref, manifest)
32
32
  end
33
33
 
@@ -38,6 +38,12 @@ module Metanorma
38
38
  end
39
39
 
40
40
  def fontist_install(manifest, agree, no_progress)
41
+ if agree
42
+ no_license_log
43
+ else
44
+ Fontist.log_level = :info
45
+ end
46
+
41
47
  Fontist::Manifest::Install.from_hash(
42
48
  manifest,
43
49
  confirmation: agree ? "yes" : "no",
@@ -58,6 +64,13 @@ module Metanorma
58
64
  end
59
65
  end
60
66
 
67
+ def no_license_log
68
+ Util.log(
69
+ "[fontist] Font licenses are not shown with --agree-to-terms option.",
70
+ :info,
71
+ )
72
+ end
73
+
61
74
  def fintist_update_repo(manifest, agree, continue, no_progress)
62
75
  if @@updated_formulas_repo
63
76
  Util.log(
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "1.4.9".freeze
2
+ VERSION = "1.4.10".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.9
4
+ version: 1.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-21 00:00:00.000000000 Z
11
+ date: 2022-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor