metanorma-standoc 2.10.5 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ $docstage-colors-list: (
29
29
  retired: #2E382E
30
30
  );
31
31
 
32
- @import 'base_style/all';
32
+ @use 'base_style/all' as *;
33
33
 
34
34
  /*
35
35
  1. HTML & Body
@@ -92,24 +92,6 @@ nav {
92
92
  @include sidebarNavToggle(white, #C70039)
93
93
  }
94
94
 
95
- @media screen and (min-width: 768px) {
96
- .container {
97
- padding-left: 360px;
98
- }
99
-
100
- .rule.toc {
101
- display: none;
102
- }
103
-
104
- h1.toc-contents {
105
- margin-top: 1em;
106
- }
107
-
108
- ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
109
- padding: 0;
110
- margin: 0;
111
- }
112
- }
113
95
 
114
96
  div.figure {
115
97
  @include figureBlock();
@@ -643,6 +625,27 @@ To top button
643
625
  margin: 2cm 1cm;
644
626
  }
645
627
 
628
+
629
+ @media screen and (min-width: 768px) {
630
+ .container {
631
+ padding-left: 360px;
632
+ }
633
+
634
+ .rule.toc {
635
+ display: none;
636
+ }
637
+
638
+ h1.toc-contents {
639
+ margin-top: 1em;
640
+ }
641
+
642
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
643
+ padding: 0;
644
+ margin: 0;
645
+ }
646
+ }
647
+
648
+
646
649
  @media print {
647
650
  .document-info, nav, .copyright {
648
651
  page-break-before: always;
@@ -11,21 +11,31 @@ require_relative "localbib"
11
11
  require_relative "init"
12
12
  require "mn-requirements"
13
13
 
14
+ require 'set'
15
+
16
+ module Asciidoctor
17
+ module Compliance
18
+ ADMONITION_STYLES.add('EDITOR') unless ADMONITION_STYLES.include?('EDITOR')
19
+ end
20
+ end
21
+
14
22
  module Metanorma
15
23
  module Standoc
16
24
  module Base
17
- XML_ROOT_TAG = "standard-document".freeze
18
- XML_NAMESPACE = "https://www.metanorma.org/ns/standoc".freeze
25
+ #XML_ROOT_TAG = "standard-document".freeze
26
+ #XML_NAMESPACE = "https://www.metanorma.org/ns/standoc".freeze
19
27
  FONTS_MANIFEST = "fonts-manifest".freeze
20
28
 
21
29
  attr_accessor :log
22
30
 
23
31
  def xml_root_tag
24
- self.class::XML_ROOT_TAG
32
+ #self.class::XML_ROOT_TAG
33
+ "metanorma"
25
34
  end
26
35
 
27
36
  def xml_namespace
28
- self.class::XML_NAMESPACE
37
+ #self.class::XML_NAMESPACE
38
+ "https://www.metanorma.org/ns/standoc"
29
39
  end
30
40
 
31
41
  def document(node)
@@ -87,7 +97,8 @@ module Metanorma
87
97
  def makexml1(node)
88
98
  result = ["<?xml version='1.0' encoding='UTF-8'?>",
89
99
  "<#{xml_root_tag} type='semantic' version='#{version}' " \
90
- "schema-version='#{schema_version}'>"]
100
+ "schema-version='#{schema_version}' " \
101
+ "flavor='#{processor.new.asciidoctor_backend}'>"]
91
102
  result << noko { |ixml| front node, ixml }
92
103
  result << noko { |ixml| middle node, ixml }
93
104
  result << "</#{xml_root_tag}>"
@@ -599,17 +599,9 @@ It is included for convenience, in case processing the citation to extract the a
599
599
  <a:documentation>The caption of the block</a:documentation>
600
600
  </ref>
601
601
  </optional>
602
- <oneOrMore>
603
- <choice>
604
- <text>
605
- <a:documentation>The computer code or other such text presented in the block, as a single unformatted string.
606
- (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
607
- </text>
608
- <ref name="callout">
609
- <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
610
- </ref>
611
- </choice>
612
- </oneOrMore>
602
+ <ref name="sourcecodebody">
603
+ <a:documentation>The sourcecode content</a:documentation>
604
+ </ref>
613
605
  <zeroOrMore>
614
606
  <ref name="annotation">
615
607
  <a:documentation>Annotations to the source code; each annotation consists of zero or more paragraphs,
@@ -628,17 +620,9 @@ and is intended to be referenced by a callout within the source code</a:document
628
620
  <a:documentation>The caption of the block</a:documentation>
629
621
  </ref>
630
622
  </optional>
631
- <oneOrMore>
632
- <choice>
633
- <text>
634
- <a:documentation>The computer code or other such text presented in the block, as a single unformatted string.
635
- (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
636
- </text>
637
- <ref name="callout">
638
- <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
639
- </ref>
640
- </choice>
641
- </oneOrMore>
623
+ <ref name="sourcecodebody">
624
+ <a:documentation>The sourcecode content</a:documentation>
625
+ </ref>
642
626
  <zeroOrMore>
643
627
  <ref name="annotation">
644
628
  <a:documentation>Annotations to the source code; each annotation consists of zero or more paragraphs,
@@ -651,6 +635,20 @@ and is intended to be referenced by a callout within the source code</a:document
651
635
  </ref>
652
636
  </zeroOrMore>
653
637
  </define>
638
+ <define name="sourcecodebody">
639
+ <a:documentation>The computer code or other such text presented in the block, as a single unformatted string.
640
+ (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
641
+ <element name="body">
642
+ <oneOrMore>
643
+ <choice>
644
+ <text/>
645
+ <ref name="callout">
646
+ <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
647
+ </ref>
648
+ </choice>
649
+ </oneOrMore>
650
+ </element>
651
+ </define>
654
652
  <define name="pre">
655
653
  <a:documentation>Pre-formatted block. Wrapper for text to be rendered with fixed-width typeface, and preserving spaces including line breaks.
656
654
  They are intended for a restricted number of functions, most typically ASCII Art (which is still in prominent use in some
@@ -1672,18 +1670,25 @@ which can be bookmarks as well as block or section references</a:documentation>
1672
1670
  </optional>
1673
1671
  </define>
1674
1672
  <define name="XrefBody">
1675
- <oneOrMore>
1676
- <ref name="PureTextElement">
1677
- <a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `&lt;xx&gt;my link text&lt;/xx&gt;`)</a:documentation>
1678
- </ref>
1679
- </oneOrMore>
1673
+ <a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `&lt;xx&gt;my link text&lt;/xx&gt;`)</a:documentation>
1674
+ <optional>
1675
+ <element name="display-text">
1676
+ <oneOrMore>
1677
+ <ref name="PureTextElement"/>
1678
+ </oneOrMore>
1679
+ </element>
1680
+ </optional>
1680
1681
  </define>
1681
1682
  <define name="ErefBody">
1682
- <oneOrMore>
1683
- <ref name="PureTextElement">
1684
- <a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `&lt;xx&gt;my link text&lt;/xx&gt;`)</a:documentation>
1685
- </ref>
1686
- </oneOrMore>
1683
+ <optional>
1684
+ <element name="display-text">
1685
+ <oneOrMore>
1686
+ <ref name="PureTextElement">
1687
+ <a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `&lt;xx&gt;my link text&lt;/xx&gt;`)</a:documentation>
1688
+ </ref>
1689
+ </oneOrMore>
1690
+ </element>
1691
+ </optional>
1687
1692
  </define>
1688
1693
  <define name="fn">
1689
1694
  <a:documentation>Inline reference to a paragraph or paragraphs, appearing as a footnote.
@@ -947,6 +947,8 @@ May be electronic (e.g. Twitter direct message, email) or voice (e.g. a remark m
947
947
  typically cited as "personal communication")</a:documentation>
948
948
  <value>conversation</value>
949
949
  <a:documentation>An exchange of messages between two or more persons. May be electronic (e.g. web chat) or voice (e.g. phone call)</a:documentation>
950
+ <value>collection</value>
951
+ <a:documentation>A compound resource consisting of other resources, which are themselves presupposed to have their type specified..</a:documentation>
950
952
  <value>misc</value>
951
953
  <a:documentation>Bibliographic type not adequately described in the foregoing</a:documentation>
952
954
  </choice>
@@ -201,7 +201,9 @@ module Metanorma
201
201
  fragment = ::Nokogiri::XML::Builder.new do |xml|
202
202
  xml.sourcecode **listing_attrs(node) do |s|
203
203
  figure_title(node, s)
204
- s << node.content
204
+ s.body do |b|
205
+ b << node.content
206
+ end
205
207
  end
206
208
  end
207
209
  fragment.to_xml(encoding: "US-ASCII", save_with:
@@ -90,8 +90,10 @@ module Metanorma
90
90
  end
91
91
 
92
92
  def admonition_name(node)
93
- ret = node.attr("type") || node.attr("name")
94
- ret&.downcase
93
+ ret = node.attr("type") || node.attr("name") or return
94
+ ret = ret.downcase
95
+ ret == "editor" and ret = "editorial"
96
+ ret
95
97
  end
96
98
 
97
99
  def admonition(node)
@@ -132,7 +132,7 @@ module Metanorma
132
132
  bibdata = bibdata.at("./relation[@type = 'derivedFrom']/bibitem")
133
133
  ident = bibdata.at("./docidentifier[@primary = 'true']") ||
134
134
  bibdata.at("./docidentifier")
135
- xmldoc.xpath("//xref[@target = '#{d}'][normalize-space(text()) = '']")
135
+ xmldoc.xpath("//xref[@target = '#{d}'][normalize-space(.//text()) = '']")
136
136
  .each { |x| x << ident.text }
137
137
  end
138
138
  end
@@ -119,8 +119,8 @@ module Metanorma
119
119
 
120
120
  def align_callouts_to_annotations(xmldoc)
121
121
  xmldoc.xpath("//sourcecode").each do |x|
122
- callouts = x.elements.select { |e| e.name == "callout" }
123
- annotations = x.elements.select { |e| e.name == "annotation" }
122
+ callouts = x.xpath("./body/callout")
123
+ annotations = x.xpath("./annotation")
124
124
  callouts.size == annotations.size and
125
125
  link_callouts_to_annotations(callouts, annotations)
126
126
  end
@@ -163,7 +163,7 @@ module Metanorma
163
163
  acc << safe_noko(a[0], node.document)
164
164
  a.size == 4 or next
165
165
  acc << Asciidoctor.convert(
166
- a[2], doctype: :inline, backend: self&.backend&.to_sym || :standoc
166
+ a[2], doctype: :inline, backend: backend&.to_sym || :standoc
167
167
  )
168
168
  end.join
169
169
  end
@@ -46,7 +46,7 @@ module Metanorma
46
46
  xmldoc.at("//metanorma-extension/semantic-metadata/" \
47
47
  "headless[text() = 'true']") and return nil
48
48
  x = xmldoc.dup
49
- x.root.add_namespace(nil, self.class::XML_NAMESPACE)
49
+ x.root.add_namespace(nil, xml_namespace)
50
50
  xml = Nokogiri::XML(x.to_xml)
51
51
  @isodoc ||= isodoc(@lang, @script, @locale)
52
52
  @isodoc.info(xml, nil)
@@ -56,7 +56,7 @@ module Metanorma
56
56
  elsif depth < entry[:depth]
57
57
  ret += "<li><ul>" * (entry[:depth] - depth)
58
58
  end
59
- ret + "<li><xref target='#{entry[:target]}'>#{entry[:text]}</xref></li>"
59
+ ret + "<li><xref target='#{entry[:target]}'><display-text>#{entry[:text]}</display-text></xref></li>"
60
60
  end
61
61
 
62
62
  def toc_cleanup_clause(xmldoc)
@@ -70,10 +70,10 @@ module Metanorma
70
70
  end
71
71
 
72
72
  def toc_cleanup_clause_entry(xmldoc, list)
73
- list.xpath(".//xref[not(text())]").each do |x|
73
+ list.xpath(".//xref[not(text())][not(display-text)]").each do |x|
74
74
  c1 = xmldoc.at("//*[@id = '#{x['target']}']")
75
75
  t = c1.at("./variant-title[@type = 'toc']") || c1.at("./title")
76
- x << t.dup.children
76
+ x << "<display-text>#{to_xml(t.dup.children)}</display-text>"
77
77
  end
78
78
  end
79
79
 
@@ -35,11 +35,12 @@ module Metanorma
35
35
  def extract_localities(elem)
36
36
  elem.children.empty? and return
37
37
  f = elem.children.first
38
- f.text? or return
38
+ f.text? or return xref_display_text(elem, elem.children.remove)
39
39
  head = f.remove.text
40
40
  tail = elem.children.remove
41
- extract_localities1(elem, head)
42
- tail and elem << tail
41
+ d = extract_localities1(elem, head)
42
+ tail and d << tail
43
+ d.children.empty? and d.remove
43
44
  end
44
45
 
45
46
  LOCALITY_REGEX_STR_TRIPLEDASH = <<~REGEXP.freeze
@@ -69,7 +70,13 @@ module Metanorma
69
70
  b = elem.add_child("<localityStack/>").first if m[:punct] == ";"
70
71
  end
71
72
  fill_in_eref_connectives(elem)
72
- elem.add_child(text) if text
73
+ xref_display_text(elem, text)
74
+ end
75
+
76
+ def xref_display_text(elem, text)
77
+ d = elem.add_child("<display-text></display-text>").first
78
+ d.add_child(text) if text
79
+ d
73
80
  end
74
81
 
75
82
  # clause=3;and!5 => clause=3;and!clause=5
@@ -135,6 +142,9 @@ module Metanorma
135
142
  end
136
143
 
137
144
  def eref_stack(xmldoc)
145
+ xmldoc.xpath("//eref/display-text[eref]").each do |e|
146
+ e.replace(e.children)
147
+ end
138
148
  xmldoc.xpath("//eref[eref]").each do |e|
139
149
  e.name = "erefstack"
140
150
  e.delete("bibitemid")
@@ -196,6 +206,11 @@ module Metanorma
196
206
  xmldoc.xpath("//xref//xref").each do |x|
197
207
  x.name = "location"
198
208
  end
209
+ xmldoc.xpath("//xref[not(./display-text)]").each do |x|
210
+ c = x.xpath("./*[not(self::locality or self::localityStack or self::location)] | ./text()")
211
+ c.empty? and next
212
+ xref_display_text(x, c.remove)
213
+ end
199
214
  end
200
215
 
201
216
  def xref_cleanup1(xmldoc)
@@ -23,10 +23,8 @@ module Metanorma
23
23
  Asciidoctor::Extensions.register do
24
24
  preprocessor Metanorma::Standoc::ResolveIncludePreprocessor
25
25
  preprocessor Metanorma::Plugin::Lutaml::LutamlPreprocessor
26
- preprocessor Metanorma::Plugin::Lutaml::LutamlUmlAttributesTablePreprocessor
27
26
  preprocessor Metanorma::Plugin::Lutaml::LutamlUmlDatamodelDescriptionPreprocessor
28
27
  preprocessor Metanorma::Plugin::Lutaml::LutamlEaXmiPreprocessor
29
- preprocessor Metanorma::Plugin::Lutaml::LutamlUmlClassPreprocessor
30
28
  inline_macro Metanorma::Plugin::Lutaml::LutamlFigureInlineMacro
31
29
  inline_macro Metanorma::Plugin::Lutaml::LutamlTableInlineMacro
32
30
  block_macro Metanorma::Plugin::Lutaml::LutamlDiagramBlockMacro
@@ -217,9 +217,9 @@ module Metanorma
217
217
  ["en"].each do |lang|
218
218
  at = { language: lang, format: "text/plain" }
219
219
  xml.title **attr_code(at) do |t|
220
- title = Metanorma::Utils::asciidoc_sub(node.attr("title") ||
221
- node.attr("title-en"))
222
- t << (title || node.title)
220
+ title = Metanorma::Utils::asciidoc_sub(
221
+ node.attr("title") || node.attr("title-en") || node.attr("doctitle"))
222
+ t << title
223
223
  end
224
224
  end
225
225
  end
@@ -1,6 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <grammar ns="https://www.metanorma.org/ns/standoc" xmlns="http://relaxng.org/ns/structure/1.0">
3
- <!-- default namespace isostandard = "https://www.metanorma.com/ns/iso" -->
4
3
  <include href="biblio-standoc.rng"/>
5
4
  <include href="isodoc.rng"/>
6
5
  </grammar>
@@ -17,7 +17,7 @@
17
17
  these elements; we just want one namespace for any child grammars
18
18
  of this.
19
19
  -->
20
- <!-- VERSION v1.4.1 -->
20
+ <!-- VERSION v2.0.0 -->
21
21
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
22
22
  <include href="reqt.rng"/>
23
23
  <include href="basicdoc.rng">
@@ -245,23 +245,9 @@
245
245
  <a:documentation>The caption of the block</a:documentation>
246
246
  </ref>
247
247
  </optional>
248
- <oneOrMore>
249
- <choice>
250
- <text>
251
- <a:documentation>The computer code or other such text presented in the block, as a single unformatted string.
252
- (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
253
- </text>
254
- <ref name="callout">
255
- <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
256
- </ref>
257
- <ref name="xref">
258
- <a:documentation>Hyperlink of code segment to another part of the document</a:documentation>
259
- </ref>
260
- <ref name="eref">
261
- <a:documentation>Hyperlink of code segment to external bibliographic resource</a:documentation>
262
- </ref>
263
- </choice>
264
- </oneOrMore>
248
+ <ref name="sourcecodebody">
249
+ <a:documentation>The sourcecode content</a:documentation>
250
+ </ref>
265
251
  <zeroOrMore>
266
252
  <ref name="annotation">
267
253
  <a:documentation>Annotations to the source code; each annotation consists of zero or more paragraphs,
@@ -277,6 +263,26 @@ and is intended to be referenced by a callout within the source code</a:document
277
263
  <a:documentation>A source for the block</a:documentation>
278
264
  </ref>
279
265
  </define>
266
+ <define name="sourcecodebody">
267
+ <a:documentation>The computer code or other such text presented in the block, as a single unformatted string.
268
+ (The string should be treated as pre-formatted text, with whitespace treated as significant)</a:documentation>
269
+ <element name="body">
270
+ <oneOrMore>
271
+ <choice>
272
+ <text/>
273
+ <ref name="callout">
274
+ <a:documentation>Zero or more cross-references; these are intended to be embedded within the content string, and link to annotations</a:documentation>
275
+ </ref>
276
+ <ref name="xref">
277
+ <a:documentation>Hyperlink of code segment to another part of the document</a:documentation>
278
+ </ref>
279
+ <ref name="eref">
280
+ <a:documentation>Hyperlink of code segment to external bibliographic resource</a:documentation>
281
+ </ref>
282
+ </choice>
283
+ </oneOrMore>
284
+ </element>
285
+ </define>
280
286
  <define name="sections">
281
287
  <element name="sections">
282
288
  <oneOrMore>
@@ -459,11 +465,14 @@ gives an explicit page orientation</a:documentation>
459
465
  <a:documentation>Description of location in a reference, which can be combined with other locations in a single citation</a:documentation>
460
466
  </ref>
461
467
  </zeroOrMore>
462
- <zeroOrMore>
463
- <ref name="PureTextElement">
468
+ <optional>
469
+ <element name="display-text">
464
470
  <a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `&lt;xx&gt;my link text&lt;/xx&gt;`)</a:documentation>
465
- </ref>
466
- </zeroOrMore>
471
+ <oneOrMore>
472
+ <ref name="PureTextElement"/>
473
+ </oneOrMore>
474
+ </element>
475
+ </optional>
467
476
  </define>
468
477
  </include>
469
478
  <!-- end overrides -->
@@ -1205,10 +1214,13 @@ numbers</a:documentation>
1205
1214
  <value>presentation</value>
1206
1215
  </choice>
1207
1216
  </attribute>
1217
+ <attribute name="flavor">
1218
+ <a:documentation>Metanorma flavor, indicating SDO whose requiremnts the realisation aligns to</a:documentation>
1219
+ </attribute>
1208
1220
  </define>
1209
1221
  <define name="standard-document">
1210
1222
  <a:documentation>Representation of a standardisation document</a:documentation>
1211
- <element name="standard-document">
1223
+ <element name="metanorma">
1212
1224
  <ref name="Root-Attributes"/>
1213
1225
  <ref name="bibdata">
1214
1226
  <a:documentation>Bibliographic description of the document itself, expressed in the Relaton model</a:documentation>
@@ -44,6 +44,7 @@ module Metanorma
44
44
  on_contexts :example, :paragraph
45
45
 
46
46
  def process(parent, reader, attrs)
47
+ require "debug"; binding.b
47
48
  attrs["name"] = "editorial"
48
49
  attrs["caption"] = "EDITOR"
49
50
  create_block(parent, :admonition, reader.lines, attrs,
@@ -11,8 +11,8 @@ module Metanorma
11
11
 
12
12
  def sourcecode_style(root)
13
13
  root.xpath("//sourcecode").each do |x|
14
- callouts = x.elements.select { |e| e.name == "callout" }
15
- annotations = x.elements.select { |e| e.name == "annotation" }
14
+ callouts = x.xpath("./body/callout")
15
+ annotations = x.xpath("./annotation")
16
16
  callouts_error(x, callouts, annotations)
17
17
  end
18
18
  end
@@ -19,6 +19,6 @@ module Metanorma
19
19
  end
20
20
 
21
21
  module Standoc
22
- VERSION = "2.10.5".freeze
22
+ VERSION = "3.0.2".freeze
23
23
  end
24
24
  end
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency "asciidoctor", "~> 2.0.0"
33
33
  spec.add_dependency "crass", "~> 1.0.0"
34
34
  spec.add_dependency "iev", "~> 0.3.5"
35
- spec.add_dependency "isodoc", "~> 2.12.4"
35
+ spec.add_dependency "isodoc", "~> 3.1.0"
36
36
  spec.add_dependency "metanorma", ">= 1.6.0"
37
37
  spec.add_dependency "metanorma-plugin-datastruct", "~> 0.3.0"
38
38
  spec.add_dependency "metanorma-plugin-glossarist", "~> 0.2.0"
@@ -54,7 +54,7 @@ Gem::Specification.new do |spec|
54
54
  spec.add_development_dependency "rake", "~> 13.0"
55
55
  spec.add_development_dependency "rspec", "~> 3.6"
56
56
  spec.add_development_dependency "rubocop", "~> 1.5.2"
57
- spec.add_development_dependency "sassc", "2.4.0"
57
+ spec.add_development_dependency "sassc-embedded", "~> 1"
58
58
  spec.add_development_dependency "simplecov", "~> 0.15"
59
59
  spec.add_development_dependency "timecop", "~> 0.9"
60
60
  spec.add_development_dependency "vcr", "~> 6.1.0"
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.10.5
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-20 00:00:00.000000000 Z
11
+ date: 2025-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.12.4
75
+ version: 3.1.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 2.12.4
82
+ version: 3.1.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: metanorma
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -347,19 +347,19 @@ dependencies:
347
347
  - !ruby/object:Gem::Version
348
348
  version: 1.5.2
349
349
  - !ruby/object:Gem::Dependency
350
- name: sassc
350
+ name: sassc-embedded
351
351
  requirement: !ruby/object:Gem::Requirement
352
352
  requirements:
353
- - - '='
353
+ - - "~>"
354
354
  - !ruby/object:Gem::Version
355
- version: 2.4.0
355
+ version: '1'
356
356
  type: :development
357
357
  prerelease: false
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
- - - '='
360
+ - - "~>"
361
361
  - !ruby/object:Gem::Version
362
- version: 2.4.0
362
+ version: '1'
363
363
  - !ruby/object:Gem::Dependency
364
364
  name: simplecov
365
365
  requirement: !ruby/object:Gem::Requirement
@@ -605,7 +605,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
605
605
  - !ruby/object:Gem::Version
606
606
  version: '0'
607
607
  requirements: []
608
- rubygems_version: 3.3.27
608
+ rubygems_version: 3.5.22
609
609
  signing_key:
610
610
  specification_version: 4
611
611
  summary: metanorma-standoc realises standards following the Metanorma standoc model