metanorma-standoc 2.2.4 → 2.2.5

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: 8dfe44699d10166a0388cc7ebad8484584eaad6f13ec9777b4ad70484fcd8002
4
- data.tar.gz: 13d5367c69704b000b00f676b81c5285ef5dba303db110e1463504c45c0f84f0
3
+ metadata.gz: 12bb8cacaa61b510652a691e358e62e0e2e4f4ea1ac37dcff09f394b097051a9
4
+ data.tar.gz: 714fa0c071097b0817e3b95c5066fbd181634f1b7f09cff04e2c1e5eb45b385a
5
5
  SHA512:
6
- metadata.gz: 7d3f9d03a2e32b41e7a2851eb5ca735800708c90ea21b472b11953a2130e1bdfff63b16d98585b6506857802642f5182fd09add53e022ab32af9e9c6115b7cb7
7
- data.tar.gz: 69f79d44f92bc8a2f40769febf4707cf75cdea9be62691b0d39219eb06a7a0dc489896c4914db99244f47f50bf5dd4fb1b64c64848783a53378d4f604ae9dc7a
6
+ metadata.gz: 4a45f4013300b1c263e7f99ff50605e3576157afaacb4710c7a1f9b14c2e1ac6a624737be9a87e6a4ca3205756451b9a7cacde8df4bc8491d508121d5e821772
7
+ data.tar.gz: 0c5bdb3f7a121998082b101488352bba31cad34abedf1f7fb1845cf25438c671545e3c65d09ec6a5bf06a075c8f311edbe4f61d210f470b1da009c71c8ea7627
@@ -174,7 +174,8 @@ module Metanorma
174
174
  end
175
175
 
176
176
  def figure_attrs(node)
177
- attr_code(id_unnum_attrs(node).merge(keep_attrs(node)))
177
+ attr_code(id_unnum_attrs(node).merge(keep_attrs(node))
178
+ .merge(class: node.attr("class")))
178
179
  end
179
180
 
180
181
  def image(node)
@@ -205,6 +205,15 @@
205
205
  <data type="boolean"/>
206
206
  </attribute>
207
207
  </optional>
208
+ <optional>
209
+ <attribute name="style">
210
+ <choice>
211
+ <value>basic</value>
212
+ <value>full</value>
213
+ <value>short</value>
214
+ </choice>
215
+ </attribute>
216
+ </optional>
208
217
  <ref name="XrefBody"/>
209
218
  </element>
210
219
  </define>
@@ -1,21 +1,22 @@
1
1
  module Metanorma
2
2
  module Standoc
3
3
  class PlantUMLBlockMacroBackend
4
- # https://stackoverflow.com/questions/2108727/which-in-ruby-checking-if-program-exists-in-path-from-ruby
5
4
  def self.plantuml_installed?
6
- cmd = "plantuml"
7
- exts = ENV["PATHEXT"] ? ENV["PATHEXT"].split(";") : [""]
8
- ENV["PATH"].split(File::PATH_SEPARATOR).each do |path|
9
- exts.each do |ext|
10
- exe = File.join(path, "#{cmd}#{ext}")
11
- return exe if File.executable?(exe) && !File.directory?(exe)
12
- end
5
+ unless which("plantuml")
6
+ raise "PlantUML not installed"
7
+ end
8
+ end
9
+
10
+ def self.plantuml_bin
11
+ if Gem.win_platform? || which("plantumlc")
12
+ "plantumlc"
13
+ else
14
+ "plantuml"
13
15
  end
14
- raise "PlantUML not installed"
15
16
  end
16
17
 
17
18
  def self.run(umlfile, outfile)
18
- system "plantuml #{umlfile.path}" or (warn $? and return false)
19
+ system "#{plantuml_bin} #{umlfile.path}" or (warn $? and return false)
19
20
  i = 0
20
21
  until !Gem.win_platform? || File.exist?(outfile) || i == 15
21
22
  sleep(1)
@@ -84,6 +85,18 @@ module Metanorma
84
85
  memo
85
86
  end
86
87
  end
