metanorma-itu 0.2.3 → 0.2.4
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/Gemfile +8 -3
- data/README.adoc +1 -1
- data/lib/asciidoctor/itu/front.rb +2 -1
- data/lib/isodoc/itu/base_convert.rb +1 -1
- data/lib/isodoc/itu/html/htmlstyle.scss +1 -0
- data/lib/metanorma/itu/version.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: '097f0285c22f6f51336c34ad430f66a892dd0dadd7e4414cbcfc5f3d28a66475'
|
|
4
|
+
data.tar.gz: 021a5ebb560e1bad15258a86b36f4b4876b5966a09a7cb4b8d6bf52d3bf85cb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4f096b1352ec9d3ee2186f954cdd662956d8e73e4355bbaa3821b15b2d2c03047dc6825a779fe306546b1f0ebbb434d26f29138f26f672fdc87b5a7884fdfeb
|
|
7
|
+
data.tar.gz: 959f94bbf718b055016d8d095f2521715813e20e3d519785f9d626e10627e21488da9a6658030cda83230f522336051832966d168ac2152edd75608961f7e8f7
|
data/Gemfile
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
Encoding.default_external = Encoding::UTF_8
|
|
2
|
+
Encoding.default_internal = Encoding::UTF_8
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
source "https://rubygems.org"
|
|
5
|
+
git_source(:github) { |repo| "https://github.com/#{repo}" }
|
|
5
6
|
|
|
6
7
|
gemspec
|
|
8
|
+
|
|
9
|
+
if File.exist? 'Gemfile.devel'
|
|
10
|
+
eval File.read('Gemfile.devel'), nil, 'Gemfile.devel' # rubocop:disable Security/Eval
|
|
11
|
+
end
|
data/README.adoc
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
= metanorma-itu: Asciidoctor processor for ITU
|
|
2
2
|
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-itu.svg["Gem Version", link="https://rubygems.org/gems/metanorma-itu"]
|
|
4
|
-
image:https://
|
|
4
|
+
image:https://travis-ci.com/metanorma/metanorma-itu.svg?branch=master["Build Status", link="https://travis-ci.com/metanorma/metanorma-itu"]
|
|
5
5
|
image:https://codeclimate.com/github/metanorma/metanorma-itu/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-itu"]
|
|
6
6
|
image:https://ci.appveyor.com/api/projects/status/lo05dblngrgx2tlq?svg=true["Appveyor Build Status", link="https://ci.appveyor.com/project/ribose/metanorma-itu"]
|
|
7
7
|
|
|
@@ -14,7 +14,8 @@ module Asciidoctor
|
|
|
14
14
|
["en"].each do |lang|
|
|
15
15
|
at = { language: lang, format: "text/plain", type: "main" }
|
|
16
16
|
xml.title **attr_code(at) do |t|
|
|
17
|
-
t << asciidoc_sub(node.attr("title") ||
|
|
17
|
+
t << Asciidoctor::Standoc::Utils::asciidoc_sub(node.attr("title") ||
|
|
18
|
+
node.attr("title-en") || node.title)
|
|
18
19
|
end
|
|
19
20
|
end
|
|
20
21
|
end
|
|
@@ -110,7 +110,7 @@ module IsoDoc
|
|
|
110
110
|
|
|
111
111
|
def nonstd_bibitem(list, b, ordinal, biblio)
|
|
112
112
|
list.p **attr_code(iso_bibitem_entry_attrs(b, biblio)) do |ref|
|
|
113
|
-
ref << "[#{bibitem_ref_code(b)}]"
|
|
113
|
+
ref << "[#{render_identifier(bibitem_ref_code(b))}]"
|
|
114
114
|
date_note_process(b, ref)
|
|
115
115
|
insert_tab(ref, 1)
|
|
116
116
|
reference_format(b, ref)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-itu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: asciidoctor
|