metanorma-un 0.6.9 → 0.6.13

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.
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
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.6.9".freeze
3
+ VERSION = "0.6.13".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.9
4
+ version: 0.6.13
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-08-16 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639