fontist 1.14.3 → 1.14.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test-and-release.yml +1 -1
- data/lib/fontist/import/google.rb +2 -1
- data/lib/fontist/system_font.rb +3 -1
- data/lib/fontist/version.rb +1 -1
- 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: dd2e6dd82f23ca6c5bf67e6895708ad8be3a602ba493409af7f41359301fd9ae
|
4
|
+
data.tar.gz: 855891bb717b439c1b8d9a39b10b91a7e9cc83f332200dd63500c04348612e81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb012711692ab655f43808d965ad082532564e3a24b693c7bc5343934834cba92a9ea524725a0f71e6dc433a71e65e4c53872ddaddb24db20fbea7dfe3dbe72b
|
7
|
+
data.tar.gz: f189421d98cc7c3ecb6eab190e60237b2486e34dfdb5492881ed418ae43a8d317148161847235fe9c9cd6f9a0bda97514fe9234a7ebf0e68825810106a7b4789
|
@@ -17,7 +17,8 @@ module Fontist
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def self.digest(path)
|
20
|
-
checksums = Dir.glob(File.join(path,
|
20
|
+
checksums = Dir.glob(File.join(path,
|
21
|
+
"*.{[t|T][t|T][f|F],[o|O][t|T][f|F],[t|T][t|T][c|C]}"))
|
21
22
|
.sort
|
22
23
|
.map { |x| Digest::SHA256.file(x).to_s }
|
23
24
|
|
data/lib/fontist/system_font.rb
CHANGED
@@ -21,7 +21,9 @@ module Fontist
|
|
21
21
|
templates = YAML.load_file(config_path)["system"][os]["paths"]
|
22
22
|
patterns = expand_paths(templates)
|
23
23
|
|
24
|
-
Dir.glob(patterns
|
24
|
+
Dir.glob(patterns)
|
25
|
+
# File::FNM_CASEFOLD is officially ignored -- see https://ruby-doc.org/core-3.1.1/Dir.html#method-c-glob
|
26
|
+
# "Case sensitivity depends on your system"
|
25
27
|
end
|
26
28
|
|
27
29
|
def self.reset_system_font_paths_cache
|
data/lib/fontist/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fontist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: down
|