metanorma-utils 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utils/main.rb +16 -0
- data/lib/utils/version.rb +1 -1
- data/spec/utils_spec.rb +59 -52
- 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: 4b68c06e9727423ecdc3e2cbc7dfa9ca5bfd4b6c464a3cb9c6ae4ebbca7310b5
|
4
|
+
data.tar.gz: 51df585a77e8b774c2d1e18a3450460f1be148ff8e72ecb4f75a8c475b552ef9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27586706279b7a43322e5f0cfd3207854413451816cbaff2b4a4d349e764a7b2ed4bb6543d48d0df229cba27211e6fc0d76b9214b38bd9cd8f920c1386f5a25a
|
7
|
+
data.tar.gz: 8345e470781dc4d4e1ecb0b02473852ac2bd9a67a4e45f44cb7a9731d082e64ac2d2729ebd33748dee5e7a4af7a18c72fa9014cef11d8e610d36bf0afa3aa7fc
|
data/lib/utils/main.rb
CHANGED
@@ -91,6 +91,22 @@ module Metanorma
|
|
91
91
|
hash
|
92
92
|
end
|
93
93
|
|
94
|
+
def strict_capitalize_phrase(str)
|
95
|
+
str.split(/ /).map do |w|
|
96
|
+
letters = w.chars
|
97
|
+
letters.first.upcase!
|
98
|
+
letters.join
|
99
|
+
end.join(" ")
|
100
|
+
end
|
101
|
+
|
102
|
+
def strict_capitalize_first(str)
|
103
|
+
str.split(/ /).each_with_index.map do |w, i|
|
104
|
+
letters = w.chars
|
105
|
+
letters.first.upcase! if i.zero?
|
106
|
+
letters.join
|
107
|
+
end.join(" ")
|
108
|
+
end
|
109
|
+
|
94
110
|
# not currently used
|
95
111
|
def flatten_rawtext_lines(node, result)
|
96
112
|
node.lines.each do |x|
|
data/lib/utils/version.rb
CHANGED
data/spec/utils_spec.rb
CHANGED
@@ -6,11 +6,17 @@ RSpec.describe Metanorma::Utils do
|
|
6
6
|
expect(Metanorma::Utils::VERSION).not_to be nil
|
7
7
|
end
|
8
8
|
|
9
|
+
it "capitalises" do
|
10
|
+
expect(Metanorma::Utils.strict_capitalize_phrase("ABC def gHI")).to eq "ABC Def GHI"
|
11
|
+
expect(Metanorma::Utils.strict_capitalize_first("aBC def gHI")).to eq "ABC def gHI"
|
12
|
+
end
|
13
|
+
|
9
14
|
it "normalises anchors" do
|
10
15
|
expect(Metanorma::Utils.to_ncname("/:ab")).to eq "__ab"
|
11
16
|
expect(Metanorma::Utils.to_ncname("Löwe")).to eq "L__xf6_we"
|
12
17
|
expect(Metanorma::Utils.to_ncname("Löwe", asciionly: false)).to eq "Löwe"
|
13
|
-
expect(Metanorma::Utils.to_ncname("Löwe",
|
18
|
+
expect(Metanorma::Utils.to_ncname("Löwe",
|
19
|
+
asciionly: true)).to eq "L__xf6_we"
|
14
20
|
end
|
15
21
|
|
16
22
|
it "sets metanorma IDs if not provided" do
|
@@ -295,56 +301,37 @@ RSpec.describe Metanorma::Utils do
|
|
295
301
|
Metanorma::Utils.svgmap_rewrite(xmldoc)
|
296
302
|
expect(xmlpp(xmldoc.to_xml.gsub(%r{<image.*?</image>}m, "<image/>")))
|
297
303
|
.to be_equivalent_to xmlpp(<<~OUTPUT)
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
<image/>
|
325
|
-
<a xlink:href='#ref1' xlink:dummy='Layer_1_000000001'>
|
326
|
-
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
327
|
-
</a>
|
328
|
-
<a xlink:href='mn://basic_attribute_schema'>
|
329
|
-
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
330
|
-
</a>
|
331
|
-
<a xlink:href='mn://support_resource_schema'>
|
332
|
-
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
333
|
-
</a>
|
334
|
-
</svg>
|
335
|
-
</figure>
|
336
|
-
<svgmap id='_60dadf08-48d4-4164-845c-b4e293e00abd'>
|
337
|
-
<figure>
|
338
|
-
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000002' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
339
|
-
<style type='text/css'>
|
340
|
-
#Layer_1_000000002 { fill:none } svg[id='Layer_1_000000002'] {
|
341
|
-
fill:none } .st0{fill:none;stroke:#000000;stroke-miterlimit:10;}
|
342
|
-
</style>
|
304
|
+
<?xml version='1.0'?>
|
305
|
+
<standard-document type="semantic" version="1.8.2" xmlns="http://www.example.com">
|
306
|
+
<bibdata type="standard">
|
307
|
+
<title language="en" format="text/plain">Document title</title>
|
308
|
+
<docidentifier/>
|
309
|
+
<docnumber/>
|
310
|
+
<version/>
|
311
|
+
<language>en</language>
|
312
|
+
<script>Latn</script>
|
313
|
+
<status>
|
314
|
+
<stage>published</stage>
|
315
|
+
</status>
|
316
|
+
<copyright>
|
317
|
+
<from>2021</from>
|
318
|
+
</copyright>
|
319
|
+
<ext>
|
320
|
+
<doctype>article</doctype>
|
321
|
+
</ext>
|
322
|
+
</bibdata>
|
323
|
+
<sections><svgmap id="_d5b5049a-dd53-4ea0-bc6f-e8773bd59052"><target href="mn://action_schema"><xref target="ref1">Computer</xref></target></svgmap>
|
324
|
+
<figure>
|
325
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000001' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
326
|
+
<style type='text/css'>
|
327
|
+
#Layer_1_000000001 { fill:none } svg[id='Layer_1_000000001'] {
|
328
|
+
fill:none } .st0{fill:none;stroke:#000000;stroke-miterlimit:10;}
|
329
|
+
</style>
|
343
330
|
<image/>
|
344
|
-
<a xlink:href='
|
331
|
+
<a xlink:href='#ref1' xlink:dummy='Layer_1_000000001'>
|
345
332
|
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
346
333
|
</a>
|
347
|
-
<a xlink:href='
|
334
|
+
<a xlink:href='mn://basic_attribute_schema'>
|
348
335
|
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
349
336
|
</a>
|
350
337
|
<a xlink:href='mn://support_resource_schema'>
|
@@ -352,9 +339,28 @@ RSpec.describe Metanorma::Utils do
|
|
352
339
|
</a>
|
353
340
|
</svg>
|
354
341
|
</figure>
|
355
|
-
|
356
|
-
|
357
|
-
|
342
|
+
<svgmap id='_60dadf08-48d4-4164-845c-b4e293e00abd'>
|
343
|
+
<figure>
|
344
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000002' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
345
|
+
<style type='text/css'>
|
346
|
+
#Layer_1_000000002 { fill:none } svg[id='Layer_1_000000002'] {
|
347
|
+
fill:none } .st0{fill:none;stroke:#000000;stroke-miterlimit:10;}
|
348
|
+
</style>
|
349
|
+
<image/>
|
350
|
+
<a xlink:href='mn://action_schema' xlink:dummy='Layer_1_000000002'>
|
351
|
+
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
352
|
+
</a>
|
353
|
+
<a xlink:href='http://www.example.com'>
|
354
|
+
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
355
|
+
</a>
|
356
|
+
<a xlink:href='mn://support_resource_schema'>
|
357
|
+
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
358
|
+
</a>
|
359
|
+
</svg>
|
360
|
+
</figure>
|
361
|
+
<target href="mn://support_resource_schema"><eref type="express" bibitemid="express_action_schema" citeas=""><localityStack><locality type="anchor"><referenceFrom>action_schema.basic</referenceFrom></locality></localityStack>Coffee</eref></target></svgmap></sections>
|
362
|
+
</standard-document>
|
363
|
+
OUTPUT
|
358
364
|
end
|
359
365
|
|
360
366
|
# not testing Asciidoctor log extraction here
|
@@ -407,7 +413,8 @@ RSpec.describe Metanorma::Utils do
|
|
407
413
|
it "generates data uris" do
|
408
414
|
expect(Metanorma::Utils.datauri("data:xyz")).to eq "data:xyz"
|
409
415
|
expect(Metanorma::Utils.datauri("spec/fixtures/rice_image1.png")).to be_equivalent_to "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADfCAIAAADDbnkhAAAAKXRFWHRjb3B5bGVmdABHZW5lcmF0ZWQgYnkgaHR0cDovL3BsYW50dW1sLmNvbREwORwAAAEOaVRYdHBsYW50dW1sAAEAAAB4nHWQy27CMBBF95byD7OEhRFJoaJRVREKrZQmKiKEvUnc1FIypn5E6t93AkJdtCy8mTk+99pL64RxvmsDlrSqksCfYKWPMSTefUp0qhJOaYSd/PLSuoDREjhBZ/ofzJ40WhmwPz7URBoQN7wX+pHzCy5u4Vf/UmJ9rs22rUBX5hn00tgBCifRNJpOwvmo8AgpnWgBURjfPcSzOSSbYg8DMGaj120GVntDybWyzqijH2LGLBW9gJ2n4I4e+X6SmK7frgPYYK+Mxo6KsfSQ/wL3M75SDgppqAsccraWH8K3jm5UulbYxFDuX/iCZQIbLxpyy5Y9a/Kab/qjkv0A6yGCEpbMNRwAAB/mSURBVHhe7Z0JdBRF/seTEK4AIaKIgKCAsIBcBhUSQCCE4wEusuxyCMohIrjyniJyGK7/Iuiu4XQBAXch4RHDEBKJslxmAYGA4YjyWA8QIi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d/GuAGfy6WrHZ89ux+KOB3F9qHPndqCzX78uhlvwTXpuRHBipl7W9Cbcs+cfsBOWxNOnP8DBqFG/Z/14ssP+UKhqtPbtW9x1VxQfWVqo9kw4f/5EmBDe03fCSOiE04pNTIg2fHhfTHLIkF67d7+TkvJ6RsZCdGJjCQNPmzb62DHX/v3I/C+G27EmPTciODFTL2vQZJMm927dugx6a9myMVaCQ4fWo79v385RUTWWLp2KHyFUyDU9fQG7BEquWDF83rwXTp16f86c8fBnQsIzfGRpodozYatWD/TqFWPoTEtLRMaJiZNwHB/fITa2LevXH1+5snfw4J7wKkZGRFSZO/fP6MSz+JgxAzAldGKS2huPoUnPjQhOzNTLGjTJ9lDYEA4Y0C05+ddN0PnzO/v0iYUncap69YgFC17WLoEJo6Ob4wEVpzBg6NDe7LcahiYtVHsm9LJhlc/L26L/vWKx5/czJ09msg+phE16bkRw4o16Cwv38hLFEoIFo9izseI/j9GatFCVmlCuSc+NCE6cUq+0UMmERKDhlHqlhUomJAINp9QrLVQyIRFoOKVeaaGSCYlAwyn1SguVTEgEGk6pV1qoZEIi0HBKvdJCJRMSgYZT6pUWqpUJv1iYiLiON1ZnQ2JuRHDilHqlhWplQr9qEnMjghNn1SshVLEJb165dnH3EdZ2LUt+b/5b7878W/K0eQ62pBWr1tr8YmMiOHFWvRJCFZtQT25uLgydkZGBuEmOYvcr/gnCEfXaFWrJJsR6mpOTg4hwtstR7Ba7IQhH1GtXqCWbEFZGLHgaa2uWo9gt+0YQjqjXrlBLNiGiwM0Ih6fbE46CBJAGkkFKRUVFxkQJgsMR9doVaskmJAiiTCETEoTDkAkJwmHIhAThMGRCgnAYMiFBOAyZkCAchkxIEA5DJiQIhyETEoTDkAkJwmHIhAThMP8PSlImtX3xowQAAAAASUVORK5CYII="
|
410
|
-
expect(Metanorma::Utils.datauri("rice_image1.png", "spec/fixtures")).to be_equivalent_to "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADfCAIAAADDbnkhAAAAKXRF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SUZRyjBMDvChzhvwoKCgkoeqlatevnyZeNpjpiYmJEjR2o/WpuwuLjY2CXCEFMOnwThgQnHjh2Lg6Kionvuuadbt276s6WcoDWlCVJGsyPcakxovcdNTEysXLnymjVr8Db/97//Xevv3LnzW2+9xY4XL17ctWtXHLzyyisYXKNGjWbNmq1bt87tMeGECRNefvnlOnXqtG3b9sMPP2SXfP3117169apSpcr999+fkZHBOh9//PE5c+YYBvMxMWzu3LnskrNnzw4ePLh27doYgwHs2wpwtkOHDuhp06bNzp07Swzy3//+d+DAgXd4GDRokPYNXMJ8DGgmBI96YMfCCZ45cyY+Ph5vZy1atMBVSIYZTPhimgX54IMPunTpgrfF+vXrf/nll27R7AIea9H6FhUmtP60t3nz5sOHD//555/vvffedu3aaf1169adPXs2O54xY0aDBg1wcPr06datW/ft2zcnJ+fChQtujwnDw8N79+69adMmCDQ2Nhadt27dgqYhx8OHD0+cOBELCIsjHCyMyVbXn376CSnVqlULG7zPPvts8+bNyBP9r7/+elpaGnZoEHf37t2tg+CShx56CK7AFhFCx0H79u2RoVk+BpgJv/rqK+SA96lly5a5TSYIv+FGiLljx46srCy8QWA8M6HwxRQGQbZ4x3nuuefy8vLwpnDlyhW3aHYBj7VofYvDJtyzZw+Egv/iGCrBMQTBTgl14+aei6A5vG3fvHkTx/Pnz8cigIMDBw4gFKyyf/9+l8uFY/apj3CwMCbzD4szefJk7ZSeH374Yfr06Vgf2I9mQQ4ePIggK1euZP0rVqzAj4cOHWJjhPnogQlDbvPaa68xUwkniJcOB++88w67EHcMsTShMAjG16tXD28T8Bsbzwi2x1EL0foch004YsQI/NsPGzbsySefjIuLw/H48ePZKaFu3Jwa9HvCRYsWMR2npqYiVOPGjR+8DRYus8Fu85gsDh7PtFOM5cuXIx88Q+IWJZqQBTly5Ajrh/3w48aNG/Vj3L/NRw9MiOfho0eP4lG2X79+rFM4QWYkjGRjSjShMIjbY048duJU//79L168yK4iE5YdTprw+++/x24E9vvbbfBIVrNmzR9//NHt0c2rr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hlHqlhUomJAINp9QrLVQyIRFoOKVeaaGSCYlAwyn1SguVTEgEGk6pV1qoZEIi0HBKvdJCJRMSgYZT6pUWqpUJv1iYiLiON1ZnQ2JuRHDilHqlhWplQr9qEnMjghNn1SshVLEJb165dnH3EdZ2LUt+b/5b7878W/K0eQ62pBWr1tr8YmMiOHFWvRJCFZtQT25uLgydkZGBuEmOYvcr/gnCEfXaFWrJJsR6mpOTg4hwtstR7Ba7IQhH1GtXqCWbEFZGLHgaa2uWo9gt+0YQjqjXrlBLNiGiwM0Ih6fbE46CBJAGkkFKRUVFxkQJgsMR9doVaskmJAiiTCETEoTDkAkJwmHIhAThMGRCgnAYMiFBOAyZkCAchkxIEA5DJiQIhyETEoTDkAkJwmHIhAThMP8PSlImtX3xowQAAAAASUVORK5CYII="
|
416
|
+
expect(Metanorma::Utils.datauri("rice_image1.png",
|
417
|
+
"spec/fixtures")).to be_equivalent_to "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADfCAIAAADDbnkhAAAAKXRFWHRjb3B5bGVmdABHZW5lcmF0ZWQgYnkgaHR0cDovL3BsYW50dW1sLmNvbREwORwAAAEOaVRYdHBsYW50dW1sAAEAAAB4nHWQy27CMBBF95byD7OEhRFJoaJRVREKrZQmKiKEvUnc1FIypn5E6t93AkJdtCy8mTk+99pL64RxvmsDlrSqksCfYKWPMSTefUp0qhJOaYSd/PLSuoDREjhBZ/ofzJ40WhmwPz7URBoQN7wX+pHzCy5u4Vf/UmJ9rs22rUBX5hn00tgBCifRNJpOwvmo8AgpnWgBURjfPcSzOSSbYg8DMGaj120GVntDybWyzqijH2LGLBW9gJ2n4I4e+X6SmK7frgPYYK+Mxo6KsfSQ/wL3M75SDgppqAsccraWH8K3jm5UulbYxFDuX/iCZQIbLxpyy5Y9a/Kab/qjkv0A6yGCEpbMNRwAAB/mSURBVHhe7Z0JdBRF/seTEK4AIaKIgKCAsIBcBhUSQCCE4wEusuxyCMohIrjyniJyGK7/Iuiu4XQBAXch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VR7Jvzmm61YtadMGfn11/9i7ejRd/GuAGfy6WrHZ89ux+KOB3F9qHPndqCzX78uhlvwTXpuRHBipl7W9Cbcs+cfsBOWxNOnP8DBqFG/Z/14ssP+UKhqtPbtW9x1VxQfWVqo9kw4f/5EmBDe03fCSOiE04pNTIg2fHhfTHLIkF67d7+TkvJ6RsZCdGJjCQNPmzb62DHX/v3I/C+G27EmPTciODFTL2vQZJMm927dugx6a9myMVaCQ4fWo79v385RUTWWLp2KHyFUyDU9fQG7BEquWDF83rwXTp16f86c8fBnQsIzfGRpodozYatWD/TqFWPoTEtLRMaJiZNwHB/fITa2LevXH1+5snfw4J7wKkZGRFSZO/fP6MSz+JgxAzAldGKS2huPoUnPjQhOzNTLGjTJ9lDYEA4Y0C05+ddN0PnzO/v0iYUncap69YgFC17WLoEJo6Ob4wEVpzBg6NDe7LcahiYtVHsm9LJhlc/L26L/vWKx5/czJ09msg+phE16bkRw4o16Cwv38hLFEoIFo9izseI/j9GatFCVmlCuSc+NCE6cUq+0UMmERKDhlHqlhUomJAINp9QrLVQyIRFoOKVeaaGSCYlAwyn1SguVTEgEGk6pV1qoZEIi0HBKvdJCJRMSgYZT6pUWqpUJv1iYiLiON1ZnQ2JuRHDilHqlhWplQr9qEnMjghNn1SshVLEJb165dnH3EdZ2LUt+b/5b7878W/K0eQ62pBWr1tr8YmMiOHFWvRJCFZtQT25uLgydkZGBuEmOYvcr/gnCEfXaFWrJJsR6mpOTg4hwtstR7Ba7IQhH1GtXqCWbEFZGLHgaa2uWo9gt+0YQjqjXrlBLNiGiwM0Ih6fbE46CBJAGkkFKRUVFxkQJgsMR9doVaskmJAiiTCETEoTDkAkJwmHIhAThMGRCgnAYMiFBOAyZkCAchkxIEA5DJiQIhyETEoTDkAkJwmHIhAThMP8PSlImtX3xowQAAAAASUVORK5CYII="
|
411
418
|
expect(Metanorma::Utils.datauri2mime("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAADfCAIAAADDbnkhAAAAKXRF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SUZRyjBMDvChzhvwoKCgkoeqlatevnyZeNpjpiYmJEjR2o/WpuwuLjY2CXCEFMOnwThgQnHjh2Lg6Kionvuuadbt276s6WcoDWlCVJGsyPcakxovcdNTEysXLnymjVr8Db/97//Xevv3LnzW2+9xY4XL17ctWtXHLzyyisYXKNGjWbNmq1bt87tMeGECRNefvnlOnXqtG3b9sMPP2SXfP3117169apSpcr999+fkZHBOh9//PE5c+YYBvMxMWzu3LnskrNnzw4ePLh27doYgwHs2wpwtkOHDuhp06bNzp07Swzy3//+d+DAgXd4GDRokPYNXMJ8DGgmBI96YMfCCZ45cyY+Ph5vZy1atMBVSIYZTPhimgX54IMPunTpgrfF+vXrf/nll27R7AIea9H6FhUmtP60t3nz5sOHD//555/vvffedu3aaf1169adPXs2O54xY0aDBg1wcPr06datW/ft2zcnJ+fChQtujwnDw8N79+69adMmCDQ2Nhadt27dgqYhx8OHD0+cOBELCIsjHCyMyVbXn376CSnVqlULG7zPPvts8+bNyBP9r7/+elpaGnZoEHf37t2tg+CShx56CK7AFhFCx0H79u2RoVk+BpgJv/rqK+SA96lly5a5TSYIv+FGiLljx46srCy8QWA8M6HwxRQGQbZ4x3nuuefy8vLwpnDlyhW3aHYBj7VofYvDJtyzZw+Egv/iGCrBMQTBTgl14+aei6A5vG3fvHkTx/Pnz8cigIMDBw4gFKyyf/9+l8uFY/apj3CwMCbzD4szefJk7ZSeH374Yfr06Vgf2I9mQQ4ePIggK1euZP0rVqzAj4cOHWJjhPnogQlDbvPaa68xUwkniJcOB++88w67EHcMsTShMAjG16tXD28T8Bsbzwi2x1EL0foch004YsQI/NsPGzbsySefjIuLw/H48ePZKaFu3Jwa9HvCRYsWMR2npqYiVOPGjR+8DRYus8Fu85gsDh7PtFOM5cuXIx88Q+IWJZqQBTly5Ajrh/3w48aNG/Vj3L/NRw9MiOfho0eP4lG2X79+rFM4QWYkjGRjSjShMIjbY048duJU//79L168yK4iE5YdTprw+++/x24E9vvbbfBIVrNmzR9//NHt0c2rr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hlHqlhUomJAINp9QrLVQyIRFoOKVeaaGSCYlAwyn1SguVTEgEGk6pV1qoZEIi0HBKvdJCJRMSgYZT6pUWqpUJv1iYiLiON1ZnQ2JuRHDilHqlhWplQr9qEnMjghNn1SshVLEJb165dnH3EdZ2LUt+b/5b7878W/K0eQ62pBWr1tr8YmMiOHFWvRJCFZtQT25uLgydkZGBuEmOYvcr/gnCEfXaFWrJJsR6mpOTg4hwtstR7Ba7IQhH1GtXqCWbEFZGLHgaa2uWo9gt+0YQjqjXrlBLNiGiwM0Ih6fbE46CBJAGkkFKRUVFxkQJgsMR9doVaskmJAiiTCETEoTDkAkJwmHIhAThMGRCgnAYMiFBOAyZkCAchkxIEA5DJiQIhyETEoTDkAkJwmHIhAThMP8PSlImtX3xowQAAAAASUVORK5CYII=")&.first&.to_s).to eq "image/png"
|
412
419
|
end
|
413
420
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|