metanorma-ogc 2.2.5 → 2.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/isodoc/ogc/html/htmlstyle.css +15 -0
  3. data/lib/isodoc/ogc/html/htmlstyle.scss +1 -0
  4. data/lib/isodoc/ogc/html/wordstyle.css +150 -0
  5. data/lib/isodoc/ogc/html/wordstyle.scss +144 -0
  6. data/lib/isodoc/ogc/html/wordstyle_wp.css +126 -0
  7. data/lib/isodoc/ogc/html/wordstyle_wp.scss +121 -0
  8. data/lib/isodoc/ogc/metadata.rb +7 -6
  9. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +320 -80
  10. data/lib/isodoc/ogc/ogc.best-practice.xsl +320 -80
  11. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +320 -80
  12. data/lib/isodoc/ogc/ogc.community-practice.xsl +320 -80
  13. data/lib/isodoc/ogc/ogc.community-standard.xsl +320 -80
  14. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +320 -80
  15. data/lib/isodoc/ogc/ogc.draft-standard.xsl +11036 -0
  16. data/lib/isodoc/ogc/ogc.engineering-report.xsl +320 -80
  17. data/lib/isodoc/ogc/ogc.other.xsl +320 -80
  18. data/lib/isodoc/ogc/ogc.policy.xsl +320 -80
  19. data/lib/isodoc/ogc/ogc.reference-model.xsl +320 -80
  20. data/lib/isodoc/ogc/ogc.release-notes.xsl +320 -80
  21. data/lib/isodoc/ogc/ogc.standard.xsl +320 -80
  22. data/lib/isodoc/ogc/ogc.test-suite.xsl +320 -80
  23. data/lib/isodoc/ogc/ogc.user-guide.xsl +320 -80
  24. data/lib/isodoc/ogc/ogc.white-paper.xsl +308 -69
  25. data/lib/isodoc/ogc/pdf_convert.rb +5 -4
  26. data/lib/isodoc/ogc/presentation_xml_convert.rb +5 -5
  27. data/lib/metanorma/ogc/biblio.rng +5 -0
  28. data/lib/metanorma/ogc/cleanup.rb +14 -14
  29. data/lib/metanorma/ogc/converter.rb +2 -2
  30. data/lib/metanorma/ogc/front.rb +12 -8
  31. data/lib/metanorma/ogc/isodoc.rng +47 -13
  32. data/lib/metanorma/ogc/relaton-ogc.rng +1 -0
  33. data/lib/metanorma/ogc/validate.rb +15 -15
  34. data/lib/metanorma/ogc/version.rb +1 -1
  35. data/metanorma-ogc.gemspec +3 -2
  36. metadata +5 -11
  37. data/.github/workflows/automerge.yml +0 -31
  38. data/.github/workflows/rake.yml +0 -15
  39. data/.github/workflows/release.yml +0 -24
  40. data/Rakefile +0 -8
  41. data/bin/console +0 -14
  42. data/bin/rspec +0 -17
  43. data/bin/setup +0 -8
@@ -188,6 +188,11 @@
188
188
  <value>adapter</value>
189
189
  <value>translator</value>
190
190
  <value>distributor</value>
191
+ <value>realizer</value>
192
+ <value>owner</value>
193
+ <value>authorizer</value>
194
+ <value>enabler</value>
195
+ <value>subject</value>
191
196
  </choice>
192
197
  </attribute>
193
198
  <zeroOrMore>
@@ -30,12 +30,12 @@ module Metanorma
30
30
  def insert_security(xml, sect)
31
31
  description = "document"
32
32
  description = "standard" if %w(standard community-standard)
33
- .include?(sect&.at("//bibdata/ext/doctype")&.text)
33
+ .include?(sect.at("//bibdata/ext/doctype")&.text)
34
34
  preface = sect.at("//preface") ||
35
35
  sect.add_previous_sibling("<preface/>").first
