fontist 2.2.1 → 3.0.0
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/.github/workflows/formulas-auto-update-test.yml +13 -13
- data/lib/fontist/version.rb +1 -1
- data/lib/fontist.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: ab7d070a986f52cb3b93a83eeef69a76b72ef07881276a5090e373bc4758f682
|
|
4
|
+
data.tar.gz: eb5eeceeb19c10b0d3537549067e2e8332253dc864c722873c1e39ca50a800bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abf247ac6988a9f812c04c265a07d8f397e5f80eb874471b0c354d523de94f66ccc66ab6e6708560698e50008e413c8e07054632a6c3aff6d5f6e1b80dacef58
|
|
7
|
+
data.tar.gz: 138d53e9d110fe58520360adbdc37a5c7c6f0aacee634cb269ed706fd6eeb319c7add2873646adec2009431e469189c051d92c2d80de3e59f6d7060ee1ca8894
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
echo ""
|
|
56
56
|
echo "=== Fontist Home Path ==="
|
|
57
57
|
echo "Fontist home: $HOME/.fontist"
|
|
58
|
-
echo "Formulas path: $HOME/.fontist/versions/
|
|
58
|
+
echo "Formulas path: $HOME/.fontist/versions/v5/formulas"
|
|
59
59
|
|
|
60
60
|
# CRITICAL: Remove any existing formulas directory to simulate fresh CI environment
|
|
61
61
|
# This ensures we're testing lazy initialization from a clean state
|
|
@@ -64,16 +64,16 @@ jobs:
|
|
|
64
64
|
run: |
|
|
65
65
|
echo "=== Simulating Fresh CI Environment ==="
|
|
66
66
|
echo "Removing any existing formulas directory..."
|
|
67
|
-
if [ -d "$HOME/.fontist/versions/
|
|
67
|
+
if [ -d "$HOME/.fontist/versions/v5/formulas" ]; then
|
|
68
68
|
echo " ✓ Found existing formulas directory, removing..."
|
|
69
|
-
rm -rf "$HOME/.fontist/versions/
|
|
69
|
+
rm -rf "$HOME/.fontist/versions/v5/formulas"
|
|
70
70
|
echo " ✓ Formulas directory removed"
|
|
71
71
|
else
|
|
72
72
|
echo " ✓ No existing formulas directory (clean state)"
|
|
73
73
|
fi
|
|
74
74
|
echo ""
|
|
75
75
|
echo "Verifying formulas directory does not exist:"
|
|
76
|
-
if [ -d "$HOME/.fontist/versions/
|
|
76
|
+
if [ -d "$HOME/.fontist/versions/v5/formulas" ]; then
|
|
77
77
|
echo " ✗ ERROR: Formulas directory still exists!"
|
|
78
78
|
exit 1
|
|
79
79
|
else
|
|
@@ -85,7 +85,7 @@ jobs:
|
|
|
85
85
|
run: |
|
|
86
86
|
echo "=== Pre-test State Verification ==="
|
|
87
87
|
echo "Checking formulas directory status:"
|
|
88
|
-
FORMULAS_DIR="$HOME/.fontist/versions/
|
|
88
|
+
FORMULAS_DIR="$HOME/.fontist/versions/v5/formulas/Formulas"
|
|
89
89
|
if [ -d "$FORMULAS_DIR" ]; then
|
|
90
90
|
echo " ✗ ERROR: Formulas directory exists at $FORMULAS_DIR"
|
|
91
91
|
echo " This will invalidate the test!"
|
|
@@ -106,11 +106,11 @@ jobs:
|
|
|
106
106
|
shell: bash
|
|
107
107
|
run: |
|
|
108
108
|
echo "=== Force removing formulas directory before test ==="
|
|
109
|
-
rm -rf "$HOME/.fontist/versions/
|
|
109
|
+
rm -rf "$HOME/.fontist/versions/v5/formulas"
|
|
110
110
|
echo "✓ Formulas directory removed"
|
|
111
111
|
echo ""
|
|
112
112
|
echo "Verifying removal:"
|
|
113
|
-
if [ -d "$HOME/.fontist/versions/
|
|
113
|
+
if [ -d "$HOME/.fontist/versions/v5/formulas" ]; then
|
|
114
114
|
echo " ✗ ERROR: Formulas directory still exists!"
|
|
115
115
|
exit 1
|
|
116
116
|
else
|
|
@@ -136,7 +136,7 @@ jobs:
|
|
|
136
136
|
echo "Ruby: $(ruby --version)"
|
|
137
137
|
echo ""
|
|
138
138
|
echo "--- Step 1: Verify formulas don't exist yet ---"
|
|
139
|
-
FORMULAS_DIR="$HOME/.fontist/versions/
|
|
139
|
+
FORMULAS_DIR="$HOME/.fontist/versions/v5/formulas/Formulas"
|
|
140
140
|
if [ -d "$FORMULAS_DIR" ]; then
|
|
141
141
|
echo " ✗ ERROR: Formulas directory already exists!"
|
|
142
142
|
echo " This invalidates the test - lazy initialization won't be tested."
|
|
@@ -234,16 +234,16 @@ jobs:
|
|
|
234
234
|
find "$HOME/.fontist" -type d 2>/dev/null || true
|
|
235
235
|
echo ""
|
|
236
236
|
echo "Formulas directory:"
|
|
237
|
-
ls -la "$HOME/.fontist/versions/
|
|
237
|
+
ls -la "$HOME/.fontist/versions/v5/formulas/" 2>/dev/null || echo " (Does not exist)"
|
|
238
238
|
echo ""
|
|
239
239
|
echo "Formulas/Formulas directory:"
|
|
240
|
-
ls -la "$HOME/.fontist/versions/
|
|
240
|
+
ls -la "$HOME/.fontist/versions/v5/formulas/Formulas/" 2>/dev/null || echo " (Does not exist)"
|
|
241
241
|
echo ""
|
|
242
242
|
echo "Fonts directory:"
|
|
243
243
|
ls -la "$HOME/.fontist/fonts/" 2>/dev/null || echo " (Does not exist)"
|
|
244
244
|
echo ""
|
|
245
245
|
echo "Andale Mono formula file:"
|
|
246
|
-
cat "$HOME/.fontist/versions/
|
|
246
|
+
cat "$HOME/.fontist/versions/v5/formulas/Formulas/andale.yml" 2>/dev/null || echo " (Does not exist)"
|
|
247
247
|
|
|
248
248
|
# Additional test: Verify that explicit 'fontist update' still works
|
|
249
249
|
test-explicit-update-still-works:
|
|
@@ -264,7 +264,7 @@ jobs:
|
|
|
264
264
|
|
|
265
265
|
- name: Remove existing formulas directory
|
|
266
266
|
shell: bash
|
|
267
|
-
run: rm -rf "$HOME/.fontist/versions/
|
|
267
|
+
run: rm -rf "$HOME/.fontist/versions/v5/formulas"
|
|
268
268
|
|
|
269
269
|
- name: Run explicit fontist update
|
|
270
270
|
shell: bash
|
|
@@ -277,7 +277,7 @@ jobs:
|
|
|
277
277
|
echo "✓ Explicit update completed"
|
|
278
278
|
echo ""
|
|
279
279
|
echo "Verifying formulas directory exists:"
|
|
280
|
-
FORMULAS_DIR="$HOME/.fontist/versions/
|
|
280
|
+
FORMULAS_DIR="$HOME/.fontist/versions/v5/formulas/Formulas"
|
|
281
281
|
if [ -d "$FORMULAS_DIR" ]; then
|
|
282
282
|
echo " ✓ Formulas directory exists"
|
|
283
283
|
echo " Formula count: $(ls -1 "$FORMULAS_DIR" | wc -l)"
|
data/lib/fontist/version.rb
CHANGED
data/lib/fontist.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:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: down
|