metanorma 1.4.7 → 1.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/collection_fileparse.rb +1 -1
- data/lib/metanorma/input/asciidoc.rb +1 -1
- data/lib/metanorma/sectionsplit.rb +1 -1
- data/lib/metanorma/version.rb +1 -1
- data/metanorma.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa8bc65943192736f6bb4e68cc84d227354ff2580ef4da93869d9a94bdb795a6
|
4
|
+
data.tar.gz: 7cc4d04b32502c655b856c0214fd6ccd6bad5fadf81a7564598df43cf5afc526
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 513e588086bc7a486e5538d0b8d4d9cb212ce0bf7248d5c4f033a92a3ea7bb2804c550bca99b05ed882fc79fdb69ce68878d89ae819ee75facca92f36749780d
|
7
|
+
data.tar.gz: 4855c3739529440c2cbc8a3d60330f9723872e7cd8a36ccd925024e4a6bdb7e2a437ba604acbc498603c75fdf5b670db3f691a6305f0d5b20bbb3e815ac8d89c
|
@@ -45,7 +45,7 @@ module Metanorma
|
|
45
45
|
bib.replace(newbib)
|
46
46
|
_file, url = targetfile(@files[docid], relative: true, read: false,
|
47
47
|
doc: !@files[docid][:attachment])
|
48
|
-
uri_node = Nokogiri::XML::Node.new "uri", newbib
|
48
|
+
uri_node = Nokogiri::XML::Node.new "uri", newbib.document
|
49
49
|
uri_node[:type] = "citation"
|
50
50
|
uri_node.content = url
|
51
51
|
newbib.at(ns("./docidentifier")).previous = uri_node
|
@@ -70,7 +70,7 @@ module Metanorma
|
|
70
70
|
pdf-allow-print pdf-allow-print-hq pdf-allow-fill-in-forms
|
71
71
|
toc-figures toc-tables toc-recommendations fonts
|
72
72
|
font-license-agreement pdf-allow-access-content
|
73
|
-
pdf-encrypt-metadata).freeze
|
73
|
+
pdf-encrypt-metadata iso-word-template).freeze
|
74
74
|
|
75
75
|
def extract_options(file)
|
76
76
|
header = file.sub(/\n\n.*$/m, "\n")
|
@@ -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}']/
|
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
|
data/lib/metanorma/version.rb
CHANGED
data/metanorma.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.required_ruby_version = ">= 2.5.0"
|
24
24
|
|
25
25
|
spec.add_runtime_dependency "asciidoctor"
|
26
|
-
spec.add_runtime_dependency "fontist"
|
26
|
+
spec.add_runtime_dependency "fontist", ">= 1.14"
|
27
27
|
spec.add_runtime_dependency "htmlentities"
|
28
28
|
spec.add_runtime_dependency "metanorma-utils", "~> 1.2.0"
|
29
29
|
spec.add_runtime_dependency "mn2pdf", "~> 1"
|
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.
|
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-
|
11
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.14'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.14'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: htmlentities
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.
|
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
|