metanorma-ogc 2.5.0 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ogc/html/htmlstyle.css +12 -0
- data/lib/isodoc/ogc/html/htmlstyle.scss +2 -0
- data/lib/isodoc/ogc/html/scripts.html +3 -2
- data/lib/isodoc/ogc/html_convert.rb +52 -5
- data/lib/isodoc/ogc/metadata.rb +4 -2
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +156 -25
- data/lib/isodoc/ogc/ogc.best-practice.xsl +156 -25
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +156 -25
- data/lib/isodoc/ogc/ogc.community-practice.xsl +156 -25
- data/lib/isodoc/ogc/ogc.community-standard.xsl +156 -25
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +156 -25
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +156 -25
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +156 -25
- data/lib/isodoc/ogc/ogc.other.xsl +156 -25
- data/lib/isodoc/ogc/ogc.policy.xsl +156 -25
- data/lib/isodoc/ogc/ogc.reference-model.xsl +156 -25
- data/lib/isodoc/ogc/ogc.release-notes.xsl +156 -25
- data/lib/isodoc/ogc/ogc.standard.xsl +156 -25
- data/lib/isodoc/ogc/ogc.test-suite.xsl +156 -25
- data/lib/isodoc/ogc/ogc.user-guide.xsl +156 -25
- data/lib/isodoc/ogc/ogc.white-paper.xsl +103 -16
- data/lib/metanorma/ogc/basicdoc.rng +3 -0
- data/lib/metanorma/ogc/boilerplate.adoc +29 -1
- data/lib/metanorma/ogc/front.rb +3 -4
- data/lib/metanorma/ogc/isodoc.rng +4 -1
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +4 -4
data/lib/metanorma/ogc/front.rb
CHANGED
@@ -79,8 +79,8 @@ module Metanorma
|
|
79
79
|
"OGC"
|
80
80
|
end
|
81
81
|
|
82
|
-
|
83
|
-
|
82
|
+
def org_abbrev
|
83
|
+
{ "Open Geospatial Consortium" => "OGC" }
|
84
84
|
end
|
85
85
|
|
86
86
|
def metadata_committee(node, xml)
|
@@ -108,7 +108,7 @@ module Metanorma
|
|
108
108
|
a = node.attr("abbrev")
|
109
109
|
d && a or return
|
110
110
|
url = "http://www.opengis.net/doc/#{IsoDoc::Ogc::DOCTYPE_ABBR[d]}/#{a}"
|
111
|
-
v =
|
111
|
+
v = node.attr("edition") || node.attr("version") and url += "/#{v}"
|
112
112
|
url
|
113
113
|
end
|
114
114
|
|
@@ -119,7 +119,6 @@ module Metanorma
|
|
119
119
|
docnumber = node.attr("docnumber") || node.attr("docreference")
|
120
120
|
id = node.attr("docidentifier") || docnumber
|
121
121
|
xml.docidentifier id, type: "ogc-internal"
|
122
|
-
docnumber and xml.docnumber docnumber
|
123
122
|
end
|
124
123
|
|
125
124
|
def externalurl(node)
|
@@ -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.
|
20
|
+
<!-- VERSION v1.3.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">
|
@@ -146,6 +146,9 @@
|
|
146
146
|
<data type="boolean"/>
|
147
147
|
</attribute>
|
148
148
|
</optional>
|
149
|
+
<optional>
|
150
|
+
<attribute name="style"/>
|
151
|
+
</optional>
|
149
152
|
<oneOrMore>
|
150
153
|
<ref name="PureTextElement"/>
|
151
154
|
</oneOrMore>
|
data/metanorma-ogc.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
|
27
27
|
|
28
28
|
spec.add_dependency "iso-639"
|
29
|
-
spec.add_dependency "metanorma-standoc", "~> 2.8.
|
29
|
+
spec.add_dependency "metanorma-standoc", "~> 2.8.2"
|
30
30
|
|
31
31
|
spec.add_development_dependency "debug"
|
32
32
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
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.5.
|
4
|
+
version: 2.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.8.
|
33
|
+
version: 2.8.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.8.
|
40
|
+
version: 2.8.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: debug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|