36
- sect = xml&.at("//clause[@type = 'security']")&.remove ||
37
- "<clause type='security' #{add_id}>"\
38
- "<title>Security considerations</title>"\
36
+ sect = xml.at("//clause[@type = 'security']")&.remove ||
37
+ "<clause type='security' #{add_id}>" \
38
+ "<title>Security considerations</title>" \
39
39
  "<p>#{@i18n.security_empty.sub(/%/, description)}</p></clause>"
40
40
  preface.add_child sect
41
41
  end
@@ -68,19 +68,19 @@ module Metanorma
68
68
  replace_title(xml, "//definitions[@type = 'abbreviated_terms']",
69
69
  @i18n&.abbrev)
70
70
  replace_title(xml, "//definitions[not(@type)]", @i18n&.symbolsabbrev)
71
- replace_title(xml, "//sections//terms#{SYMnoABBR} | "\
71
+ replace_title(xml, "//sections//terms#{SYMnoABBR} | " \
72
72
  "//sections//clause[.//terms]#{SYMnoABBR}",
73
73
  @i18n&.termsdefsymbols, true)
74
- replace_title(xml, "//sections//terms#{ABBRnoSYM} | "\
74
+ replace_title(xml, "//sections//terms#{ABBRnoSYM} | " \
75
75
  "//sections//clause[.//terms]#{ABBRnoSYM}",
76
76
  @i18n&.termsdefabbrev, true)
77
- replace_title(xml, "//sections//terms#{SYMABBR} | "\
77
+ replace_title(xml, "//sections//terms#{SYMABBR} | " \
78
78
  "//sections//clause[.//terms]#{SYMABBR}",
79
79
  @i18n&.termsdefsymbolsabbrev, true)
80
- replace_title(xml, "//sections//terms#{NO_SYMABBR} | "\
80
+ replace_title(xml, "//sections//terms#{NO_SYMABBR} | " \
81
81
  "//sections//clause[.//terms]#{NO_SYMABBR}",
82
82
  @i18n&.termsdefsymbolsabbrev, true)
83
- replace_title(xml, "//sections//terms[not(.//definitions)] | "\
83
+ replace_title(xml, "//sections//terms[not(.//definitions)] | " \
84
84
  "//sections//clause[.//terms][not(.//definitions)]",
85
85
  @i18n&.termsdef, true)
86
86
  end
@@ -101,7 +101,7 @@ module Metanorma
101
101
  end
102
102
 
103
103
  def normref_cleanup(xmldoc)
104
- r1 = xmldoc.at("//references[title[translate(text(), 'R', 'r') = "\
104
+ r1 = xmldoc.at("//references[title[translate(text(), 'R', 'r') = " \
105
105
  "'Normative references']]")
106
106
  r2 = xmldoc.at("//references[title[text() = 'References']]")
107
107
  if r1 && r2
@@ -118,7 +118,7 @@ module Metanorma
118
118
  r["obligation"] = "normative" unless r["obligation"]
119
119
  end
120
120
  xml.xpath(::Metanorma::Standoc::Utils::SUBCLAUSE_XPATH).each do |r|
121
- o = r&.at("./ancestor::*/@obligation")&.text and r["obligation"] = o
121
+ o = r.at("./ancestor::*/@obligation")&.text and r["obligation"] = o
122
122
  end
123
123
  end
124
124
 
@@ -145,12 +145,12 @@ module Metanorma
145
145
 
146
146
  PUBLISHER = "./contributor[role/@type = 'publisher']/organization".freeze
147
147
 
148
- OTHERIDS = "@type = 'DOI' or @type = 'metanorma' or @type = 'ISSN' or "\
148
+ OTHERIDS = "@type = 'DOI' or @type = 'metanorma' or @type = 'ISSN' or " \
149
149
  "@type = 'ISBN'".freeze
150
150
 
151
151
  def pub_class(bib)
152
152
  return 1 if bib.at("#{PUBLISHER}[abbreviation = 'OGC']")
153
- return 1 if bib.at("#{PUBLISHER}[name = 'Open Geospatial "\
153
+ return 1 if bib.at("#{PUBLISHER}[name = 'Open Geospatial " \
154
154
  "Consortium']")
155
155
  return 2 if bib.at("./docidentifier[@type][not(#{OTHERIDS})]")
156
156
 
@@ -173,7 +173,7 @@ module Metanorma
173
173
  num = if ids[:num].nil? then ids[:abbrid]
174
174
  else sprintf("%09d", ids[:num].to_i)
175
175
  end
176
- "#{pubclass} :: #{ids[:type]} :: #{sortkey3} :: #{num} :: "\
176
+ "#{pubclass} :: #{ids[:type]} :: #{sortkey3} :: #{num} :: " \
177
177
  "#{sprintf('%09d', ids[:partid])} :: #{ids[:id]} :: #{title}"
178
178
  end
179
179
 
@@ -42,7 +42,7 @@ module Metanorma
42
42
  change-request-supporting-document community-practice
43
43
  community-standard discussion-paper engineering-report
44
44
  reference-model release-notes standard user-guide white-paper
45
- technical-paper test-suite}.include? d
45
+ technical-paper test-suite draft-standard}.include? d
46
46
  @warned_doctype or
47
47
  @log.add("Document Attributes", nil,
48
48
  "'#{d}' is not a legal document type: reverting to 'standard'")
@@ -83,7 +83,7 @@ module Metanorma
83
83
  end
84
84
 
85
85
  def clause_parse(attrs, xml, node)
86
- case node&.attr("heading")&.downcase || node.title.downcase
86
+ case node.attr("heading")&.downcase || node.title.downcase
87
87
  when "submitters" then return submitters_parse(attrs, xml, node)
88
88
  when "conformance" then attrs = attrs.merge(type: "conformance")
89
89
  when "security considerations"
@@ -85,16 +85,20 @@ module Metanorma
85
85
  return unless node.attr("committee")
86
86
 
87
87
  xml.editorialgroup do |a|
88
- a.committee(node.attr("committee") || "technical")
89
- node.attr("subcommittee") and
90
- a.subcommittee(node.attr("subcommittee"),
88
+ metadata_committee1(node, a)
89
+ end
90
+ end
91
+
92
+ def metadata_committee1(node, xml)
93
+ xml.committee(node.attr("committee") || "technical")
94
+ node.attr("subcommittee") and
95
+ xml.subcommittee(node.attr("subcommittee"),
91
96
  **attr_code(type: node.attr("subcommittee-type"),
92
97
  number: node.attr("subcommittee-number")))
93
- (node.attr("workgroup") || node.attr("workinggroup")) and
94
- a.workgroup(node.attr("workgroup") || node.attr("workinggroup"),
98
+ (node.attr("workgroup") || node.attr("workinggroup")) and
99
+ xml.workgroup(node.attr("workgroup") || node.attr("workinggroup"),
95
100
  **attr_code(type: node.attr("workgroup-type"),
96
101
  number: node.attr("workgroup-number")))
97
- end
98
102
  end
99
103
 
100
104
  def externalid(node)
@@ -170,7 +174,7 @@ module Metanorma
170
174
  conceptual-model-and-implementation encoding extension
171
175
  implementation profile profile-with-extension}.include? s
172
176
  @log.add("Document Attributes", nil,
173
- "'#{s}' is not a permitted subtype of Standard: "\
177
+ "'#{s}' is not a permitted subtype of Standard: " \
174
178
  "reverting to 'implementation'")
175
179
  s = "implementation"
176
180
  end
@@ -178,7 +182,7 @@ module Metanorma
178
182
  unless %w{general encoding extension profile
179
183
  profile-with-extension}.include? s
180
184
  @log.add("Document Attributes", nil,
181
- "'#{s}' is not a permitted subtype of Standard: "\
185
+ "'#{s}' is not a permitted subtype of Standard: " \
182
186
  "reverting to 'implementation'")
183
187
  s = "general"
184
188
  end
@@ -177,11 +177,7 @@
177
177
  </optional>
178
178
  <optional>
179
179
  <attribute name="style">
180
- <choice>
181
- <value>basic</value>
182
- <value>full</value>
183
- <value>short</value>
184
- </choice>
180
+ <ref name="XrefStyleType"/>
185
181
  </attribute>
186
182
  </optional>
187
183
  <ref name="XrefBody"/>
@@ -1031,6 +1027,7 @@
1031
1027
  <ref name="stem"/>
1032
1028
  <ref name="index"/>
1033
1029
  <ref name="eref"/>
1030
+ <ref name="erefstack"/>
1034
1031
  <ref name="xref"/>
1035
1032
  <ref name="hyperlink"/>
1036
1033
  </choice>
@@ -1045,6 +1042,7 @@
1045
1042
  <ref name="stem"/>
1046
1043
  <ref name="index"/>
1047
1044
  <ref name="eref"/>
1045
+ <ref name="erefstack"/>
1048
1046
  <ref name="xref"/>
1049
1047
  <ref name="hyperlink"/>
1050
1048
  </choice>
@@ -1058,6 +1056,7 @@
1058
1056
  <ref name="PureTextElement"/>
1059
1057
  <ref name="index"/>
1060
1058
  <ref name="eref"/>
1059
+ <ref name="erefstack"/>
1061
1060
  <ref name="xref"/>
1062
1061
  <ref name="hyperlink"/>
1063
1062
  </choice>
@@ -1153,7 +1152,7 @@
1153
1152
  <data type="boolean"/>
1154
1153
  </attribute>
1155
1154
  </optional>
1156
- <ref name="BibliographicItem"/>
1155
+ <ref name="ReducedBibliographicItem"/>
1157
1156
  </element>
1158
1157
  </define>
1159
1158
  <define name="image" combine="choice">
@@ -1195,6 +1194,7 @@
1195
1194
  <ref name="add"/>
1196
1195
  <ref name="del"/>
1197
1196
  <ref name="span"/>
1197
+ <ref name="erefstack"/>
1198
1198
  </choice>
1199
1199
  </define>
1200
1200
  <define name="add">
@@ -1202,6 +1202,7 @@
1202
1202
  <choice>
1203
1203
  <ref name="PureTextElement"/>
1204
1204
  <ref name="eref"/>
1205
+ <ref name="erefstack"/>
1205
1206
  <ref name="stem"/>
1206
1207
  <ref name="keyword"/>
1207
1208
  <ref name="xref"/>
@@ -1214,6 +1215,7 @@
1214
1215
  <choice>
1215
1216
  <ref name="PureTextElement"/>
1216
1217
  <ref name="eref"/>
1218
+ <ref name="erefstack"/>
1217
1219
  <ref name="stem"/>
1218
1220
  <ref name="keyword"/>
1219
1221
  <ref name="xref"/>
@@ -1278,6 +1280,7 @@
1278
1280
  </optional>
1279
1281
  <choice>
1280
1282
  <ref name="eref"/>
1283
+ <ref name="erefstack"/>
1281
1284
  <ref name="xref"/>
1282
1285
  <ref name="termref"/>
1283
1286
  </choice>
@@ -1970,6 +1973,7 @@
1970
1973
  </element>
1971
1974
  <choice>
1972
1975
  <ref name="eref"/>
1976
+ <ref name="erefstack"/>
1973
1977
  <ref name="xref"/>
1974
1978
  <ref name="termref"/>
1975
1979
  </choice>
@@ -2525,6 +2529,7 @@
2525
2529
  <ref name="xref"/>
2526
2530
  <ref name="hyperlink"/>
2527
2531
  <ref name="eref"/>
2532
+ <ref name="erefstack"/>
2528
2533
  </choice>
2529
2534
  <oneOrMore>
2530
2535
  <element name="coords">
@@ -2572,6 +2577,7 @@
2572
2577
  <ref name="xref"/>
2573
2578
  <ref name="hyperlink"/>
2574
2579
  <ref name="eref"/>
2580
+ <ref name="erefstack"/>
2575
2581
  </choice>
2576
2582
  </element>
2577
2583
  </zeroOrMore>
@@ -2620,6 +2626,15 @@
2620
2626
  <ref name="PureTextElement"/>
2621
2627
  </oneOrMore>
2622
2628
  </define>
2629
+ <define name="XrefConnectiveType">
2630
+ <choice>
2631
+ <value>and</value>
2632
+ <value>or</value>
2633
+ <value>from</value>
2634
+ <value>to</value>
2635
+ <value/>
2636
+ </choice>
2637
+ </define>
2623
2638
  <define name="XrefTarget">
2624
2639
  <element name="location">
2625
2640
  <attribute name="target">
@@ -2628,16 +2643,35 @@
2628
2643
  </data>
2629
2644
  </attribute>
2630
2645
  <attribute name="connective">
2631
- <choice>
2632
- <value>and</value>
2633
- <value>or</value>
2634
- <value>from</value>
2635
- <value>to</value>
2636
- <value/>
2637
- </choice>
2646
+ <ref name="XrefConnectiveType"/>
2638
2647
  </attribute>
2639
2648
  </element>
2640
2649
  </define>
2650
+ <define name="XrefStyleType">
2651
+ <choice>
2652
+ <value>basic</value>
2653
+ <value>full</value>
2654
+ <value>short</value>
2655
+ <value>id</value>
2656
+ </choice>
2657
+ </define>
2658
+ <define name="erefTypeWithConnective">
2659
+ <optional>
2660
+ <attribute name="connective">
2661
+ <ref name="XrefConnectiveType"/>
2662
+ </attribute>
2663
+ </optional>
2664
+ <ref name="erefType"/>
2665
+ </define>
2666
+ <define name="erefstack">
2667
+ <element name="erefstack">
2668
+ <oneOrMore>
2669
+ <element name="eref">
2670
+ <ref name="erefTypeWithConnective"/>
2671
+ </element>
2672
+ </oneOrMore>
2673
+ </element>
2674
+ </define>
2641
2675
  <start>
2642
2676
  <ref name="standard-document"/>
2643
2677
  </start>
@@ -18,6 +18,7 @@
18
18
  <value>user-guide</value>
19
19
  <value>white-paper</value>
20
20
  <value>test-suite</value>
21
+ <value>draft-standard</value>
21
22
  </choice>
22
23
  </define>
23
24
  <define name="DocumentSubtype">
@@ -32,10 +32,12 @@ module Metanorma
32
32
 
33
33
  def stage_type_validate(stage, doctype)
34
34
  err = case doctype
35
- when "standard", "abstract-specification-topic"
35
+ when "standard", "abstract-specification-topic", "draft-standard"
36
36
  %w(draft work-item-draft).include?(stage)
37
37
  when "community-standard"
38
38
  %w(draft swg-draft).include?(stage)
39
+ when "best-practice", "community-practice"
40
+ %w(draft swg-draft work-item-draft).include?(stage)
39
41
  else %w(swg-draft oab-review public-rfc tc-vote
40
42
  work-item-draft deprecated rescinded).include?(stage)
41
43
  end
@@ -44,22 +46,20 @@ module Metanorma
44
46
  end
45
47
 
46
48
  def version_validate(xmldoc)
47
- version = xmldoc&.at("//bibdata/edition")&.text
48
- doctype = xmldoc&.at("//bibdata/ext/doctype")&.text
49
+ version = xmldoc.at("//bibdata/edition")&.text
50
+ doctype = xmldoc.at("//bibdata/ext/doctype")&.text
49
51
  if %w(engineering-report discussion-paper).include? doctype
50
- version.nil? or
51
- @log.add("Document Attributes", nil,
52
- "Version not permitted for #{doctype}")
52
+ version.nil? or @log.add("Document Attributes", nil,
53
+ "Version not permitted for #{doctype}")
53
54
  else
54
- version.nil? and
55
- @log.add("Document Attributes", nil,
56
- "Version required for #{doctype}")
55
+ version.nil? and @log.add("Document Attributes", nil,
56
+ "Version required for #{doctype}")
57
57
  end
58
58
  end
59
59
 
60
60
  def execsummary_validate(xmldoc)
61
- doctype = xmldoc&.at("//bibdata/ext/doctype")&.text
62
- sect = xmldoc&.at("//clause[@type = 'executivesummary']")
61
+ doctype = xmldoc.at("//bibdata/ext/doctype")&.text
62
+ sect = xmldoc.at("//clause[@type = 'executivesummary']")
63
63
  doctype == "engineering-report" && sect.nil? and
64
64
  @log.add("Style", nil,
65
65
  "Executive Summary required for Engineering Reports!")
@@ -91,7 +91,7 @@ module Metanorma
91
91
  val: ["./self::clause[@type = 'conformance']"],
92
92
  },
93
93
  {
94
- msg: "Normative References must be followed by "\
94
+ msg: "Normative References must be followed by " \
95
95
  "Terms and Definitions",
96
96
  val: ["./self::terms | .//terms"],
97
97
  },
@@ -110,7 +110,7 @@ module Metanorma
110
110
 
111
111
  def sections_sequence_validate(root)
112
112
  return unless STANDARDTYPE.include?(
113
- root&.at("//bibdata/ext/doctype")&.text,
113
+ root.at("//bibdata/ext/doctype")&.text,
114
114
  )
115
115
 
116
116
  names = root.xpath("//sections/* | //bibliography/*")
@@ -126,7 +126,7 @@ module Metanorma
126
126
  "Document must contain at least one clause")
127
127
  return
128
128
  end
129
- root.at("//references | //clause[descendant::references]"\
129
+ root.at("//references | //clause[descendant::references]" \
130
130
  "[not(parent::clause)]") or
131
131
  @log.add("Style", nil, "Normative References are mandatory")
132
132
  end
@@ -138,7 +138,7 @@ module Metanorma
138
138
  @log.add("Style", nil, "Keywords are missing!")
139
139
  root.at("//foreword") or @log.add("Style", nil,
140
140
  "Preface is missing!")
141
- root.at("//bibdata/contributor[role/@type = 'author']/organization/"\
141
+ root.at("//bibdata/contributor[role/@type = 'author']/organization/" \
142
142
  "name") or
143
143
  @log.add("Style", nil, "Submitting Organizations is missing!")
144
144
  root.at("//submitters") or @log.add("Style", nil,
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ogc
3
- VERSION = "2.2.5".freeze
3
+ VERSION = "2.2.7".freeze
4
4
  end
5
5
  end
@@ -17,12 +17,13 @@ Gem::Specification.new do |spec|
17
17
  spec.license = "BSD-2-Clause"
18
18
 
19
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
- f.match(%r{^(test|spec|features)/})
20
+ f.match(%r{^(test|spec|features|bin|.github)/}) \
21
+ || f.match(%r{Rakefile|bin/rspec})
21
22
  end
22
23
  spec.bindir = "exe"
23
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
25
  spec.require_paths = ["lib"]
25
- spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
26
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
26
27
 
27
28
  spec.add_dependency "iso-639"
28
29
  spec.add_dependency "metanorma-standoc", "~> 2.2.4"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.5
4
+ version: 2.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-24 00:00:00.000000000 Z
11
+ date: 2022-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639
@@ -215,9 +215,6 @@ executables: []
215
215
  extensions: []
216
216
  extra_rdoc_files: []
217
217
  files:
218
- - ".github/workflows/automerge.yml"
219
- - ".github/workflows/rake.yml"
220
- - ".github/workflows/release.yml"
221
218
  - ".gitignore"
222
219
  - ".hound.yml"
223
220
  - ".rubocop.yml"
@@ -225,10 +222,6 @@ files:
225
222
  - Gemfile
226
223
  - LICENSE
227
224
  - README.adoc
228
- - Rakefile
229
- - bin/console
230
- - bin/rspec
231
- - bin/setup
232
225
  - lib/isodoc/ogc.rb
233
226
  - lib/isodoc/ogc/base_convert.rb
234
227
  - lib/isodoc/ogc/biblio.rb
@@ -266,6 +259,7 @@ files:
266
259
  - lib/isodoc/ogc/ogc.community-practice.xsl
267
260
  - lib/isodoc/ogc/ogc.community-standard.xsl
268
261
  - lib/isodoc/ogc/ogc.discussion-paper.xsl
262
+ - lib/isodoc/ogc/ogc.draft-standard.xsl
269
263
  - lib/isodoc/ogc/ogc.engineering-report.xsl
270
264
  - lib/isodoc/ogc/ogc.other.xsl
271
265
  - lib/isodoc/ogc/ogc.policy.xsl
@@ -314,14 +308,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
314
308
  requirements:
315
309
  - - ">="
316
310
  - !ruby/object:Gem::Version
317
- version: 2.5.0
311
+ version: 2.7.0
318
312
  required_rubygems_version: !ruby/object:Gem::Requirement
319
313
  requirements:
320
314
  - - ">="
321
315
  - !ruby/object:Gem::Version
322
316
  version: '0'
323
317
  requirements: []
324
- rubygems_version: 3.1.6
318
+ rubygems_version: 3.3.7
325
319
  signing_key:
326
320
  specification_version: 4
327
321
  summary: Metanorma for the Open Geospatial Consortium.
@@ -1,31 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- # source: https://github.com/marketplace/actions/merge-pull-requests#usage
4
- name: automerge
5
- on:
6
- pull_request:
7
- types:
8
- - labeled
9
- - unlabeled
10
- - synchronize
11
- - opened
12
- - edited
13
- - ready_for_review
14
- - reopened
15
- - unlocked
16
- pull_request_review:
17
- types:
18
- - submitted
19
- check_suite:
20
- types:
21
- - completed
22
- status: {}
23
- jobs:
24
- automerge:
25
- runs-on: ubuntu-latest
26
- steps:
27
- - id: automerge
28
- name: automerge
29
- uses: "pascalgn/automerge-action@v0.15.3"
30
- env:
31
- GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
@@ -1,15 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: rake
4
-
5
- on:
6
- push:
7
- branches: [ master, main ]
8
- tags: [ v* ]
9
- pull_request:
10
-
11
- jobs:
12
- notify:
13
- uses: metanorma/ci/.github/workflows/mn-processor-rake.yml@main
14
- secrets:
15
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@@ -1,24 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: release
4
-
5
- on:
6
- workflow_dispatch:
7
- inputs:
8
- next_version:
9
- description: |
10
- Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
- required: true
12
- default: 'skip'
13
- push:
14
- tags: [ v* ]
15
-
16
- jobs:
17
- release:
18
- uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
19
- with:
20
- next_version: ${{ github.event.inputs.next_version }}
21
- secrets:
22
- rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
23
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
24
-
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
- require "isodoc/gem_tasks"
4
-
5
- IsoDoc::GemTasks.install
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "metanorma/ogc"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/rspec DELETED
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'rspec' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require "pathname"
10
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path(
11
- "../../Gemfile", Pathname.new(__FILE__).realpath
12
- )
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("rspec-core", "rspec")
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here