metanorma-gb 1.3.1 → 1.3.2

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: 7e53753a8303a5012c1f2e9a85d9bcd2c214b2d1e843cfee55a30cdb5824d14e
4
- data.tar.gz: d1db2800e225633b0fcb9d66636e7a35aa20514ec7ee18ebd9c81f5bc1d31595
3
+ metadata.gz: 6f30d66c0602c5581f3c0ada754c43d6e3302280fafd10e58372462f47ca150b
4
+ data.tar.gz: 6c99f69d1ff176afe918ce7030e0d759b877ec998e3537336a6591d7e0246544
5
5
  SHA512:
6
- metadata.gz: 1935b32a0c250fa68f87dbdb96d19f66d6a709c4a6495c9677f9ff453c606fedf0352b0dcde5c43e6e589511cb6cd0cb6dbdbf46932f052f18e10eb90863e4e4
7
- data.tar.gz: 958f7927ebd3b2e518784471ec00cbe49f1e19cb727ba5452d15793ce3c20b057de71f33356f9ba6907767fd83b1ec9051eb97d58a42f434f71ca01a57a0fe70
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
@@ -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(node.attr("title-intro-#{lang}"))
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(node.attr("title-main-#{lang}"))
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(node.attr("title-part-#{lang}"))
257
+ t1 << Asciidoctor::Standoc::Utils::asciidoc_sub(
258
+ node.attr("title-part-#{lang}"))
256
259
  end
257
260
  end
258
261
 
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Gb
3
- VERSION = "1.3.1"
3
+ VERSION = "1.3.2"
4
4
  end
5
5
  end
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.1
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-02 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: metanorma-iso