metanorma-iso 1.4.0 → 1.4.1
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/.github/workflows/macos.yml +0 -1
- data/.github/workflows/ubuntu.yml +6 -3
- data/.github/workflows/windows.yml +0 -1
- data/lib/isodoc/iso/pdf_convert.rb +1 -1
- data/lib/metanorma/iso/processor.rb +0 -4
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/isodoc/ref_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b96ba72711abf2b94b4b63a7431c979e2436809689aee14aa1dbc3bf274e9833
|
|
4
|
+
data.tar.gz: 52d899afc5b1949ba84a9663db914faa4f89aee27e3c365328d9d51925c3a218
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a43742cf9c3f5ad00f1f131b351f9cacf417797a985ad10b0a23a4ce059cd53a6fdcbaa07e9e6d7609681878ad686a19d0e3c114f224d7927b5735c44594426
|
|
7
|
+
data.tar.gz: 74b190a8468053ce3e5bc25e477a5bdc48abedc12436e3a971b6fe77e5259ffd6e62c5789e41e18c18a89ab2602b2b188c5f1fdbe747bdcab40e95c938dd681d
|
data/.github/workflows/macos.yml
CHANGED
|
@@ -29,14 +29,17 @@ jobs:
|
|
|
29
29
|
uses: actions/setup-ruby@v1
|
|
30
30
|
with:
|
|
31
31
|
ruby-version: ${{ matrix.ruby }}
|
|
32
|
-
architecture: 'x64'
|
|
33
32
|
- name: Update gems
|
|
34
33
|
run: |
|
|
35
34
|
gem install bundler
|
|
36
35
|
bundle install --jobs 4 --retry 3
|
|
37
36
|
- name: Install PlantUML
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
uses: nick-invision/retry@v1
|
|
38
|
+
with:
|
|
39
|
+
polling_interval_seconds: 5
|
|
40
|
+
timeout_minutes: 5
|
|
41
|
+
max_attempts: 3
|
|
42
|
+
command: sudo bash -c "curl -L https://github.com/metanorma/plantuml-install/raw/master/ubuntu.sh | bash"
|
|
40
43
|
- name: Run specs
|
|
41
44
|
run: |
|
|
42
45
|
bundle exec rake
|
|
@@ -15,7 +15,7 @@ module IsoDoc
|
|
|
15
15
|
|
|
16
16
|
def pdf_stylesheet(docxml)
|
|
17
17
|
case doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text
|
|
18
|
-
when "amendment", "technical-corrigendum" then "
|
|
18
|
+
when "amendment", "technical-corrigendum" then "iso.amendment.xsl"
|
|
19
19
|
else
|
|
20
20
|
"iso.international-standard.xsl"
|
|
21
21
|
end
|
|
@@ -33,10 +33,6 @@ module Metanorma
|
|
|
33
33
|
"Metanorma::ISO #{Metanorma::ISO::VERSION}"
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
def input_to_isodoc(file, filename)
|
|
37
|
-
Metanorma::Input::Asciidoc.new.process(file, filename, @asciidoctor_backend)
|
|
38
|
-
end
|
|
39
|
-
|
|
40
36
|
def use_presentation_xml(ext)
|
|
41
37
|
return true if ext == :html_alt
|
|
42
38
|
super
|
data/spec/isodoc/ref_spec.rb
CHANGED
|
@@ -160,7 +160,7 @@ RSpec.describe IsoDoc do
|
|
|
160
160
|
<p id="ISO3696" class="Biblio">[3]  ISO 3696, <i>Water for analytical laboratory use</i></p>
|
|
161
161
|
<p id="ref10" class="Biblio">[10]  <span style="font-variant:small-caps;">Standard No I.C.C 167</span>. <i>Determination of the protein content in cereal and cereal products for food and animal feeding stuffs according to the Dumas combustion method</i> (see <a href="http://www.icc.or.at">http://www.icc.or.at</a>)</p>
|
|
162
162
|
<p id="ref11" class="Biblio">[5]  IETF RFC 10, <i>Internet Calendaring and Scheduling Core Object Specification (iCalendar)</i></p>
|
|
163
|
-
<p id="ref12" class="Biblio">
|
|
163
|
+
<p id="ref12" class="Biblio">Citn  IETF RFC 20, CitationWorks. 2019. <i>How to cite a reference</i>.</p>
|
|
164
164
|
</div>
|
|
165
165
|
<aside id="fn:1" class="footnote">
|
|
166
166
|
<p>Under preparation. (Stage at the time of publication ISO/DIS 16634)</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.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ruby-jing
|