metanorma-unece 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -3
- data/lib/asciidoctor/unece/converter.rb +2 -2
- data/lib/metanorma/unece/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: b3f53105205a134fb83780e36d518747ba813fe09603ced6e0f6d361ffaba10d
|
4
|
+
data.tar.gz: 764e3075383eaa79c529aae4e2b1ce9c050b04bcca28b290c8d6aa7eefbd65b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11bba8f56b502dd7cf3fa148c82cd4d971e65bd6cb85a20f941eeb905471bb0bf60845ddcf5efb846caf751672c22fccbcea8e730abd2b78ced3a41ea5445ecf
|
7
|
+
data.tar.gz: ff401ac5718ee1251e519ac655524ca6821bc5da16caa1bd3387eeaf58f043b586ab62548e45437dddf9b621408891cad9aa57345b23c3172536edc6ec8e6e68
|
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
|
@@ -48,11 +48,11 @@ module Asciidoctor
|
|
48
48
|
def title(node, xml)
|
49
49
|
["en"].each do |lang|
|
50
50
|
xml.title **{ type: "main", language: lang, format: "text/plain" } do |t|
|
51
|
-
t << asciidoc_sub(node.attr("title"))
|
51
|
+
t << Asciidoctor::Standoc::Utils::asciidoc_sub(node.attr("title"))
|
52
52
|
end
|
53
53
|
node.attr("subtitle") and
|
54
54
|
xml.title **{ type: "subtitle", language: lang, format: "text/plain" } do |t|
|
55
|
-
t << asciidoc_sub(node.attr("subtitle"))
|
55
|
+
t << Asciidoctor::Standoc::Utils::asciidoc_sub(node.attr("subtitle"))
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-unece
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
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
|