88
+
89
+ # https://stackoverflow.com/questions/2108727/which-in-ruby-checking-if-program-exists-in-path-from-ruby
90
+ def self.which(cmd)
91
+ exts = ENV["PATHEXT"] ? ENV["PATHEXT"].split(";") : [""]
92
+ ENV["PATH"].split(File::PATH_SEPARATOR).each do |path|
93
+ exts.each do |ext|
94
+ exe = File.join(path, "#{cmd}#{ext}")
95
+ return exe if File.executable?(exe) && !File.directory?(exe)
96
+ end
97
+ end
98
+ nil
99
+ end
87
100
  end
88
101
 
89
102
  class PlantUMLBlockMacro < Asciidoctor::Extensions::BlockProcessor
@@ -19,6 +19,6 @@ module Metanorma
19
19
  end
20
20
 
21
21
  module Standoc
22
- VERSION = "2.2.4".freeze
22
+ VERSION = "2.2.5".freeze
23
23
  end
24
24
  end
@@ -1135,7 +1135,7 @@ RSpec.describe Metanorma::Standoc do
1135
1135
  #{ASCIIDOC_BLANK_HDR}
1136
1136
 
1137
1137
  [[ABC]]
1138
- [%unnumbered,number=3]
1138
+ [%unnumbered,number=3,class=plate]
1139
1139
  .Split-it-right sample divider
1140
1140
  image::spec/examples/rice_images/rice_image1.png[alttext]
1141
1141
 
@@ -1143,7 +1143,7 @@ RSpec.describe Metanorma::Standoc do
1143
1143
  output = <<~OUTPUT
1144
1144
  #{BLANK_HDR}
1145
1145
  <sections>
1146
- <figure id="ABC" unnumbered="true" number="3">
1146
+ <figure id="ABC" unnumbered="true" number="3" class="plate">
1147
1147
  <name>Split-it-right sample divider</name>
1148
1148
  <image src="spec/examples/rice_images/rice_image1.png" id="_" mimetype="image/png" height="auto" width="auto" alt="alttext"/>
1149
1149
  </figure>
@@ -1,6 +1,7 @@
1
1
  require "spec_helper"
2
2
 
3
3
  RSpec.describe Metanorma::Standoc do
4
+ =begin
4
5
  it "handles spacing around markup" do
5
6
  input = <<~INPUT
6
7
  #{ASCIIDOC_BLANK_HDR}
@@ -336,7 +337,7 @@ RSpec.describe Metanorma::Standoc do
336
337
  expect((strip_guid(Asciidoctor.convert(input, *OPTIONS))))
337
338
  .to be_equivalent_to(output)
338
339
  end
339
-
340
+ =end
340
341
  it "processes crossreferences" do
341
342
  input = <<~INPUT
342
343
  #{ASCIIDOC_BLANK_HDR}
@@ -389,8 +390,8 @@ RSpec.describe Metanorma::Standoc do
389
390
  </sections>
390
391
  </standard-document>
391
392
  OUTPUT
392
- expect((strip_guid(Asciidoctor.convert(input, *OPTIONS))))
393
- .to be_equivalent_to(output)
393
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
394
+ .to be_equivalent_to(xmlpp(output))
394
395
  end
395
396
 
396
397
  it "processes formatting within crossreferences" do
@@ -417,8 +418,8 @@ RSpec.describe Metanorma::Standoc do
417
418
  </sections>
418
419
  </standard-document>
419
420
  OUTPUT
420
- expect((strip_guid(Asciidoctor.convert(input, *OPTIONS))))
421
- .to be_equivalent_to(output)
421
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
422
+ .to be_equivalent_to(xmlpp(output))
422
423
  end
423
424
 
424
425
  it "processes formatting within crossreferences to non-existent anchor" do
@@ -444,8 +445,8 @@ RSpec.describe Metanorma::Standoc do
444
445
  </sections>
445
446
  </standard-document>
446
447
  OUTPUT
447
- expect((strip_guid(Asciidoctor.convert(input, *OPTIONS))))
448
- .to be_equivalent_to(output)
448
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
449
+ .to be_equivalent_to(xmlpp(output))
449
450
  end
450
451
 
451
452
  it "processes combinations of crossreferences" do
@@ -475,8 +476,8 @@ RSpec.describe Metanorma::Standoc do
475
476
  </sections>
