metanorma-itu 0.2.3 → 0.2.4

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: 6bd93250cef1ebfff2e5870f28755874923fa9801838cb315838fc41cba41ef6
4
- data.tar.gz: fb5fa99e59b26f23b90d2e751fa19e294c9cd959d4684aa07f5d0bb016d3946b
3
+ metadata.gz: '097f0285c22f6f51336c34ad430f66a892dd0dadd7e4414cbcfc5f3d28a66475'
4
+ data.tar.gz: 021a5ebb560e1bad15258a86b36f4b4876b5966a09a7cb4b8d6bf52d3bf85cb8
5
5
  SHA512:
6
- metadata.gz: d7f8eba69fecde7049e361ab52c5b7b54f9dabeab573dfa279cc1af3c7d015bd821bd83b7b08112ad8e58f61d34e12feb3130eb8a1d1cf1ec8d9732582b864af
7
- data.tar.gz: 2cd7f392803e734f212a28762f839ea17adfb32a1ec87326251c34034991b96e8376f0367e2626da9e4ba8d00f3824ffa7bd9c7b07d817e5335f5c82523695fa
6
+ metadata.gz: d4f096b1352ec9d3ee2186f954cdd662956d8e73e4355bbaa3821b15b2d2c03047dc6825a779fe306546b1f0ebbb434d26f29138f26f672fdc87b5a7884fdfeb
7
+ data.tar.gz: 959f94bbf718b055016d8d095f2521715813e20e3d519785f9d626e10627e21488da9a6658030cda83230f522336051832966d168ac2152edd75608961f7e8f7
data/Gemfile CHANGED
@@ -1,6 +1,11 @@
1
- source "https://rubygems.org"
2
- git_source(:github) {|repo| "https://github.com/#{repo}" }
1
+ Encoding.default_external = Encoding::UTF_8
2
+ Encoding.default_internal = Encoding::UTF_8
3
3
 
4
- #gem "metanorma-standoc", git: "https://github.com/metanorma/metanorma-standoc"
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://img.shields.io/travis/metanorma/metanorma-itu/master.svg["Build Status", link="https://travis-ci.org/metanorma/metanorma-itu"]
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") || node.attr("title-en") || node.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)
@@ -439,6 +439,7 @@ color: #2A2D34;
439
439
 
440
440
  #ITU-logo {
441
441
  width: 200px;
442
+ height: auto;
442
443
  }
443
444
 
444
445
  .authors-container {
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ITU
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
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.3
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-09 00:00:00.000000000 Z
11
+ date: 2019-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor