metanorma 2.3.5 → 2.3.6

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: 36c2caa601ab189f0039f3965330a54ba8d399a906bedc8575fca354d2bce1cd
4
- data.tar.gz: 49ff8a09d81edd8bd8f27b7db85a5a4dbb8a76ba7596d2cf7bf8b6a73aff0f67
3
+ metadata.gz: 4eef0412dfe852af4d9501f0728dbd623eecaf6e34be11e260c3e39d56b1cc38
4
+ data.tar.gz: d056fba553e88322f4ba3e7b26f79b7a1b0742baa69b1df2e214304c44f10f54
5
5
  SHA512:
6
- metadata.gz: e6575113b013098bfd0e364054b455ac6e5fdb958c05a03edf0519862d62670625fadd03d02f7ad93882e4cd09894ca76859c1cef9498fd8e419beaa7566fdba
7
- data.tar.gz: 2e48a397971851fd8e53cf97fe6c4590a7a8ef141cad4d7c28e365745649f30b098f19ba7519764f290ebe91ba172f38bc306047b3ff652a0a0b612c183c6627
6
+ metadata.gz: ffe39fe5dcc28776e081ec29f2a95db589483a84aa05cd9f5e97753151c036c9952d1f9b4feb160022f9849f6b71fdfb3d82ad4837e424514480d0664d6a1a3a
7
+ data.tar.gz: 60ed129530b14a6cc95d833ed35e981e0fc119a34db65f643bb74e65bbde2b59d4da3ac51173d259f83c7f20c6920a81be7472da8194f9f73e4266af4e076ee2
@@ -37,8 +37,8 @@ module Metanorma
37
37
  check_options options
38
38
  @xml = Nokogiri::XML collection.to_xml # @xml is the collection manifest
39
39
  @xml.root.default_namespace = "http://metanorma.org"
40
- @lang = collection.bibdata.language.first || "en"
41
- @script = collection.bibdata.script.first || "Latn"
40
+ @lang = Array(collection.bibdata.language).first || "en"
41
+ @script = Array(collection.bibdata.script).first || "Latn"
42
42
  @locale = @xml.at("//xmlns:bibdata/xmlns:locale")&.text
43
43
  @registry = Metanorma::Registry.instance
44
44
  @flavor = options[:flavor] || flavor
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "2.3.5".freeze
2
+ VERSION = "2.3.6".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.