metanorma-standoc 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -15
- data/lib/asciidoctor/standoc/biblio.rng +31 -0
- data/lib/asciidoctor/standoc/blocks.rb +8 -1
- data/lib/asciidoctor/standoc/converter.rb +0 -1
- data/lib/asciidoctor/standoc/inline.rb +8 -8
- data/lib/asciidoctor/standoc/isodoc.rng +3 -31
- data/lib/asciidoctor/standoc/table.rb +3 -1
- data/lib/asciidoctor/standoc/utils.rb +1 -0
- data/lib/hacks/sterile.rb +54 -0
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +2 -2
- data/spec/asciidoctor-standoc/base_spec.rb +4 -4
- data/spec/asciidoctor-standoc/blocks_spec.rb +16 -1
- data/spec/asciidoctor-standoc/inline_spec.rb +16 -0
- data/spec/asciidoctor-standoc/refs_spec.rb +1 -1
- data/spec/asciidoctor-standoc/table_spec.rb +2 -2
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 644ddfc0c5ac5fae5afc94f5dbdfaae98e652bff498bc93babb5cba3852c0141
|
4
|
+
data.tar.gz: cb00da517ce5f359f348d57fee37cffc8b2148250ae6c4557ef192c1b779b865
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44cbc66e4d6e477aef83073e733c783461e0041b3ea4c80db24d491407716e7557814a1bf3e3acc8398d82dd778c43b2c8ff796c289ea95fb4163e98bcbdcc8d
|
7
|
+
data.tar.gz: dcc8047577538f25d37a6a81a73e2d78ef3fd53925489500dc72d26682fcf7bd790c419b2a1158944ff40a1ffd6792a0e39fa14c739ed4c045db536850d95404
|
data/Gemfile.lock
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
metanorma-standoc (1.0.
|
4
|
+
metanorma-standoc (1.0.14)
|
5
5
|
asciidoctor (~> 1.5.7)
|
6
6
|
concurrent-ruby
|
7
7
|
iev (~> 0.2.0)
|
8
8
|
isodoc (~> 0.9.0)
|
9
9
|
relaton (~> 0.3.1)
|
10
10
|
ruby-jing
|
11
|
-
sterile
|
11
|
+
sterile (~> 1.0.14)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
16
|
addressable (2.5.2)
|
17
17
|
public_suffix (>= 2.0.2, < 4.0)
|
18
|
-
algoliasearch (1.
|
18
|
+
algoliasearch (1.25.2)
|
19
19
|
httpclient (~> 2.8, >= 2.8.3)
|
20
20
|
json (>= 1.5.1)
|
21
21
|
asciidoctor (1.5.8)
|
22
|
-
asciimath (1.0.
|
22
|
+
asciimath (1.0.7)
|
23
23
|
ast (2.4.0)
|
24
24
|
byebug (10.0.2)
|
25
25
|
cnccs (0.1.3)
|
@@ -52,9 +52,9 @@ GEM
|
|
52
52
|
guard (~> 2.1)
|
53
53
|
guard-compat (~> 1.1)
|
54
54
|
rspec (>= 2.99.0, < 4.0)
|
55
|
-
hashdiff (0.3.
|
56
|
-
html2doc (0.8.
|
57
|
-
asciimath
|
55
|
+
hashdiff (0.3.8)
|
56
|
+
html2doc (0.8.8)
|
57
|
+
asciimath (~> 1.0.7)
|
58
58
|
htmlentities (~> 4.3.4)
|
59
59
|
image_size
|
60
60
|
mime-types
|
@@ -76,11 +76,11 @@ GEM
|
|
76
76
|
isoics (~> 0.1.6)
|
77
77
|
nokogiri (~> 1.8.4)
|
78
78
|
ruby_deep_clone (~> 0.8.0)
|
79
|
-
isobib (0.4.
|
79
|
+
isobib (0.4.3)
|
80
80
|
algoliasearch
|
81
81
|
iecbib (~> 0.2.1)
|
82
82
|
iso-bib-item (~> 0.4.2)
|
83
|
-
isodoc (0.9.
|
83
|
+
isodoc (0.9.14)
|
84
84
|
asciimath
|
85
85
|
html2doc (~> 0.8.6)
|
86
86
|
htmlentities (~> 4.3.4)
|
@@ -163,7 +163,7 @@ GEM
|
|
163
163
|
ruby_deep_clone (0.8.0)
|
164
164
|
ruby_dep (1.5.0)
|
165
165
|
safe_yaml (1.0.4)
|
166
|
-
sass (3.7.
|
166
|
+
sass (3.7.3)
|
167
167
|
sass-listen (~> 4.0.0)
|
168
168
|
sass-listen (4.0.0)
|
169
169
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
@@ -177,15 +177,15 @@ GEM
|
|
177
177
|
json (>= 1.8, < 3)
|
178
178
|
simplecov-html (~> 0.10.0)
|
179
179
|
simplecov-html (0.10.2)
|
180
|
-
sterile (1.0.
|
180
|
+
sterile (1.0.14)
|
181
181
|
nokogiri
|
182
182
|
thor (0.20.3)
|
183
183
|
thread_safe (0.3.6)
|
184
184
|
timecop (0.9.1)
|
185
|
-
unicode-display_width (1.4.
|
185
|
+
unicode-display_width (1.4.1)
|
186
186
|
uuidtools (2.1.5)
|
187
187
|
vcr (4.0.0)
|
188
|
-
webmock (3.
|
188
|
+
webmock (3.5.1)
|
189
189
|
addressable (>= 2.3.6)
|
190
190
|
crack (>= 0.3.2)
|
191
191
|
hashdiff
|
@@ -194,7 +194,7 @@ PLATFORMS
|
|
194
194
|
ruby
|
195
195
|
|
196
196
|
DEPENDENCIES
|
197
|
-
bundler (~> 1
|
197
|
+
bundler (~> 2.0.1)
|
198
198
|
byebug
|
199
199
|
equivalent-xml (~> 0.6)
|
200
200
|
guard (~> 2.14)
|
@@ -210,4 +210,4 @@ DEPENDENCIES
|
|
210
210
|
webmock
|
211
211
|
|
212
212
|
BUNDLED WITH
|
213
|
-
|
213
|
+
2.0.1
|
@@ -488,6 +488,9 @@
|
|
488
488
|
<optional>
|
489
489
|
<ref name="edition"/>
|
490
490
|
</optional>
|
491
|
+
<optional>
|
492
|
+
<ref name="version"/>
|
493
|
+
</optional>
|
491
494
|
<zeroOrMore>
|
492
495
|
<ref name="biblionote"/>
|
493
496
|
</zeroOrMore>
|
@@ -866,6 +869,34 @@
|
|
866
869
|
</zeroOrMore>
|
867
870
|
</element>
|
868
871
|
</define>
|
872
|
+
<define name="version">
|
873
|
+
<element name="version">
|
874
|
+
<optional>
|
875
|
+
<ref name="vedition"/>
|
876
|
+
</optional>
|
877
|
+
<optional>
|
878
|
+
<ref name="revision-date"/>
|
879
|
+
</optional>
|
880
|
+
<zeroOrMore>
|
881
|
+
<ref name="draft"/>
|
882
|
+
</zeroOrMore>
|
883
|
+
</element>
|
884
|
+
</define>
|
885
|
+
<define name="vedition">
|
886
|
+
<element name="edition">
|
887
|
+
<data type="int"/>
|
888
|
+
</element>
|
889
|
+
</define>
|
890
|
+
<define name="revision-date">
|
891
|
+
<element name="revision-date">
|
892
|
+
<data type="date"/>
|
893
|
+
</element>
|
894
|
+
</define>
|
895
|
+
<define name="draft">
|
896
|
+
<element name="draft">
|
897
|
+
<text/>
|
898
|
+
</element>
|
899
|
+
</define>
|
869
900
|
<!--
|
870
901
|
Anycontents = mixed {
|
871
902
|
https://github.com/relaxng/jing-trang/issues/211
|
@@ -133,7 +133,7 @@ module Asciidoctor
|
|
133
133
|
end
|
134
134
|
|
135
135
|
def image_attributes(node)
|
136
|
-
uri = node.image_uri node.attr("target")
|
136
|
+
uri = node.image_uri (node.attr("target") || node.target)
|
137
137
|
types = MIME::Types.type_for(uri)
|
138
138
|
{ src: @datauriimage ? datauri(uri) : uri,
|
139
139
|
id: Utils::anchor_or_uuid,
|
@@ -157,6 +157,13 @@ module Asciidoctor
|
|
157
157
|
end
|
158
158
|
end
|
159
159
|
|
160
|
+
def inline_image(node)
|
161
|
+
noko do |xml|
|
162
|
+
xml.image **attr_code(image_attributes(node))
|
163
|
+
end.join("")
|
164
|
+
end
|
165
|
+
|
166
|
+
|
160
167
|
def paragraph(node)
|
161
168
|
return termsource(node) if node.role == "source"
|
162
169
|
attrs = { align: node.attr("align"),
|
@@ -107,13 +107,13 @@ module Asciidoctor
|
|
107
107
|
def inline_quoted(node)
|
108
108
|
noko do |xml|
|
109
109
|
case node.type
|
110
|
-
when :emphasis then xml.em node.text
|
111
|
-
when :strong then xml.strong node.text
|
112
|
-
when :monospaced then xml.tt node.text
|
110
|
+
when :emphasis then xml.em { |s| s << node.text }
|
111
|
+
when :strong then xml.strong { |s| s << node.text }
|
112
|
+
when :monospaced then xml.tt { |s| s << node.text }
|
113
113
|
when :double then xml << "\"#{node.text}\""
|
114
114
|
when :single then xml << "'#{node.text}'"
|
115
|
-
when :superscript then xml.sup node.text
|
116
|
-
when :subscript then xml.sub node.text
|
115
|
+
when :superscript then xml.sup { |s| s << node.text }
|
116
|
+
when :subscript then xml.sub { |s| s << node.text }
|
117
117
|
when :asciimath then stem_parse(node.text, xml)
|
118
118
|
else
|
119
119
|
case node.role
|
@@ -122,9 +122,9 @@ module Asciidoctor
|
|
122
122
|
when "deprecated" then xml.deprecates { |a| a << node.text }
|
123
123
|
when "domain" then xml.domain { |a| a << node.text }
|
124
124
|
|
125
|
-
when "strike" then xml.strike node.text
|
126
|
-
when "smallcap" then xml.smallcap node.text
|
127
|
-
when "keyword" then xml.keyword node.text
|
125
|
+
when "strike" then xml.strike { |s| s << node.text }
|
126
|
+
when "smallcap" then xml.smallcap { |s| s << node.text }
|
127
|
+
when "keyword" then xml.keyword { |s| s << node.text }
|
128
128
|
else
|
129
129
|
xml << node.text
|
130
130
|
end
|
@@ -39,9 +39,6 @@
|
|
39
39
|
<define name="standard-document">
|
40
40
|
<element name="standard-document">
|
41
41
|
<ref name="bibdata"/>
|
42
|
-
<optional>
|
43
|
-
<ref name="version"/>
|
44
|
-
</optional>
|
45
42
|
<optional>
|
46
43
|
<ref name="preface"/>
|
47
44
|
</optional>
|
@@ -59,34 +56,6 @@
|
|
59
56
|
<ref name="BibData"/>
|
60
57
|
</element>
|
61
58
|
</define>
|
62
|
-
<define name="version">
|
63
|
-
<element name="version">
|
64
|
-
<optional>
|
65
|
-
<ref name="vedition"/>
|
66
|
-
</optional>
|
67
|
-
<optional>
|
68
|
-
<ref name="revision-date"/>
|
69
|
-
</optional>
|
70
|
-
<zeroOrMore>
|
71
|
-
<ref name="draft"/>
|
72
|
-
</zeroOrMore>
|
73
|
-
</element>
|
74
|
-
</define>
|
75
|
-
<define name="vedition">
|
76
|
-
<element name="edition">
|
77
|
-
<data type="int"/>
|
78
|
-
</element>
|
79
|
-
</define>
|
80
|
-
<define name="revision-date">
|
81
|
-
<element name="revision-date">
|
82
|
-
<data type="date"/>
|
83
|
-
</element>
|
84
|
-
</define>
|
85
|
-
<define name="draft">
|
86
|
-
<element name="draft">
|
87
|
-
<text/>
|
88
|
-
</element>
|
89
|
-
</define>
|
90
59
|
<define name="preface">
|
91
60
|
<element name="preface">
|
92
61
|
<oneOrMore>
|
@@ -1068,6 +1037,9 @@
|
|
1068
1037
|
<optional>
|
1069
1038
|
<ref name="edition"/>
|
1070
1039
|
</optional>
|
1040
|
+
<optional>
|
1041
|
+
<ref name="version"/>
|
1042
|
+
</optional>
|
1071
1043
|
<zeroOrMore>
|
1072
1044
|
<ref name="biblionote"/>
|
1073
1045
|
</zeroOrMore>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
module Sterile
|
4
|
+
# @private
|
5
|
+
class Data
|
6
|
+
def self.smart_format_rules
|
7
|
+
[
|
8
|
+
["'tain't", "’tain’t"],
|
9
|
+
["'twere", "’twere"],
|
10
|
+
["'twas", "’twas"],
|
11
|
+
["'tis", "’tis"],
|
12
|
+
["'twill", "’twill"],
|
13
|
+
["'til", "’til"],
|
14
|
+
["'bout", "’bout"],
|
15
|
+
["'nuff", "’nuff"],
|
16
|
+
["'round", "’round"],
|
17
|
+
["'cause", "’cause"],
|
18
|
+
["'cos", "’cos"],
|
19
|
+
["i'm", "i’m"],
|
20
|
+
['--"', "—“"],
|
21
|
+
["--'", "—‘"],
|
22
|
+
["--", "—"],
|
23
|
+
["...", "…"],
|
24
|
+
["(tm)", "™"],
|
25
|
+
["(TM)", "™"],
|
26
|
+
["(c)", "©"],
|
27
|
+
["(r)", "®"],
|
28
|
+
["(R)", "®"],
|
29
|
+
[/\'(\d\d)(?!’|\')([\p{P}\p{Z}])/, "’\\1\\2"],
|
30
|
+
# [/<p>"/, "<p>\\1″"],
|
31
|
+
[/s\'([^a-zA-Z0-9])/, "s’\\1"],
|
32
|
+
[/"([:;])/, "”\\1"],
|
33
|
+
[/\'s$/, "’s"],
|
34
|
+
[/\'(\d\d(?:’|\')?s)/, "’\\1"],
|
35
|
+
[/(\s|\A|"|\(|\[)\'/, "\\1‘"],
|
36
|
+
# [/(\d+)"/, "\\1″"],
|
37
|
+
# [/(\d+)\'/, "\\1′"],
|
38
|
+
[/(\S)\'([^\'\s])/, "\\1’\\2"],
|
39
|
+
[/(\s|\A|\(|\[)"(?!\s)/, "\\1“\\2"],
|
40
|
+
[/"(\s|\S|\Z)/, "”\\1"],
|
41
|
+
[/\'([\s.]|\Z)/, "’\\1"],
|
42
|
+
[/(\d+)x(\d+)/, "\\1×\\2"],
|
43
|
+
[/([a-z])'(t|d|s|ll|re|ve)(\b)/i, "\\1’\\2\\3"],
|
44
|
+
]
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
class << self
|
49
|
+
private
|
50
|
+
def smart_format_rules
|
51
|
+
Data.smart_format_rules
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
data/metanorma-standoc.gemspec
CHANGED
@@ -31,10 +31,10 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_dependency "isodoc", "~> 0.9.0"
|
32
32
|
spec.add_dependency "iev", "~> 0.2.0"
|
33
33
|
spec.add_dependency "relaton", "~> 0.3.1"
|
34
|
-
spec.add_dependency "sterile"
|
34
|
+
spec.add_dependency "sterile", "~> 1.0.14"
|
35
35
|
spec.add_dependency "concurrent-ruby"
|
36
36
|
|
37
|
-
spec.add_development_dependency "bundler", "~> 1
|
37
|
+
spec.add_development_dependency "bundler", "~> 2.0.1"
|
38
38
|
spec.add_development_dependency "byebug"
|
39
39
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
40
40
|
spec.add_development_dependency "guard", "~> 2.14"
|
@@ -156,7 +156,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
156
156
|
end
|
157
157
|
|
158
158
|
it "processes complex metadata" do
|
159
|
-
expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true)).sub(%r{</bibdata>.*$}m, "</bibdata>")).to be_equivalent_to <<~
|
159
|
+
expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true)).sub(%r{</bibdata>.*$}m, "</bibdata>")).to be_equivalent_to <<~"OUTPUT"
|
160
160
|
= Document title
|
161
161
|
Author
|
162
162
|
:docfile: test.adoc
|
@@ -237,7 +237,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
237
237
|
<p id="_">This is the second paragraph of the abstract of the document.</p></abstract>
|
238
238
|
<status format="plain">published</status>
|
239
239
|
<copyright>
|
240
|
-
<from
|
240
|
+
<from>#{Date.today.year}</from>
|
241
241
|
<owner>
|
242
242
|
<organization>
|
243
243
|
<name>IEC</name>
|
@@ -245,7 +245,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
245
245
|
</owner>
|
246
246
|
</copyright>
|
247
247
|
<copyright>
|
248
|
-
<from
|
248
|
+
<from>#{Date.today.year}</from>
|
249
249
|
<owner>
|
250
250
|
<organization>
|
251
251
|
<name>IETF</name>
|
@@ -253,7 +253,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
253
253
|
</owner>
|
254
254
|
</copyright>
|
255
255
|
<copyright>
|
256
|
-
<from
|
256
|
+
<from>#{Date.today.year}</from>
|
257
257
|
<owner>
|
258
258
|
<organization>
|
259
259
|
<name>ISO</name>
|
@@ -103,7 +103,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
103
103
|
<script>Latn</script>
|
104
104
|
<status format="plain">published</status>
|
105
105
|
<copyright>
|
106
|
-
<from
|
106
|
+
<from>#{Date.today.year}</from>
|
107
107
|
</copyright>
|
108
108
|
<editorialgroup>
|
109
109
|
<technical-committee/>
|
@@ -356,6 +356,21 @@ RSpec.describe Asciidoctor::Standoc do
|
|
356
356
|
OUTPUT
|
357
357
|
end
|
358
358
|
|
359
|
+
it "processes inline images with width and height attributes on images" do
|
360
|
+
expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
|
361
|
+
#{ASCIIDOC_BLANK_HDR}
|
362
|
+
Hello image:spec/examples/rice_images/rice_image1.png[alt, 4, 3], how are you?
|
363
|
+
|
364
|
+
INPUT
|
365
|
+
#{BLANK_HDR}
|
366
|
+
<sections>
|
367
|
+
<p id="_">Hello <image src="spec/examples/rice_images/rice_image1.png" id="_" imagetype="PNG" height="3" width="4"/>, how are you?</p>
|
368
|
+
</figure>
|
369
|
+
</sections>
|
370
|
+
</standard-document>
|
371
|
+
OUTPUT
|
372
|
+
end
|
373
|
+
|
359
374
|
it "processes images as datauri" do
|
360
375
|
expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true))).to include '<image src="data:image/png;base64'
|
361
376
|
= Document title
|
@@ -11,6 +11,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
11
11
|
'single quote'
|
12
12
|
super^script^
|
13
13
|
sub~script~
|
14
|
+
sub~__scr__ipt~
|
14
15
|
stem:[a_90]
|
15
16
|
stem:[<mml:math><mml:msub xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"> <mml:mrow> <mml:mrow> <mml:mi mathvariant="bold-italic">F</mml:mi> </mml:mrow> </mml:mrow> <mml:mrow> <mml:mrow> <mml:mi mathvariant="bold-italic">Α</mml:mi> </mml:mrow> </mml:mrow> </mml:msub> </mml:math>]
|
16
17
|
[alt]#alt#
|
@@ -29,6 +30,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
29
30
|
'single quote'
|
30
31
|
super<sup>script</sup>
|
31
32
|
sub<sub>script</sub>
|
33
|
+
sub<sub><em>scr</em>ipt</sub>
|
32
34
|
<stem type="AsciiMath">a_90</stem>
|
33
35
|
<stem type="MathML"><math xmlns="http://www.w3.org/1998/Math/MathML"><msub> <mrow> <mrow> <mi mathvariant="bold-italic">F</mi> </mrow> </mrow> <mrow> <mrow> <mi mathvariant="bold-italic">Α</mi> </mrow> </mrow> </msub> </math></stem>
|
34
36
|
<admitted>alt</admitted>
|
@@ -42,6 +44,20 @@ RSpec.describe Asciidoctor::Standoc do
|
|
42
44
|
OUTPUT
|
43
45
|
end
|
44
46
|
|
47
|
+
it "generates desired smart quotes for 'dd'" do
|
48
|
+
expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
|
49
|
+
#{ASCIIDOC_BLANK_HDR}
|
50
|
+
'99'.
|
51
|
+
|
52
|
+
INPUT
|
53
|
+
#{BLANK_HDR}
|
54
|
+
<sections><p id="_">‘99’.</p>
|
55
|
+
</sections>
|
56
|
+
</standard-document>
|
57
|
+
OUTPUT
|
58
|
+
end
|
59
|
+
|
60
|
+
|
45
61
|
it "processes breaks" do
|
46
62
|
expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
|
47
63
|
#{ASCIIDOC_BLANK_HDR}
|
@@ -115,7 +115,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
115
115
|
expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
|
116
116
|
#{ASCIIDOC_BLANK_HDR}
|
117
117
|
[cols="<,^,^,^,^",options="header,footer",headerrows=2]
|
118
|
-
.Maximum
|
118
|
+
.Maximum _permissible_ mass fraction of defects
|
119
119
|
|===
|
120
120
|
.2+|Defect 4+^| Maximum permissible mass fraction of defects in husked rice +
|
121
121
|
stem:[w_max]
|
@@ -145,7 +145,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
145
145
|
#{BLANK_HDR}
|
146
146
|
<sections>
|
147
147
|
<table id="_">
|
148
|
-
<name>Maximum permissible mass fraction of defects</name>
|
148
|
+
<name>Maximum <em>permissible</em> mass fraction of defects</name>
|
149
149
|
<thead>
|
150
150
|
<tr>
|
151
151
|
<th rowspan="2" align="left">Defect</th>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-standoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: sterile
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 1.0.14
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 1.0.14
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: concurrent-ruby
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 2.0.1
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 2.0.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: byebug
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -339,6 +339,7 @@ files:
|
|
339
339
|
- lib/asciidoctor/standoc/utils.rb
|
340
340
|
- lib/asciidoctor/standoc/validate.rb
|
341
341
|
- lib/asciidoctor/standoc/validate_section.rb
|
342
|
+
- lib/hacks/sterile.rb
|
342
343
|
- lib/metanorma-standoc.rb
|
343
344
|
- lib/metanorma/standoc.rb
|
344
345
|
- lib/metanorma/standoc/processor.rb
|