metanorma-iso 1.1.2 → 1.1.3
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.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/html/isodoc.scss +22 -2
- data/lib/isodoc/iso/html_convert.rb +58 -0
- data/lib/isodoc/iso/word_convert.rb +60 -4
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/assets/iso.doc +29 -12
- data/spec/isodoc/i18n_spec.rb +236 -236
- data/spec/isodoc/inline_spec.rb +2 -2
- data/spec/isodoc/iso_spec.rb +29 -48
- data/spec/isodoc/postproc_spec.rb +60 -28
- data/spec/isodoc/section_spec.rb +37 -37
- data/spec/isodoc/terms_spec.rb +25 -32
- data/spec/isodoc/xref_spec.rb +113 -123
- data/spec/metanorma/processor_spec.rb +1 -1
- metadata +2 -2
@@ -49,7 +49,7 @@ RSpec.describe Metanorma::Iso::Processor do
|
|
49
49
|
expect(File.read("test.html", encoding: "utf-8").gsub(%r{^.*<main}m, "<main").gsub(%r{</main>.*}m, "</main>")).to be_equivalent_to <<~"OUTPUT"
|
50
50
|
<main class="main-section"><button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
|
51
51
|
<p class="zzSTDTitle1"></p>
|
52
|
-
<div id="H"><h1>1
|
52
|
+
<div id="H"><h1>1  Terms and definitions</h1><p>For the purposes of this document,
|
53
53
|
the following terms and definitions apply.</p>
|
54
54
|
<p>ISO and IEC maintain terminological databases for use in
|
55
55
|
standardization at the following addresses:</p>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|