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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39b510b33a2215d748cbf04e9794149209ae500fae5e9fdce455703c08b3bc7c
4
- data.tar.gz: 7a4c6ac03258db64ac786c5fd324d5232205ca8cda18865fbc083e55eb091709
3
+ metadata.gz: fbcbc2512cb8d1ff41f7a8074b5dd8dcdc391b9f3ec7612fa86c3e5f27801047
4
+ data.tar.gz: f24867e753da444c8cd3afbd908dd9f42a2a3d036f85080893722298b70c0ea7
5
5
  SHA512:
6
- metadata.gz: 7a03ec1efe4bb8396e3b7405cafacbc674fdb6efe4cfa01c9b41e621a30a823893af287eb73c6d7b1fce450d302700b5a7147824116ecd4c8b2f5544ad30fa3f
7
- data.tar.gz: e68b9a8a08ad174b4b38f8ab03c73a32e1fb16a37caff25164a8ea91f160c25a8e1272e288c00993396b3db5d24b4d8551dd5ef0ea3526e8c878dbc98550a5f0
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
- # Pin fontisan to 0.2.22 0.2.23+ removed
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"]
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  unicode_version: 17.0.0
3
- ucode_version: 0.3.0
3
+ ucode_version: 0.3.1
4
4
  generated_at: '2026-06-28T00:00:00Z'
5
5
  default_sources:
6
6
  - kind: fontist
@@ -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,
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # AUTO-GENERATED from UCD 15.0.0. Do not edit by hand.
4
+ # Regenerate via: bin/ucode emit-metadata --version 15.0.0
4
5
  # rubocop:disable all
5
6
 
6
7
  module Ucode
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # AUTO-GENERATED from UCD 15.1.0. Do not edit by hand.
4
+ # Regenerate via: bin/ucode emit-metadata --version 15.1.0
4
5
  # rubocop:disable all
5
6
 
6
7
  module Ucode
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # AUTO-GENERATED from UCD 16.0.0. Do not edit by hand.
4
+ # Regenerate via: bin/ucode emit-metadata --version 16.0.0
4
5
  # rubocop:disable all
5
6
 
6
7
  module Ucode
data/lib/ucode/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ucode
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.