metanorma-utils 1.11.6 → 1.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.adoc +1 -1
- data/lib/utils/anchor.rb +5 -4
- data/lib/utils/cjk.rb +4 -0
- data/lib/utils/version.rb +1 -1
- data/metanorma-utils.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a99bb7fdd555d6d2fff452c36700104b7d80fab5ceefa37c271bd8f8a99b0d1
|
4
|
+
data.tar.gz: e35dd105b562b8fd16a2d8695f0bf9c84bee7a946c404a3ffadc34eebb51a4e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99789e9ff3abf5ab4f6d39db2a93f3b0c4edd8cd15667bcb9679328e17535c3c4a8246bb474fce4fbe1e61644573c42b0143803c8557dd5c4cbe0ecacb8a8b3
|
7
|
+
data.tar.gz: 794cefd11516d460c5f3cd2d73b13cec42c097b6e7cc28cb32fa10097c8b89c6257a7c290313f0311d63145dd15f4d28e32f5c2d1df869282d3687ae76db504c
|
data/README.adoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-utils.svg["Gem Version", link="https://rubygems.org/gems/metanorma-utils"]
|
4
4
|
image:https://github.com/metanorma/metanorma-utils/workflows/rake/badge.svg["Build Status", link="https://github.com/metanorma/metanorma-utils/actions?workflow=rake"]
|
5
|
-
image:https://codeclimate.com/github/metanorma/metanorma-utils/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-utils"]
|
5
|
+
// image:https://codeclimate.com/github/metanorma/metanorma-utils/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-utils"]
|
6
6
|
image:https://img.shields.io/github/issues-pr-raw/metanorma/metanorma-utils.svg["Pull Requests", link="https://github.com/metanorma/metanorma-utils/pulls"]
|
7
7
|
image:https://img.shields.io/github/commits-since/metanorma/metanorma-utils/latest.svg["Commits since latest",link="https://github.com/metanorma/metanorma-utils/releases"]
|
8
8
|
|
data/lib/utils/anchor.rb
CHANGED
@@ -117,13 +117,14 @@ module Metanorma
|
|
117
117
|
|
118
118
|
# all element/attribute pairs that are ID anchors in Metanorma
|
119
119
|
def anchor_attributes(presxml: false)
|
120
|
-
ret = [%w(
|
121
|
-
%w(
|
122
|
-
%w(
|
123
|
-
%w(termsource bibitemid), %w(admonition target)]
|
120
|
+
ret = [%w(annotation from), %w(annotation to), %w(callout target),
|
121
|
+
%w(xref to), %w(eref bibitemid), %w(citation bibitemid),
|
122
|
+
%w(xref target), %w(label for), %w(location target),
|
123
|
+
%w(index to), %w(termsource bibitemid), %w(admonition target)]
|
124
124
|
ret1 = [%w(fn target), %w(semx source), %w(fmt-title source),
|
125
125
|
%w(fmt-xref to), %w(fmt-xref target), %w(fmt-eref bibitemid),
|
126
126
|
%w(fmt-xref-label container), %w(fmt-fn-body target),
|
127
|
+
%w(fmt-annotation-body from), %w(fmt-annotation-body to),
|
127
128
|
%w(fmt-annotation-start source), %w(fmt-annotation-start end),
|
128
129
|
%w(fmt-annotation-start target), %w(fmt-annotation-end source),
|
129
130
|
%w(fmt-annotation-end start), %w(fmt-annotation-end target)]
|
data/lib/utils/cjk.rb
CHANGED
@@ -106,5 +106,9 @@ module Metanorma
|
|
106
106
|
BOPOMOFO_EXTENSIONS
|
107
107
|
].join("|").freeze
|
108
108
|
end
|
109
|
+
|
110
|
+
# Export CJK constant for external access while maintaining backward compatibility
|
111
|
+
# This allows external code to access the pattern as Metanorma::Utils::CJK
|
112
|
+
CJK = (class << self; CJK; end)
|
109
113
|
end
|
110
114
|
end
|
data/lib/utils/version.rb
CHANGED
data/metanorma-utils.gemspec
CHANGED
@@ -46,6 +46,6 @@ Gem::Specification.new do |spec|
|
|
46
46
|
spec.add_development_dependency "simplecov", "~> 0.15"
|
47
47
|
spec.add_development_dependency "timecop", "~> 0.9"
|
48
48
|
spec.add_development_dependency "webmock"
|
49
|
-
spec.add_development_dependency "
|
49
|
+
spec.add_development_dependency "canon"
|
50
50
|
# spec.metadata["rubygems_mfa_required"] = "true"
|
51
51
|
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.11.
|
4
|
+
version: 1.11.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|
@@ -277,7 +277,7 @@ dependencies:
|
|
277
277
|
- !ruby/object:Gem::Version
|
278
278
|
version: '0'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
|
-
name:
|
280
|
+
name: canon
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
283
|
- - ">="
|