metanorma-un 0.6.6 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
data/lib/isodoc/un.rb CHANGED
@@ -6,6 +6,5 @@ require "isodoc/un/presentation_xml_convert"
6
6
 
7
7
  module IsoDoc
8
8
  module UN
9
-
10
9
  end
11
10
  end
@@ -7,9 +7,7 @@ module Metanorma
7
7
  def extract_options(file)
8
8
  head = file.sub(/\n\n.*$/m, "\n")
9
9
  /\n(?<toc>:toc:)/ =~ head
10
- new_options = {
11
- toc: defined?(toc)
12
- }.reject { |_, val| val.nil? }
10
+ new_options = { toc: defined?(toc) }.compact
13
11
  super.merge(new_options)
14
12
  end
15
13
  end
@@ -22,10 +22,11 @@ module Metanorma
22
22
  {
23
23
  "Arial" => nil,
24
24
  "Arial Black" => nil,
25
- "Courier" => nil,
25
+ "Courier New" => nil,
26
26
  "Times New Roman" => nil,
27
27
  "STIX Two Math" => nil,
28
28
  "Source Han Sans" => nil,
29
+ "Source Han Sans Normal" => nil,
29
30
  }
30
31
  end
31
32
 
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.6.6".freeze
3
+ VERSION = "0.6.10".freeze
4
4
  end
5
5
  end
data/lib/metanorma/un.rb CHANGED
@@ -4,9 +4,7 @@ require "metanorma/un/version"
4
4
 
5
5
  module Metanorma
6
6
  module UN
7
-
8
- ORGANIZATION_NAME_SHORT = "UN"
9
- ORGANIZATION_NAME_LONG = "United Nations"
10
-
7
+ ORGANIZATION_NAME_SHORT = "UN".freeze
8
+ ORGANIZATION_NAME_LONG = "United Nations".freeze
11
9
  end
12
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-un
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-05 00:00:00.000000000 Z
11
+ date: 2021-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639