metanorma 1.4.8 → 1.4.9

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: afa4e0613aed3903b1ffed913f46bd14bdcdcb582a81803a6a0b412aacd93180
4
- data.tar.gz: 06db3832875baf620855edc7ba6b40e864fed66df7c4623a193c545dcfb49301
3
+ metadata.gz: fa8bc65943192736f6bb4e68cc84d227354ff2580ef4da93869d9a94bdb795a6
4
+ data.tar.gz: 7cc4d04b32502c655b856c0214fd6ccd6bad5fadf81a7564598df43cf5afc526
5
5
  SHA512:
6
- metadata.gz: 640c5ddec53911cef6a8a5b973b07b957a80a66af49556de2f4078ef58afdd505e02f22d6082ae0ae3e81ea9207d49fd550792185394b0ee01375aa6c7613d40
7
- data.tar.gz: ffbd528a82093350c086f3dd42028284aa320d5090bc5d479f6cc621ba609686e20397fc8a65b003b5a6e45ae18c96dd2a0d9752fad3563d64e1d543a99c55c1
6
+ metadata.gz: 513e588086bc7a486e5538d0b8d4d9cb212ce0bf7248d5c4f033a92a3ea7bb2804c550bca99b05ed882fc79fdb69ce68878d89ae819ee75facca92f36749780d
7
+ data.tar.gz: 4855c3739529440c2cbc8a3d60330f9723872e7cd8a36ccd925024e4a6bdb7e2a437ba604acbc498603c75fdf5b670db3f691a6305f0d5b20bbb3e815ac8d89c
@@ -154,7 +154,7 @@ module Metanorma
154
154
 
155
155
  def eref_to_internal_eref(section, xml, key)
156
156
  eref_to_internal_eref_select(section, xml).each_with_object([]) do |x, m|
157
- url = xml.at(ns("//bibitem[@id = '#{x}']/url[@type = 'citation']"))
157
+ url = xml.at(ns("//bibitem[@id = '#{x}']/uri[@type = 'citation']"))
158
158
  section.xpath(("//*[@bibitemid = '#{x}']")).each do |e|
159
159
  id = eref_to_internal_eref1(e, key, url)
160
160
  id and m << id
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "1.4.8".freeze
2
+ VERSION = "1.4.9".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.8
4
+ version: 1.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-06 00:00:00.000000000 Z
11
+ date: 2022-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -306,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
306
  - !ruby/object:Gem::Version
307
307
  version: '0'
308
308
  requirements: []
309
- rubygems_version: 3.3.7
309
+ rubygems_version: 3.3.16
310
310
  signing_key:
311
311
  specification_version: 4
312
312
  summary: Metanorma is the standard of standards; the metanorma gem allows you to create