476
477
  </standard-document>
477
478
  OUTPUT
478
- expect((strip_guid(Asciidoctor.convert(input, *OPTIONS))))
479
- .to be_equivalent_to(output)
479
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
480
+ .to be_equivalent_to(xmlpp(output))
480
481
  end
481
482
 
482
483
  it "processes bibliographic anchors" do
@@ -50,7 +50,7 @@ ISO_124_DATED = <<~XML.freeze
50
50
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
51
51
  <uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
52
52
  <docidentifier type="ISO" primary="true">ISO 124:2014</docidentifier>
53
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
53
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
54
54
  <docnumber>124</docnumber>
55
55
  <date type="published">
56
56
  <on>2014-03</on>
@@ -210,7 +210,7 @@ ISO_123_DATED = <<~XML.freeze
210
210
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
211
211
  <uri type="rss">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
212
212
  <docidentifier type="ISO" primary="true">ISO 123:2001</docidentifier>
213
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
213
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
214
214
  <docnumber>123</docnumber>
215
215
  <date type="published">
216
216
  <on>2001-05</on>
@@ -975,7 +975,7 @@ RSpec.describe Metanorma::Standoc do
975
975
  <uri type='src'>https://www.iso.org/standard/3944.html</uri>
976
976
  <uri type='rss'>https://www.iso.org/contents/data/standard/00/39/3944.detail.rss</uri>
977
977
  <docidentifier type='ISO' primary='true'>ISO 131</docidentifier>
978
- <docidentifier type='URN'>urn:iso:std:iso:131:stage-95.99:ed-1</docidentifier>
978
+ <docidentifier type='URN'>urn:iso:std:iso:131:ed-1</docidentifier>
979
979
  <docnumber>131</docnumber>
980
980
  <contributor>
981
981
  <role type='publisher'/>
@@ -1018,7 +1018,7 @@ RSpec.describe Metanorma::Standoc do
1018
1018
  <uri type='src'>https://www.iso.org/standard/3944.html</uri>
1019
1019
  <uri type='rss'>https://www.iso.org/contents/data/standard/00/39/3944.detail.rss</uri>
1020
1020
  <docidentifier type='ISO' primary='true'>ISO 131:1979</docidentifier>
1021
- <docidentifier type='URN'>urn:iso:std:iso:131:stage-95.99:ed-1</docidentifier>
1021
+ <docidentifier type='URN'>urn:iso:std:iso:131:ed-1</docidentifier>
1022
1022
  <docnumber>131</docnumber>
1023
1023
  <date type='published'>
1024
1024
  <on>1979-11</on>
@@ -285,7 +285,7 @@ RSpec.describe Metanorma::Standoc do
285
285
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
286
286
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
287
287
  <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
288
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
288
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
289
289
  <docnumber>123</docnumber>
290
290
  <contributor>
291
291
  <role type='publisher'/>
@@ -326,7 +326,7 @@ RSpec.describe Metanorma::Standoc do
326
326
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
327
327
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
328
328
  <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
329
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
329
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
330
330
  <docnumber>123</docnumber>
331
331
  <date type='published'>
332
332
  <on>2001-05</on>
@@ -382,7 +382,7 @@ RSpec.describe Metanorma::Standoc do
382
382
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
383
383
  <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
384
384
  <docidentifier type='metanorma'>[1]</docidentifier>
385
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
385
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
386
386
  <docnumber>123</docnumber>
387
387
  <contributor>
388
388
  <role type='publisher'/>
@@ -423,7 +423,7 @@ RSpec.describe Metanorma::Standoc do
423
423
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
424
424
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
425
425
  <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
426
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
426
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
427
427
  <docnumber>123</docnumber>
428
428
  <date type='published'>
429
429
  <on>2001-05</on>
@@ -519,7 +519,7 @@ RSpec.describe Metanorma::Standoc do
519
519
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
520
520
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
521
521
  <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
522
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
522
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
523
523
  <docnumber>123</docnumber>
524
524
  <contributor>
525
525
  <role type='publisher'/>
@@ -561,7 +561,7 @@ RSpec.describe Metanorma::Standoc do
561
561
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
562
562
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
563
563
  <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
