metanorma 1.4.10 → 1.4.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/compile_validate.rb +12 -2
- data/lib/metanorma/input/asciidoc.rb +1 -1
- data/lib/metanorma/version.rb +1 -1
- data/metanorma.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c44cf4aabedd163aec40f3f025dceeef6bd81673c9e7fa5d128e92b8e8be8fa
|
4
|
+
data.tar.gz: 90e0a4b625a48f4cc74ac106b4ee4eba143bb2f693849baf11263b49fdeb7dd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 321dc2b17c2634f63ead327f006d728088caaa43389f988d91701f595d748ade012deaaff2ee0654bc6ee868461b8a1c36b9a6d6ad1f1fe5841288f2de9b851c
|
7
|
+
data.tar.gz: 10228c514def42a877b2189fe52a9517f8824db2d59225a279b08295ee4da20a9f701cb00c992a0df5cc2e01c124ff0fcdf10ece8b6003f2c370e7d8927a09c5
|
@@ -44,8 +44,18 @@ module Metanorma
|
|
44
44
|
"`metanorma-#{stdtype}`, Please add it to your Gemfile "\
|
45
45
|
"and run bundle install first", :fatal)
|
46
46
|
rescue LoadError
|
47
|
-
|
48
|
-
|
47
|
+
msg = <<~MSG
|
48
|
+
[metanorma] Error: loading gem `#{flavor}` failed. Exiting.
|
49
|
+
|
50
|
+
Troubleshooting:
|
51
|
+
1. If you are using metanorma via bundler/ruby, make sure that your
|
52
|
+
Gemfile contains a line:
|
53
|
+
gem "metanorma-#{stdtype}"
|
54
|
+
|
55
|
+
2. If you are using brew/choco/snap packages, please report an issue
|
56
|
+
to https://github.com/metanorma/packed-mn/issues/new"
|
57
|
+
MSG
|
58
|
+
Util.log(msg, :fatal)
|
49
59
|
end
|
50
60
|
end
|
51
61
|
end
|
@@ -70,7 +70,7 @@ module Metanorma
|
|
70
70
|
pdf-allow-print pdf-allow-print-hq pdf-allow-fill-in-forms
|
71
71
|
toc-figures toc-tables toc-recommendations fonts
|
72
72
|
font-license-agreement pdf-allow-access-content
|
73
|
-
pdf-encrypt-metadata iso-word-template).freeze
|
73
|
+
pdf-encrypt-metadata iso-word-template document-scheme).freeze
|
74
74
|
|
75
75
|
def extract_options(file)
|
76
76
|
header = file.sub(/\n\n.*$/m, "\n")
|
data/lib/metanorma/version.rb
CHANGED
data/metanorma.gemspec
CHANGED
@@ -23,9 +23,9 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.required_ruby_version = ">= 2.5.0"
|
24
24
|
|
25
25
|
spec.add_runtime_dependency "asciidoctor"
|
26
|
-
spec.add_runtime_dependency "fontist", ">= 1.14"
|
26
|
+
spec.add_runtime_dependency "fontist", ">= 1.14.3"
|
27
27
|
spec.add_runtime_dependency "htmlentities"
|
28
|
-
spec.add_runtime_dependency "metanorma-utils", "~> 1.
|
28
|
+
spec.add_runtime_dependency "metanorma-utils", "~> 1.3.0"
|
29
29
|
spec.add_runtime_dependency "mn2pdf", "~> 1"
|
30
30
|
spec.add_runtime_dependency "nokogiri"
|
31
31
|
spec.add_runtime_dependency "pry"
|
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
|
37
37
|
spec.add_development_dependency "debug"
|
38
38
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
39
|
-
spec.add_development_dependency "metanorma-iso", "~> 2.
|
39
|
+
spec.add_development_dependency "metanorma-iso", "~> 2.1.6"
|
40
40
|
spec.add_development_dependency "mnconvert"
|
41
41
|
spec.add_development_dependency "rake", "~> 13.0"
|
42
42
|
spec.add_development_dependency "rspec", "~> 3.0"
|
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.
|
4
|
+
version: 1.4.13
|
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-
|
11
|
+
date: 2022-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.14.3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.14.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: htmlentities
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.3.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.3.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mn2pdf
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 2.1.6
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 2.1.6
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: mnconvert
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|