metanorma-utils 1.4.6 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utils/version.rb +1 -1
- data/lib/utils/xml.rb +7 -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: ae7569a06bdfe875046b5be65f0912e5204b96bd4c5dbb361491468a7f997550
|
4
|
+
data.tar.gz: 7cd8d59f00b0fe8b9612714600d6307e60b94e3348131e46159eceee366e39f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fff3b9d16f1f85fcb21fdb1566511981bbf6f8f818734e8e1132509ca64a4c567f415804de8b2de523d8a7aa6d15ff0dd0c598e7f7625609b2a025a74eacda2e
|
7
|
+
data.tar.gz: cd51c325d680666ebc08418018589ef97a9f783488ce962e9866430e7af7bdc8c72b1fa60ab46e4194b0a871f1c7397a307028d904244051948fc36cc34848a1
|
data/lib/utils/version.rb
CHANGED
data/lib/utils/xml.rb
CHANGED
@@ -86,6 +86,13 @@ module Metanorma
|
|
86
86
|
end
|
87
87
|
end.join
|
88
88
|
end
|
89
|
+
|
90
|
+
# all element/attribute pairs that are ID anchors in Metanorma
|
91
|
+
def anchor_attributes
|
92
|
+
[%w[* id], %w[* bibitemid], %w[review from],
|
93
|
+
%w[review to], %w[index to], %w[xref target],
|
94
|
+
%w[callout target]]
|
95
|
+
end
|
89
96
|
end
|
90
97
|
end
|
91
98
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|