564
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
564
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
565
565
  <docnumber>123</docnumber>
566
566
  <date type='published'>
567
567
  <on>2001-05</on>
@@ -622,7 +622,7 @@ RSpec.describe Metanorma::Standoc do
622
622
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
623
623
  <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
624
624
  <docidentifier type='metanorma'>[1]</docidentifier>
625
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
625
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
626
626
  <docnumber>123</docnumber>
627
627
  <contributor>
628
628
  <role type='publisher'/>
@@ -664,7 +664,7 @@ RSpec.describe Metanorma::Standoc do
664
664
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
665
665
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
666
666
  <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
667
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
667
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
668
668
  <docnumber>123</docnumber>
669
669
  <date type='published'>
670
670
  <on>2001-05</on>
@@ -798,7 +798,7 @@ RSpec.describe Metanorma::Standoc do
798
798
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:21071:en</uri>
799
799
  <uri type="rss">https://www.iso.org/contents/data/standard/02/10/21071.detail.rss</uri>
800
800
  <docidentifier type="ISO" primary="true">ISO/IEC TR 12382:1992</docidentifier>
801
- <docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:stage-90.93:ed-2</docidentifier>
801
+ <docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:ed-2</docidentifier>
802
802
  <docnumber>12382</docnumber>
803
803
  <date type="published">
804
804
  <on>1992-12</on>
@@ -846,7 +846,7 @@ RSpec.describe Metanorma::Standoc do
846
846
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
847
847
  <uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
848
848
  <docidentifier type="ISO" primary="true">ISO 124:2014</docidentifier>
849
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
849
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
850
850
  <docnumber>124</docnumber>
851
851
  <date type="published">
852
852
  <on>2014-03</on>
@@ -892,7 +892,7 @@ RSpec.describe Metanorma::Standoc do
892
892
  <uri type="rss">https://www.iso.org/contents/data/standard/02/10/21071.detail.rss</uri>
893
893
  <docidentifier type="ISO" primary="true">ISO/IEC TR 12382:1992</docidentifier>
894
894
  <docidentifier type='metanorma'>[1]</docidentifier>
895
- <docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:stage-90.93:ed-2</docidentifier>
895
+ <docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:ed-2</docidentifier>
896
896
  <docnumber>12382</docnumber>
897
897
  <date type="published">
898
898
  <on>1992-12</on>
@@ -941,7 +941,7 @@ RSpec.describe Metanorma::Standoc do
941
941
  <uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
942
942
  <docidentifier type="ISO" primary="true">ISO 124:2014</docidentifier>
943
943
  <docidentifier type='metanorma'>[1]</docidentifier>
944
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
944
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
945
945
  <docnumber>124</docnumber>
946
946
  <date type="published">
947
947
  <on>2014-03</on>
@@ -1021,7 +1021,7 @@ RSpec.describe Metanorma::Standoc do
1021
1021
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1022
1022
  <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1023
1023
  <docidentifier type='ISO' primary="true">ISO 124:2014</docidentifier>
1024
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
1024
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
1025
1025
  <docnumber>124</docnumber>
1026
1026
  <date type='published'>
1027
1027
  <on>2014-03</on>
@@ -1118,7 +1118,7 @@ RSpec.describe Metanorma::Standoc do
1118
1118
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1119
1119
  <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1120
1120
  <docidentifier type='ISO' primary="true">ISO 124</docidentifier>
1121
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
1121
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
1122
1122
  <docnumber>124</docnumber>
1123
1123
  <contributor>
1124
1124
  <role type='publisher'/>
@@ -1159,7 +1159,7 @@ RSpec.describe Metanorma::Standoc do
1159
1159
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1160
1160
  <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1161
1161
  <docidentifier type='ISO' primary="true">ISO 124:2014</docidentifier>
1162
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
1162
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
1163
1163
  <docnumber>124</docnumber>
1164
1164
  <date type='published'>
1165
1165
  <on>2014-03</on>
@@ -1218,7 +1218,7 @@ RSpec.describe Metanorma::Standoc do
1218
1218
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1219
1219
  <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1220
1220
  <docidentifier type='ISO' primary="true">ISO 125</docidentifier>
