metanorma 1.6.9 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -8
- data/lib/metanorma/collection.rb +1 -1
- data/lib/metanorma/collection_fileparse.rb +1 -1
- data/lib/metanorma/collection_render_utils.rb +1 -1
- data/lib/metanorma/version.rb +1 -1
- data/lib/metanorma.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 938d6b4607a840c13dd8f5b05450ea4e8efd143688f239f53b16edfbb2bd27fc
|
4
|
+
data.tar.gz: 79638777304542242c9984cf27d413b5933456ef3929e102d6e5e21608bbe294
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e37cd82612055440e758dbdcae0e96271b2adf6ae533e9310e76fe74ea3c31bdc554f23524e8fad5cf2a2e75ac71ee35ee40ef681c00ad7ed4c4aa984b91212
|
7
|
+
data.tar.gz: 844e4ceed1de6d70d9f23f225b916a0f75c753c9ec94c0d8135792e8ec1659b47a557e868ec3151038b27683c03ba8a6cebaad3f601998f6c7d2269e7e9cc222
|
data/Gemfile
CHANGED
@@ -4,12 +4,6 @@ Encoding.default_internal = Encoding::UTF_8
|
|
4
4
|
source "https://rubygems.org"
|
5
5
|
git_source(:github) { |repo| "https://github.com/#{repo}" }
|
6
6
|
|
7
|
-
group :development, :test do
|
8
|
-
gem "rspec"
|
9
|
-
end
|
10
|
-
|
11
|
-
if File.exist? "Gemfile.devel"
|
12
|
-
eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
|
13
|
-
end
|
14
|
-
|
15
7
|
gemspec
|
8
|
+
|
9
|
+
eval_gemfile("Gemfile.devel") rescue nil
|
data/lib/metanorma/collection.rb
CHANGED
@@ -220,7 +220,7 @@ module Metanorma
|
|
220
220
|
builder.send(:"doc-container", id: id) do |b|
|
221
221
|
if doc.attachment
|
222
222
|
doc.bibitem and b << doc.bibitem.root.to_xml
|
223
|
-
b.attachment
|
223
|
+
b.attachment Vectory::Utils::datauri(doc.file)
|
224
224
|
else doc.to_xml b
|
225
225
|
end
|
226
226
|
end
|
@@ -108,7 +108,7 @@ module Metanorma
|
|
108
108
|
docxml.xpath(ns("//svgmap//eref")).each do |e|
|
109
109
|
svgmap_resolve1(e, isodoc, docxml, ids)
|
110
110
|
end
|
111
|
-
|
111
|
+
Vectory::SvgMapping.new(docxml, "").call
|
112
112
|
docxml.xpath(ns("//svgmap")).each { |s| isodoc.svgmap_extract(s) }
|
113
113
|
end
|
114
114
|
|
data/lib/metanorma/version.rb
CHANGED
data/lib/metanorma.rb
CHANGED
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
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|