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.
@@ -79,8 +79,8 @@ module Metanorma
79
79
  "OGC"
80
80
  end
81
81
 
82
- def org_abbrev
83
- { "Open Geospatial Consortium" => "OGC" }
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 = (node.attr("edition") || node.attr("version")) and url += "/#{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.2.12 -->
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>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ogc
3
- VERSION = "2.5.0".freeze
3
+ VERSION = "2.5.2".freeze
4
4
  end
5
5
  end
@@ -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.0"
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.0
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-01-09 00:00:00.000000000 Z
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.0
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.0
40
+ version: 2.8.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: debug
43
43
  requirement: !ruby/object:Gem::Requirement