metanorma-utils 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +1 -22
- data/.hound.yml +5 -0
- data/.rubocop.yml +3 -7
- data/Gemfile +2 -2
- data/bin/rspec +1 -2
- data/lib/utils/log.rb +1 -1
- data/lib/utils/main.rb +6 -6
- data/lib/utils/version.rb +1 -1
- data/metanorma-utils.gemspec +6 -6
- data/spec/spec_helper.rb +6 -6
- data/spec/utils_spec.rb +229 -218
- metadata +37 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d32567e880304ea57ec26bd33014d3b727e30caa9fd057ef7f4d3fe8121b630
|
4
|
+
data.tar.gz: 5fd706a2faf7f9db1419fa537e596b96cd82800bab4382b5c2d0b5e8a8605057
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75bfacc4803e89a34ca0ceb8907691bfd25462d1d947bc037fc63fd08217857d21567e81d112a10afe7adcf315363a77c1461eaef29710b9eb862b947b5d0724
|
7
|
+
data.tar.gz: '053841eeac54b72fccc6386f157b65b778c48b79d8be0d28ed49d8ba77e5d4e3036bddaf29aa736776d77a2b53f7114db670ba0e90f53554e9e93a23c24f26a8'
|
data/.github/workflows/rake.yml
CHANGED
@@ -16,19 +16,9 @@ jobs:
|
|
16
16
|
strategy:
|
17
17
|
fail-fast: false
|
18
18
|
matrix:
|
19
|
-
ruby: [ '2.7', '2.6', '2.5', '2.4' ]
|
19
|
+
ruby: [ '3.0', '2.7', '2.6', '2.5', '2.4' ]
|
20
20
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
21
|
experimental: [ false ]
|
22
|
-
include:
|
23
|
-
- ruby: '3.0'
|
24
|
-
os: 'ubuntu-latest'
|
25
|
-
experimental: true
|
26
|
-
- ruby: '3.0'
|
27
|
-
os: 'windows-latest'
|
28
|
-
experimental: true
|
29
|
-
- ruby: '3.0'
|
30
|
-
os: 'macos-latest'
|
31
|
-
experimental: true
|
32
22
|
steps:
|
33
23
|
- uses: actions/checkout@v2
|
34
24
|
with:
|
@@ -40,14 +30,3 @@ jobs:
|
|
40
30
|
bundler-cache: true
|
41
31
|
|
42
32
|
- run: bundle exec rake
|
43
|
-
|
44
|
-
tests-passed:
|
45
|
-
needs: rake
|
46
|
-
runs-on: ubuntu-latest
|
47
|
-
steps:
|
48
|
-
- uses: peter-evans/repository-dispatch@v1
|
49
|
-
with:
|
50
|
-
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
51
|
-
repository: ${{ github.repository }}
|
52
|
-
event-type: notify
|
53
|
-
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
data/.hound.yml
ADDED
data/.rubocop.yml
CHANGED
@@ -1,14 +1,10 @@
|
|
1
|
-
#
|
2
|
-
# https://github.com/
|
3
|
-
# All project-specific additions and overrides should be specified in this file.
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
4
3
|
inherit_from:
|
5
4
|
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
|
6
5
|
|
7
6
|
# local repo-specific modifications
|
7
|
+
# ...
|
8
8
|
|
9
9
|
AllCops:
|
10
|
-
DisplayCopNames: false
|
11
|
-
StyleGuideCopsOnly: false
|
12
10
|
TargetRubyVersion: 2.4
|
13
|
-
Rails:
|
14
|
-
Enabled: true
|
data/Gemfile
CHANGED
@@ -6,6 +6,6 @@ git_source(:github) { |repo| "https://github.com/#{repo}" }
|
|
6
6
|
|
7
7
|
gemspec
|
8
8
|
|
9
|
-
if File.exist?
|
10
|
-
eval File.read(
|
9
|
+
if File.exist? "Gemfile.devel"
|
10
|
+
eval File.read("Gemfile.devel"), nil, "Gemfile.devel" # rubocop:disable Security/Eval
|
11
11
|
end
|
data/bin/rspec
CHANGED
data/lib/utils/log.rb
CHANGED
@@ -19,7 +19,7 @@ module Metanorma
|
|
19
19
|
if node.nil? then ""
|
20
20
|
elsif node.is_a? String then node
|
21
21
|
elsif node.respond_to?(:lineno) && !node.lineno.nil? &&
|
22
|
-
|
22
|
+
!node.lineno.empty?
|
23
23
|
"Asciidoctor Line #{'%06d' % node.lineno}"
|
24
24
|
elsif node.respond_to?(:line) && !node.line.nil?
|
25
25
|
"XML Line #{'%06d' % node.line}"
|
data/lib/utils/main.rb
CHANGED
@@ -91,13 +91,13 @@ module Metanorma
|
|
91
91
|
# not currently used
|
92
92
|
def flatten_rawtext_lines(node, result)
|
93
93
|
node.lines.each do |x|
|
94
|
-
if node.respond_to?(:context) &&
|
94
|
+
result << if node.respond_to?(:context) &&
|
95
95
|
(node.context == :literal || node.context == :listing)
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
96
|
+
x.gsub(/</, "<").gsub(/>/, ">")
|
97
|
+
else
|
98
|
+
# strip not only HTML <tag>, and Asciidoc xrefs <<xref>>
|
99
|
+
x.gsub(/<[^>]*>+/, "")
|
100
|
+
end
|
101
101
|
end
|
102
102
|
result
|
103
103
|
end
|
data/lib/utils/version.rb
CHANGED
data/metanorma-utils.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
|
3
|
-
lib = File.expand_path("
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require "utils/version"
|
6
6
|
|
@@ -24,18 +24,19 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.test_files = `git ls-files -- {spec}/*`.split("\n")
|
25
25
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
26
26
|
|
27
|
-
spec.add_dependency "sterile", "~> 1.0.14"
|
28
|
-
spec.add_dependency "concurrent-ruby"
|
29
|
-
spec.add_dependency "nokogiri", "~> 1.10.4"
|
30
27
|
spec.add_dependency "asciidoctor", "~> 2.0.0"
|
31
|
-
spec.add_dependency "
|
28
|
+
spec.add_dependency "concurrent-ruby"
|
32
29
|
spec.add_dependency "marcel", "~> 1.0.0"
|
33
30
|
spec.add_dependency "mime-types"
|
31
|
+
spec.add_dependency "nokogiri", "~> 1.11"
|
32
|
+
spec.add_dependency "sterile", "~> 1.0.14"
|
33
|
+
spec.add_dependency "uuidtools"
|
34
34
|
|
35
35
|
spec.add_development_dependency "byebug"
|
36
36
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
37
37
|
spec.add_development_dependency "guard", "~> 2.14"
|
38
38
|
spec.add_development_dependency "guard-rspec", "~> 4.7"
|
39
|
+
spec.add_development_dependency "metanorma-standoc", "~> 1.8"
|
39
40
|
spec.add_development_dependency "rake", "~> 13.0"
|
40
41
|
spec.add_development_dependency "rspec", "~> 3.6"
|
41
42
|
spec.add_development_dependency "rubocop", "~> 1.5.2"
|
@@ -43,5 +44,4 @@ Gem::Specification.new do |spec|
|
|
43
44
|
spec.add_development_dependency "timecop", "~> 0.9"
|
44
45
|
spec.add_development_dependency "vcr", "~> 5.0.0"
|
45
46
|
spec.add_development_dependency "webmock"
|
46
|
-
spec.add_development_dependency "metanorma-standoc", "~> 1.8"
|
47
47
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -20,23 +20,23 @@ RSpec.configure do |config|
|
|
20
20
|
end
|
21
21
|
|
22
22
|
class Dummy
|
23
|
-
attr_accessor :id
|
24
|
-
|
23
|
+
attr_accessor :id, :docfile
|
24
|
+
|
25
25
|
def initialize(id = nil)
|
26
26
|
@id = id
|
27
27
|
end
|
28
28
|
|
29
|
-
def attr(
|
30
|
-
case
|
29
|
+
def attr(elem)
|
30
|
+
case elem
|
31
31
|
when "docfile" then @docfile
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
def xmlpp(
|
36
|
+
def xmlpp(xml)
|
37
37
|
s = ""
|
38
38
|
f = REXML::Formatters::Pretty.new(2)
|
39
39
|
f.compact = true
|
40
|
-
f.write(REXML::Document.new(
|
40
|
+
f.write(REXML::Document.new(xml), s)
|
41
41
|
s
|
42
42
|
end
|
data/spec/utils_spec.rb
CHANGED
@@ -11,16 +11,21 @@ RSpec.describe Metanorma::Utils do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
it "sets metanorma IDs if not provided" do
|
14
|
-
expect(Metanorma::Utils.anchor_or_uuid)
|
15
|
-
|
16
|
-
expect(Metanorma::Utils.anchor_or_uuid(Dummy.new(
|
14
|
+
expect(Metanorma::Utils.anchor_or_uuid)
|
15
|
+
.to match (/^_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/)
|
16
|
+
expect(Metanorma::Utils.anchor_or_uuid(Dummy.new(nil)))
|
17
|
+
.to match (/^_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/)
|
18
|
+
expect(Metanorma::Utils.anchor_or_uuid(Dummy.new("")))
|
19
|
+
.to match (/^_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/)
|
17
20
|
expect(Metanorma::Utils.anchor_or_uuid(Dummy.new("A"))).to eq "A"
|
18
21
|
end
|
19
22
|
|
20
23
|
it "applies Asciidoctor substitutions" do
|
21
24
|
require "metanorma-standoc"
|
22
|
-
expect(Metanorma::Utils.asciidoc_sub("A -- B"))
|
23
|
-
|
25
|
+
expect(Metanorma::Utils.asciidoc_sub("A -- B"))
|
26
|
+
.to eq "A — B"
|
27
|
+
expect(Metanorma::Utils.asciidoc_sub("*A* stem:[x]"))
|
28
|
+
.to eq "<strong>A</strong> <stem type=\"AsciiMath\">x</stem>"
|
24
29
|
end
|
25
30
|
|
26
31
|
it "finds file path of docfile" do
|
@@ -31,7 +36,8 @@ RSpec.describe Metanorma::Utils do
|
|
31
36
|
end
|
32
37
|
|
33
38
|
it "applies smart formatting" do
|
34
|
-
expect(Metanorma::Utils.smartformat("A - B A -- B A--B '80s '80' <A>"))
|
39
|
+
expect(Metanorma::Utils.smartformat("A - B A -- B A--B '80s '80' <A>"))
|
40
|
+
.to eq "A — B A — B A—B ’80s ‘80’ <A>"
|
35
41
|
end
|
36
42
|
|
37
43
|
it "applies en-dash normalisation" do
|
@@ -75,180 +81,184 @@ RSpec.describe Metanorma::Utils do
|
|
75
81
|
end
|
76
82
|
|
77
83
|
it "rewrites SVGs" do
|
78
|
-
FileUtils.cp
|
79
|
-
|
84
|
+
FileUtils.cp("spec/fixtures/action_schemaexpg1.svg",
|
85
|
+
"action_schemaexpg1.svg")
|
86
|
+
FileUtils.cp("spec/fixtures/action_schemaexpg1.svg",
|
87
|
+
"action_schemaexpg2.svg")
|
80
88
|
xmldoc = Nokogiri::XML(<<~INPUT)
|
81
|
-
|
82
|
-
|
83
|
-
|
89
|
+
<standard-document type="semantic" version="1.8.2">
|
90
|
+
<bibdata type="standard">
|
91
|
+
<title language="en" format="text/plain">Document title</title>
|
92
|
+
<docidentifier/>
|
93
|
+
<docnumber/>
|
94
|
+
<version/>
|
95
|
+
<language>en</language>
|
96
|
+
<script>Latn</script>
|
97
|
+
<status>
|
98
|
+
<stage>published</stage>
|
99
|
+
</status>
|
100
|
+
<copyright>
|
101
|
+
<from>2021</from>
|
102
|
+
</copyright>
|
103
|
+
<ext>
|
104
|
+
<doctype>article</doctype>
|
105
|
+
</ext>
|
106
|
+
</bibdata>
|
107
|
+
<sections>
|
108
|
+
<svgmap id="_d5b5049a-dd53-4ea0-bc6f-e8773bd59052"><target href="mn://action_schema"><xref target="ref1">Computer</xref></target></svgmap>
|
109
|
+
<svgmap id="_4072bdcb-5895-4821-b636-5795b96787cb">
|
110
|
+
<figure><image src="action_schemaexpg1.svg"/></figure>
|
111
|
+
<target href="mn://action_schema"><xref target="ref1">Computer</xref></target><target href="http://www.example.com"><link target="http://www.example.com">Phone</link></target>
|
112
|
+
</svgmap>
|
113
|
+
<svgmap id="_60dadf08-48d4-4164-845c-b4e293e00abd">
|
114
|
+
<figure><image src="action_schemaexpg2.svg" alt="Workmap"/></figure>
|
115
|
+
<target href="href1.htm"><xref target="ref1">Computer</xref></target><target href="mn://basic_attribute_schema"><link target="http://www.example.com">Phone</link></target><target href="mn://support_resource_schema"><eref type="express" bibitemid="express_action_schema" citeas=""><localityStack><locality type="anchor"><referenceFrom>action_schema.basic</referenceFrom></locality></localityStack>Coffee</eref></target></svgmap>
|
116
|
+
<svgmap id="_60dadf08-48d4-4164-845c-b4e293e00abd">
|
117
|
+
<figure>
|
118
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
119
|
+
<a href="mn://action_schema" >
|
120
|
+
<rect x="123.28" y="273.93" class="st0" width="88.05" height="41.84"/>
|
121
|
+
</a>
|
122
|
+
<a href="mn://basic_attribute_schema" >
|
123
|
+
<rect x="324.69" y="450.52" class="st0" width="132.62" height="40.75"/>
|
124
|
+
</a>
|
125
|
+
<a xlink:href="mn://support_resource_schema" >
|
126
|
+
<rect x="324.69" y="528.36" class="st0" width="148.16" height="40.75"/>
|
127
|
+
</a>
|
128
|
+
</svg>
|
129
|
+
</figure>
|
130
|
+
<target href="mn://action_schema"><xref target="ref1">Computer</xref></target><target href="http://www.example.com"><link target="http://www.example.com">Phone</link></target>
|
131
|
+
</svgmap>
|
132
|
+
<svgmap id="_60dadf08-48d4-4164-845c-b4e293e00abd">
|
133
|
+
<figure>
|
134
|
+
|
135
|
+
<image src='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAu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4KPGEgeGxpbms6aHJlZj0ibW46Ly9zdXBwb3J0X3Jlc291cmNlX3NjaGVtYSIgPgoJPHJlY3QgeD0iMzI0LjY5IiB5PSI1MjguMzYiIGNsYXNzPSJzdDAiIHdpZHRoPSIxNDguMTYiIGhlaWdodD0iNDAuNzUiLz4KPC9hPgo8L3N2Zz4K' id='__ISO_17301-1_2016' mimetype='image/svg+xml' height='auto' width='auto' alt='Workmap1'/>
|
136
|
+
</figure>
|
137
|
+
<target href="href1.htm"><xref target="ref1">Computer</xref></target><target href="mn://basic_attribute_schema"><link target="http://www.example.com">Phone</link></target><target href="mn://support_resource_schema"><eref type="express" bibitemid="express_action_schema" citeas=""><localityStack><locality type="anchor"><referenceFrom>action_schema.basic</referenceFrom></locality></localityStack>Coffee</eref></target></svgmap>
|
138
|
+
</sections>
|
139
|
+
</standard-document>
|
140
|
+
INPUT
|
141
|
+
Metanorma::Utils.svgmap_rewrite(xmldoc)
|
142
|
+
expect(xmlpp(xmldoc.to_xml.gsub(%r{<image.*?</image>}m, "<image/>")
|
143
|
+
.gsub(%r{<style.*?</style>}m, "<style/>")))
|
144
|
+
.to be_equivalent_to xmlpp(<<~OUTPUT)
|
145
|
+
<?xml version='1.0'?>
|
146
|
+
<standard-document type='semantic' version='1.8.2'>
|
147
|
+
<bibdata type='standard'>
|
148
|
+
<title language='en' format='text/plain'>Document title</title>
|
84
149
|
<docidentifier/>
|
85
150
|
<docnumber/>
|
86
151
|
<version/>
|
87
152
|
<language>en</language>
|
88
153
|
<script>Latn</script>
|
89
154
|
<status>
|
90
|
-
|
155
|
+
<stage>published</stage>
|
91
156
|
</status>
|
92
157
|
<copyright>
|
93
|
-
|
158
|
+
<from>2021</from>
|
94
159
|
</copyright>
|
95
160
|
<ext>
|
96
|
-
|
161
|
+
<doctype>article</doctype>
|
97
162
|
</ext>
|
98
|
-
|
99
|
-
|
100
|
-
<svgmap id=
|
101
|
-
|
102
|
-
|
103
|
-
|
163
|
+
</bibdata>
|
164
|
+
<sections>
|
165
|
+
<svgmap id='_d5b5049a-dd53-4ea0-bc6f-e8773bd59052'>
|
166
|
+
<target href='mn://action_schema'>
|
167
|
+
<xref target='ref1'>Computer</xref>
|
168
|
+
</target>
|
104
169
|
</svgmap>
|
105
|
-
<svgmap id="_60dadf08-48d4-4164-845c-b4e293e00abd">
|
106
|
-
<figure><image src="action_schemaexpg2.svg" alt="Workmap"/></figure>
|
107
|
-
<target href="href1.htm"><xref target="ref1">Computer</xref></target><target href="mn://basic_attribute_schema"><link target="http://www.example.com">Phone</link></target><target href="mn://support_resource_schema"><eref type="express" bibitemid="express_action_schema" citeas=""><localityStack><locality type="anchor"><referenceFrom>action_schema.basic</referenceFrom></locality></localityStack>Coffee</eref></target></svgmap>
|
108
|
-
<svgmap id="_60dadf08-48d4-4164-845c-b4e293e00abd">
|
109
170
|
<figure>
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
171
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000001' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
172
|
+
<style/>
|
173
|
+
<image/>
|
174
|
+
<a xlink:href='#ref1' xlink:dummy='Layer_1_000000001'>
|
175
|
+
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
176
|
+
</a>
|
177
|
+
<a xlink:href='mn://basic_attribute_schema'>
|
178
|
+
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
179
|
+
</a>
|
180
|
+
<a xlink:href='mn://support_resource_schema'>
|
181
|
+
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
182
|
+
</a>
|
183
|
+
</svg>
|
121
184
|
</figure>
|
122
|
-
<
|
185
|
+
<svgmap id='_60dadf08-48d4-4164-845c-b4e293e00abd'>
|
186
|
+
<figure>
|
187
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000002' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
188
|
+
<style/>
|
189
|
+
<image/>
|
190
|
+
<a xlink:href='mn://action_schema' xlink:dummy='Layer_1_000000002'>
|
191
|
+
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
192
|
+
</a>
|
193
|
+
<a xlink:href='http://www.example.com'>
|
194
|
+
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
195
|
+
</a>
|
196
|
+
<a xlink:href='mn://support_resource_schema'>
|
197
|
+
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
198
|
+
</a>
|
199
|
+
</svg>
|
200
|
+
</figure>
|
201
|
+
<target href='mn://support_resource_schema'>
|
202
|
+
<eref type='express' bibitemid='express_action_schema' citeas=''>
|
203
|
+
<localityStack>
|
204
|
+
<locality type='anchor'>
|
205
|
+
<referenceFrom>action_schema.basic</referenceFrom>
|
206
|
+
</locality>
|
207
|
+
</localityStack>
|
208
|
+
Coffee
|
209
|
+
</eref>
|
210
|
+
</target>
|
123
211
|
</svgmap>
|
124
|
-
<svgmap id="_60dadf08-48d4-4164-845c-b4e293e00abd">
|
125
212
|
<figure>
|
126
|
-
|
127
|
-
<image src='data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zy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9hPgo8L3N2Zz4K' id='__ISO_17301-1_2016' mimetype='image/svg+xml' height='auto' width='auto' alt='Workmap1'/>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
169
|
-
</a>
|
170
|
-
<a xlink:href='mn://support_resource_schema'>
|
171
|
-
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
172
|
-
</a>
|
173
|
-
</svg>
|
174
|
-
</figure>
|
175
|
-
<svgmap id='_60dadf08-48d4-4164-845c-b4e293e00abd'>
|
176
|
-
<figure>
|
177
|
-
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000002' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
178
|
-
<style/>
|
179
|
-
<image/>
|
180
|
-
<a xlink:href='mn://action_schema' xlink:dummy='Layer_1_000000002'>
|
181
|
-
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
182
|
-
</a>
|
183
|
-
<a xlink:href='http://www.example.com'>
|
184
|
-
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
185
|
-
</a>
|
186
|
-
<a xlink:href='mn://support_resource_schema'>
|
187
|
-
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
188
|
-
</a>
|
189
|
-
</svg>
|
190
|
-
</figure>
|
191
|
-
<target href='mn://support_resource_schema'>
|
192
|
-
<eref type='express' bibitemid='express_action_schema' citeas=''>
|
193
|
-
<localityStack>
|
194
|
-
<locality type='anchor'>
|
195
|
-
<referenceFrom>action_schema.basic</referenceFrom>
|
196
|
-
</locality>
|
197
|
-
</localityStack>
|
198
|
-
Coffee
|
199
|
-
</eref>
|
200
|
-
</target>
|
201
|
-
</svgmap>
|
202
|
-
<figure>
|
203
|
-
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000003' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
204
|
-
<a href='#ref1'>
|
205
|
-
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
206
|
-
</a>
|
207
|
-
<a href='mn://basic_attribute_schema'>
|
208
|
-
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
209
|
-
</a>
|
210
|
-
<a xlink:href='mn://support_resource_schema'>
|
211
|
-
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
212
|
-
</a>
|
213
|
-
</svg>
|
214
|
-
</figure>
|
215
|
-
<svgmap id='_60dadf08-48d4-4164-845c-b4e293e00abd'>
|
216
|
-
<figure>
|
217
|
-
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000004' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
218
|
-
<style/>
|
219
|
-
<image/>
|
220
|
-
<a xlink:href='mn://action_schema'>
|
221
|
-
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
222
|
-
</a>
|
223
|
-
<a xlink:href='http://www.example.com'>
|
224
|
-
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
225
|
-
</a>
|
226
|
-
<a xlink:href='mn://support_resource_schema'>
|
227
|
-
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
228
|
-
</a>
|
229
|
-
</svg>
|
230
|
-
</figure>
|
231
|
-
<target href='mn://support_resource_schema'>
|
232
|
-
<eref type='express' bibitemid='express_action_schema' citeas=''>
|
233
|
-
<localityStack>
|
234
|
-
<locality type='anchor'>
|
235
|
-
<referenceFrom>action_schema.basic</referenceFrom>
|
236
|
-
</locality>
|
237
|
-
</localityStack>
|
238
|
-
Coffee
|
239
|
-
</eref>
|
240
|
-
</target>
|
241
|
-
</svgmap>
|
242
|
-
</sections>
|
243
|
-
</standard-document>
|
244
|
-
OUTPUT
|
213
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000003' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
214
|
+
<a href='#ref1'>
|
215
|
+
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
216
|
+
</a>
|
217
|
+
<a href='mn://basic_attribute_schema'>
|
218
|
+
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
219
|
+
</a>
|
220
|
+
<a xlink:href='mn://support_resource_schema'>
|
221
|
+
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
222
|
+
</a>
|
223
|
+
</svg>
|
224
|
+
</figure>
|
225
|
+
<svgmap id='_60dadf08-48d4-4164-845c-b4e293e00abd'>
|
226
|
+
<figure>
|
227
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000004' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
228
|
+
<style/>
|
229
|
+
<image/>
|
230
|
+
<a xlink:href='mn://action_schema'>
|
231
|
+
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
232
|
+
</a>
|
233
|
+
<a xlink:href='http://www.example.com'>
|
234
|
+
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
235
|
+
</a>
|
236
|
+
<a xlink:href='mn://support_resource_schema'>
|
237
|
+
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
238
|
+
</a>
|
239
|
+
</svg>
|
240
|
+
</figure>
|
241
|
+
<target href='mn://support_resource_schema'>
|
242
|
+
<eref type='express' bibitemid='express_action_schema' citeas=''>
|
243
|
+
<localityStack>
|
244
|
+
<locality type='anchor'>
|
245
|
+
<referenceFrom>action_schema.basic</referenceFrom>
|
246
|
+
</locality>
|
247
|
+
</localityStack>
|
248
|
+
Coffee
|
249
|
+
</eref>
|
250
|
+
</target>
|
251
|
+
</svgmap>
|
252
|
+
</sections>
|
253
|
+
</standard-document>
|
254
|
+
OUTPUT
|
245
255
|
end
|
246
256
|
|
247
257
|
it "rewrites SVGs with namespaces" do
|
248
258
|
FileUtils.cp "spec/fixtures/action_schemaexpg1.svg",
|
249
|
-
|
259
|
+
"action_schemaexpg1.svg"
|
250
260
|
FileUtils.cp "spec/fixtures/action_schemaexpg1.svg",
|
251
|
-
|
261
|
+
"action_schemaexpg2.svg"
|
252
262
|
xmldoc = Nokogiri::XML(<<~INPUT)
|
253
263
|
<standard-document type="semantic" version="1.8.2" xmlns="http://www.example.com">
|
254
264
|
<bibdata type="standard">
|
@@ -280,66 +290,67 @@ RSpec.describe Metanorma::Utils do
|
|
280
290
|
</standard-document>
|
281
291
|
INPUT
|
282
292
|
Metanorma::Utils.svgmap_rewrite(xmldoc)
|
283
|
-
expect(xmlpp(xmldoc.to_xml.gsub(%r{<image.*?</image>}m, "<image/>")))
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
293
|
+
expect(xmlpp(xmldoc.to_xml.gsub(%r{<image.*?</image>}m, "<image/>")))
|
294
|
+
.to be_equivalent_to xmlpp(<<~OUTPUT)
|
295
|
+
<?xml version='1.0'?>
|
296
|
+
<standard-document type="semantic" version="1.8.2" xmlns="http://www.example.com">
|
297
|
+
<bibdata type="standard">
|
298
|
+
<title language="en" format="text/plain">Document title</title>
|
299
|
+
<docidentifier/>
|
300
|
+
<docnumber/>
|
301
|
+
<version/>
|
302
|
+
<language>en</language>
|
303
|
+
<script>Latn</script>
|
304
|
+
<status>
|
305
|
+
<stage>published</stage>
|
306
|
+
</status>
|
307
|
+
<copyright>
|
308
|
+
<from>2021</from>
|
309
|
+
</copyright>
|
310
|
+
<ext>
|
311
|
+
<doctype>article</doctype>
|
312
|
+
</ext>
|
313
|
+
</bibdata>
|
314
|
+
<sections><svgmap id="_d5b5049a-dd53-4ea0-bc6f-e8773bd59052"><target href="mn://action_schema"><xref target="ref1">Computer</xref></target></svgmap>
|
315
|
+
<figure>
|
316
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000001' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
317
|
+
<style type='text/css'>
|
318
|
+
#Layer_1_000000001 { fill:none } svg[id='Layer_1_000000001'] {
|
319
|
+
fill:none } .st0{fill:none;stroke:#000000;stroke-miterlimit:10;}
|
320
|
+
</style>
|
321
|
+
<image/>
|
322
|
+
<a xlink:href='#ref1' xlink:dummy='Layer_1_000000001'>
|
323
|
+
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
324
|
+
</a>
|
325
|
+
<a xlink:href='mn://basic_attribute_schema'>
|
326
|
+
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
327
|
+
</a>
|
328
|
+
<a xlink:href='mn://support_resource_schema'>
|
329
|
+
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
330
|
+
</a>
|
331
|
+
</svg>
|
332
|
+
</figure>
|
333
|
+
<svgmap id='_60dadf08-48d4-4164-845c-b4e293e00abd'>
|
334
|
+
<figure>
|
335
|
+
<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1_000000002' x='0px' y='0px' viewBox='0 0 595.28 841.89' style='enable-background:new 0 0 595.28 841.89;' xml:space='preserve'>
|
336
|
+
<style type='text/css'>
|
337
|
+
#Layer_1_000000002 { fill:none } svg[id='Layer_1_000000002'] {
|
338
|
+
fill:none } .st0{fill:none;stroke:#000000;stroke-miterlimit:10;}
|
339
|
+
</style>
|
340
|
+
<image/>
|
341
|
+
<a xlink:href='mn://action_schema' xlink:dummy='Layer_1_000000002'>
|
342
|
+
<rect x='123.28' y='273.93' class='st0' width='88.05' height='41.84'/>
|
343
|
+
</a>
|
344
|
+
<a xlink:href='http://www.example.com'>
|
345
|
+
<rect x='324.69' y='450.52' class='st0' width='132.62' height='40.75'/>
|
346
|
+
</a>
|
347
|
+
<a xlink:href='mn://support_resource_schema'>
|
348
|
+
<rect x='324.69' y='528.36' class='st0' width='148.16' height='40.75'/>
|
349
|
+
</a>
|
350
|
+
</svg>
|
351
|
+
</figure>
|
352
|
+
<target href="mn://support_resource_schema"><eref type="express" bibitemid="express_action_schema" citeas=""><localityStack><locality type="anchor"><referenceFrom>action_schema.basic</referenceFrom></locality></localityStack>Coffee</eref></target></svgmap></sections>
|
353
|
+
</standard-document>
|
343
354
|
OUTPUT
|
344
355
|
end
|
345
356
|
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: asciidoctor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: concurrent-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,63 +39,63 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: marcel
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.0.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: mime-types
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: nokogiri
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.11'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.11'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: sterile
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.
|
89
|
+
version: 1.0.14
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.0.
|
96
|
+
version: 1.0.14
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: uuidtools
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '4.7'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: metanorma-standoc
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '1.8'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '1.8'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: rake
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -262,20 +276,6 @@ dependencies:
|
|
262
276
|
- - ">="
|
263
277
|
- !ruby/object:Gem::Version
|
264
278
|
version: '0'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: metanorma-standoc
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - "~>"
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: '1.8'
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - "~>"
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: '1.8'
|
279
279
|
description: 'metanorma-utils provides utilities for the Metanorma stack
|
280
280
|
|
281
281
|
'
|
@@ -287,6 +287,7 @@ extra_rdoc_files: []
|
|
287
287
|
files:
|
288
288
|
- ".github/workflows/rake.yml"
|
289
289
|
- ".gitignore"
|
290
|
+
- ".hound.yml"
|
290
291
|
- ".rubocop.yml"
|
291
292
|
- Gemfile
|
292
293
|
- LICENSE
|