ucode 0.3.1 → 0.3.2
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/Gemfile +4 -4
- data/config/unicode17_universal_glyph_set.yml +1 -1
- data/lib/ucode/glyphs/real_fonts/coverage_auditor.rb +7 -0
- data/lib/ucode/unicode/metadata/v15_0_0.rb +1 -0
- data/lib/ucode/unicode/metadata/v15_1_0.rb +1 -0
- data/lib/ucode/unicode/metadata/v16_0_0.rb +1 -0
- data/lib/ucode/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fbcbc2512cb8d1ff41f7a8074b5dd8dcdc391b9f3ec7612fa86c3e5f27801047
|
|
4
|
+
data.tar.gz: f24867e753da444c8cd3afbd908dd9f42a2a3d036f85080893722298b70c0ea7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0a38bea42fea425a3f471cac93c1a5f17f199d9d217ae47d328651530ff9f30bb2cd3c3ba594e38861ced9ceb80f0866397b3cf88d74259dda8bfb70c8b4ace
|
|
7
|
+
data.tar.gz: edcbf5b2c957c1a6c540f16aa8be50bd2d605c07332891fc3195d10f048824af1b436bcb98bfe4dac238731ecf4437202d8a7d94ddc7b240f344208cdaeba08c
|
data/Gemfile
CHANGED
|
@@ -23,8 +23,8 @@ end
|
|
|
23
23
|
# Default to the published fontisan from rubygems. To develop against a
|
|
24
24
|
# local sibling checkout, set FONTISAN_PATH before running bundle.
|
|
25
25
|
# FONTISAN_PATH=../fontisan bundle install
|
|
26
|
+
# fontist itself constrains fontisan to ~> 0.2, so we must stay in the
|
|
27
|
+
# 0.2.x series. 0.2.23+ removed AuditCommand — CoverageAuditor guards
|
|
28
|
+
# its absence with const_defined?.
|
|
26
29
|
gem "fontisan", path: ENV["FONTISAN_PATH"] if ENV["FONTISAN_PATH"]
|
|
27
|
-
|
|
28
|
-
# `Fontisan::Commands::AuditCommand` and 0.4.x removed the Audit
|
|
29
|
-
# subsystem entirely. See ucode.gemspec for the rationale.
|
|
30
|
-
gem "fontisan", "= 0.2.22" unless ENV["FONTISAN_PATH"]
|
|
30
|
+
gem "fontisan", ">= 0.2.22", "< 0.3" unless ENV["FONTISAN_PATH"]
|
|
@@ -53,6 +53,13 @@ module Ucode
|
|
|
53
53
|
# Unicode17Blocks table) and brief mode skips the UCD database
|
|
54
54
|
# dependency that full mode requires.
|
|
55
55
|
def run_fontisan_audit(font_path)
|
|
56
|
+
unless Fontisan::Commands.const_defined?(:AuditCommand)
|
|
57
|
+
raise Ucode::Error,
|
|
58
|
+
"Fontisan::Commands::AuditCommand is not available in this " \
|
|
59
|
+
"fontisan version. The coverage auditor requires fontisan < 0.2.23 " \
|
|
60
|
+
"or a version that re-adds AuditCommand."
|
|
61
|
+
end
|
|
62
|
+
|
|
56
63
|
Fontisan::Commands::AuditCommand.new(
|
|
57
64
|
font_path.to_s,
|
|
58
65
|
ucd_version: UCD_VERSION,
|
data/lib/ucode/version.rb
CHANGED