metanorma-gb 1.3.1 → 1.3.2
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 +5 -3
- data/lib/asciidoctor/gb/front.rb +7 -4
- data/lib/metanorma/gb/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: 6f30d66c0602c5581f3c0ada754c43d6e3302280fafd10e58372462f47ca150b
|
|
4
|
+
data.tar.gz: 6c99f69d1ff176afe918ce7030e0d759b877ec998e3537336a6591d7e0246544
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 759d3bf73b5f0bf8504d3579409e66ac2daf0f8ee9bbdc6a1cb339175753098046e4194767c60fe4ff0832b1a0384459d363184d9dae849608099ae6c0757325
|
|
7
|
+
data.tar.gz: c4cce2f5ac83f4b7d2ffe6eaa0a7794adcb67e3c2996f91b05a03abc397ef0695f590dd178faa1a7ad6a7ac4a64e3fc61497fa4dd900522fe663378c6712a41c
|
data/Gemfile
CHANGED
|
@@ -2,8 +2,10 @@ Encoding.default_external = Encoding::UTF_8
|
|
|
2
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
|
-
#git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
|
|
7
|
-
|
|
8
|
-
# Specify your gem's dependencies in asciidoctor-csd.gemspec
|
|
9
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/lib/asciidoctor/gb/front.rb
CHANGED
|
@@ -232,27 +232,30 @@ module Asciidoctor
|
|
|
232
232
|
title = "#{intro} -- #{title}" if intro
|
|
233
233
|
title = "#{title} -- #{part}" if part
|
|
234
234
|
t.title **attr_code(at.merge(type: "main")) do |t1|
|
|
235
|
-
t1 << asciidoc_sub(title)
|
|
235
|
+
t1 << Asciidoctor::Standoc::Utils::asciidoc_sub(title)
|
|
236
236
|
end
|
|
237
237
|
end
|
|
238
238
|
|
|
239
239
|
def title_intro(node, lang, t, at)
|
|
240
240
|
node.attr("title-intro-#{lang}") and
|
|
241
241
|
t.title **attr_code(at.merge(type: "title-intro")) do |t1|
|
|
242
|
-
t1 << asciidoc_sub(
|
|
242
|
+
t1 << Asciidoctor::Standoc::Utils::asciidoc_sub(
|
|
243
|
+
node.attr("title-intro-#{lang}"))
|
|
243
244
|
end
|
|
244
245
|
end
|
|
245
246
|
|
|
246
247
|
def title_main(node, lang, t, at)
|
|
247
248
|
t.title **attr_code(at.merge(type: "title-main")) do |t1|
|
|
248
|
-
t1 << asciidoc_sub(
|
|
249
|
+
t1 << Asciidoctor::Standoc::Utils::asciidoc_sub(
|
|
250
|
+
node.attr("title-main-#{lang}"))
|
|
249
251
|
end
|
|
250
252
|
end
|
|
251
253
|
|
|
252
254
|
def title_part(node, lang, t, at)
|
|
253
255
|
node.attr("title-part-#{lang}") and
|
|
254
256
|
t.title **attr_code(at.merge(type: "title-part")) do |t1|
|
|
255
|
-
t1 << asciidoc_sub(
|
|
257
|
+
t1 << Asciidoctor::Standoc::Utils::asciidoc_sub(
|
|
258
|
+
node.attr("title-part-#{lang}"))
|
|
256
259
|
end
|
|
257
260
|
end
|
|
258
261
|
|
data/lib/metanorma/gb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-gb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.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: metanorma-iso
|