metanorma-standoc 2.9.10 → 2.10.0

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: 79c8cf830c54246b723617aaed726657f4d8f97f6b27d70979d1026b6f08fdfc
4
- data.tar.gz: 7df78766e14e00b1d655a72cecbb34ab71247baa2c07b56ec1b7dc74e420c5ed
3
+ metadata.gz: be2ed59cc5913ed2c104fdd03479643b39183682a8e17d977d2afb6a6617cc1f
4
+ data.tar.gz: 38fa43ef39ca71510411b98a492d332f71d3ec4d234e4ccb3cbfc987c5d548bb
5
5
  SHA512:
6
- metadata.gz: dda42107f219d750ca21a3207d07172557328f73b99329f70f675b8243274338272e356d31c9543f606aaa0603ba787527f846735f8f192a8adf8e37980b9815
7
- data.tar.gz: c47f3d6d64525cd099276dcf294c8244a09b916783b0482a51baa82408e7e5a5ffe8f6b4ba2cafdb0c5147902ae28e7c0e4a64dccd14f173828097ca5e894f6e
6
+ metadata.gz: f5db76444b5bc527f3edc10723f26a0fb230e826473b1426f812494128966bf21391922859f35112546d29ab9fd66ee7d71f4d298736d6b67359a4df7d2ebf69
7
+ data.tar.gz: 7d3fc23fab73965d54475bbc7b0be492b746eb8f351cc4123ee4f8b8870bc4c572634e2f37340649ab2d529ff39054f1faccadc82707204e1c754911e863334a
@@ -212,7 +212,6 @@ module Metanorma
212
212
  noko do |xml|
213
213
  xml.passthrough **attr_code(formats:
214
214
  node.attr("format") || "metanorma") do |p|
215
- # p << @c.encode(@c.decode(node.content), :basic, :hexadecimal)
216
215
  p << @c.encode(node.content, :basic, :hexadecimal)
217
216
  end
218
217
  end
@@ -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.3.4 -->
20
+ <!-- VERSION v1.4.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">
@@ -112,7 +112,7 @@ module Metanorma
112
112
  line = CSV.parse_line(m[:keys], liberal_parsing: true) or return ret
113
113
  line.size > 1 or return ret
114
114
  ret[:id] = line.first
115
- ret[m[:type].to_sym] = line[1..-1].map(&:strip)
115
+ ret[m[:type].to_sym] = line[1..].map(&:strip)
116
116
  ret
117
117
  end
118
118
 
@@ -24,7 +24,7 @@ module Metanorma
24
24
  ret1 = preface_main_filter(sectiontype_streamline(ret), node)
25
25
  ret1 == "symbols and abbreviated terms" and return ret1
26
26
  !level || node.level == 1 || node.attr("heading") or return nil
27
- @seen_headers.include? ret and return nil
27
+ !node.attr("heading") && @seen_headers.include?(ret) and return nil
28
28
  @seen_headers << ret unless ret1.nil?
29
29
  @seen_headers_canonical << ret1 unless ret1.nil?
30
30
  ret1
@@ -19,6 +19,6 @@ module Metanorma
19
19
  end
20
20
 
21
21
  module Standoc
22
- VERSION = "2.9.10".freeze
22
+ VERSION = "2.10.0".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.0"
35
- spec.add_dependency "isodoc", "~> 2.12.0"
35
+ spec.add_dependency "isodoc", "~> 2.12.1"
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"
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.9.10
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-28 00:00:00.000000000 Z
11
+ date: 2024-11-11 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.0
75
+ version: 2.12.1
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.0
82
+ version: 2.12.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: metanorma
85
85
  requirement: !ruby/object:Gem::Requirement