1221
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7</docidentifier>
1221
+ <docidentifier type='URN'>urn:iso:std:iso:125:ed-7</docidentifier>
1222
1222
  <docnumber>125</docnumber>
1223
1223
  <contributor>
1224
1224
  <role type='publisher'/>
@@ -1262,7 +1262,7 @@ RSpec.describe Metanorma::Standoc do
1262
1262
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1263
1263
  <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1264
1264
  <docidentifier type='ISO' primary="true">ISO 125:2020</docidentifier>
1265
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7</docidentifier>
1265
+ <docidentifier type='URN'>urn:iso:std:iso:125:ed-7</docidentifier>
1266
1266
  <docnumber>125</docnumber>
1267
1267
  <date type='published'>
1268
1268
  <on>2020-02</on>
@@ -1325,7 +1325,7 @@ RSpec.describe Metanorma::Standoc do
1325
1325
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1326
1326
  <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1327
1327
  <docidentifier type='ISO' primary="true">ISO 125</docidentifier>
1328
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7</docidentifier>
1328
+ <docidentifier type='URN'>urn:iso:std:iso:125:ed-7</docidentifier>
1329
1329
  <docnumber>125</docnumber>
1330
1330
  <contributor>
1331
1331
  <role type='publisher'/>
@@ -1369,7 +1369,7 @@ RSpec.describe Metanorma::Standoc do
1369
1369
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1370
1370
  <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1371
1371
  <docidentifier type='ISO' primary="true">ISO 125:2020</docidentifier>
1372
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7</docidentifier>
1372
+ <docidentifier type='URN'>urn:iso:std:iso:125:ed-7</docidentifier>
1373
1373
  <docnumber>125</docnumber>
1374
1374
  <date type='published'>
1375
1375
  <on>2020-02</on>
@@ -1432,7 +1432,7 @@ RSpec.describe Metanorma::Standoc do
1432
1432
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1433
1433
  <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1434
1434
  <docidentifier type='ISO' primary="true">ISO 124</docidentifier>
1435
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
1435
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
1436
1436
  <docnumber>124</docnumber>
1437
1437
  <contributor>
1438
1438
  <role type='publisher'/>
@@ -1473,7 +1473,7 @@ RSpec.describe Metanorma::Standoc do
1473
1473
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1474
1474
  <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1475
1475
  <docidentifier type='ISO' primary="true">ISO 124:2014</docidentifier>
1476
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7</docidentifier>
1476
+ <docidentifier type='URN'>urn:iso:std:iso:124:ed-7</docidentifier>
1477
1477
  <docnumber>124</docnumber>
1478
1478
  <date type='published'>
1479
1479
  <on>2014-03</on>
@@ -2307,7 +2307,7 @@ RSpec.describe Metanorma::Standoc do
2307
2307
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
2308
2308
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2309
2309
  <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
2310
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
2310
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
2311
2311
  <docnumber>123</docnumber>
2312
2312
  <contributor>
2313
2313
  <role type='publisher'/>
@@ -2348,7 +2348,7 @@ RSpec.describe Metanorma::Standoc do
2348
2348
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
2349
2349
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2350
2350
  <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
2351
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
2351
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
2352
2352
  <docnumber>123</docnumber>
2353
2353
  <date type='published'>
2354
2354
  <on>2001-05</on>
@@ -2414,7 +2414,7 @@ RSpec.describe Metanorma::Standoc do
2414
2414
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2415
2415
  <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
2416
2416
  <docidentifier type='metanorma'>[1]</docidentifier>
2417
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
2417
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
2418
2418
  <docnumber>123</docnumber>
2419
2419
  <contributor>
2420
2420
  <role type='publisher'/>
@@ -2455,7 +2455,7 @@ RSpec.describe Metanorma::Standoc do
2455
2455
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
2456
2456
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2457
2457
  <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
2458
- <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3</docidentifier>
2458
+ <docidentifier type='URN'>urn:iso:std:iso:123:ed-3</docidentifier>
2459
2459
  <docnumber>123</docnumber>
2460
2460
  <date type='published'>
2461
2461
  <on>2001-05</on>
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: 2.2.4
4
+ version: 2.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: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor