metanorma-unece 0.2.1 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e95c508ab15c194632adedc5b40a4443c598b3fba0588631d1913ec281f4e697
4
- data.tar.gz: 8573c510c7a2372779435120986b34f2bc01b3ebbd1228b587932ce595a8efad
3
+ metadata.gz: b3f53105205a134fb83780e36d518747ba813fe09603ced6e0f6d361ffaba10d
4
+ data.tar.gz: 764e3075383eaa79c529aae4e2b1ce9c050b04bcca28b290c8d6aa7eefbd65b4
5
5
  SHA512:
6
- metadata.gz: 1902cf4813404d7a016c506a6573a67b3efcf7e602ad7b546cd079c0e778c816022156aed77901da9098d58f03a86208a195e15bf8fa3c9be33640960fbe52d1
7
- data.tar.gz: 92b5be45ac1a40d871b5760b65bdb839688064dd55a49c2b04318b48cfc76264b4880bd8a2059d8507103e070d1ac0062e3df0054eaafb7a9de250d3697daac0
6
+ metadata.gz: 11bba8f56b502dd7cf3fa148c82cd4d971e65bd6cb85a20f941eeb905471bb0bf60845ddcf5efb846caf751672c22fccbcea8e730abd2b78ced3a41ea5445ecf
7
+ data.tar.gz: ff401ac5718ee1251e519ac655524ca6821bc5da16caa1bd3387eeaf58f043b586ab62548e45437dddf9b621408891cad9aa57345b23c3172536edc6ec8e6e68
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", github: "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
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Unece
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  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.1
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-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: asciidoctor