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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6948ddb57a14b1c4336d618e0acefbec39af45062ddae01eefedfe03f15ae5d3
4
- data.tar.gz: be5a073f2f186b62c813183716d48dd80760f5f84d84494f364768b37ec63319
3
+ metadata.gz: ab7d070a986f52cb3b93a83eeef69a76b72ef07881276a5090e373bc4758f682
4
+ data.tar.gz: eb5eeceeb19c10b0d3537549067e2e8332253dc864c722873c1e39ca50a800bd
5
5
  SHA512:
6
- metadata.gz: 8a1fe40574d4854eb1ddba3b7c62b7d5f7e99868b2ca4a2c21876486621ba6cad887b19225bb5ee7b72e5a14fc77f60098afd712af93c5fc9cc8fdc4ab627109
7
- data.tar.gz: 7291f52e6a601d25b55dece3cd3563e41fd3c388f506a0da6128562b221d9f9f8d6f211c0c10941e87bc758357a69220c4563e767e7840680cc6584ae1526a7a
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/v4/formulas"
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/v4/formulas" ]; then
67
+ if [ -d "$HOME/.fontist/versions/v5/formulas" ]; then
68
68
  echo " ✓ Found existing formulas directory, removing..."
69
- rm -rf "$HOME/.fontist/versions/v4/formulas"
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/v4/formulas" ]; then
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/v4/formulas/Formulas"
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/v4/formulas"
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/v4/formulas" ]; then
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/v4/formulas/Formulas"
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/v4/formulas/" 2>/dev/null || echo " (Does not exist)"
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/v4/formulas/Formulas/" 2>/dev/null || echo " (Does not exist)"
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/v4/formulas/Formulas/andale.yml" 2>/dev/null || echo " (Does not exist)"
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/v4/formulas"
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/v4/formulas/Formulas"
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)"
@@ -1,3 +1,3 @@
1
1
  module Fontist
2
- VERSION = "2.2.1".freeze
2
+ VERSION = "3.0.0".freeze
3
3
  end
data/lib/fontist.rb CHANGED
@@ -124,7 +124,7 @@ module Fontist
124
124
  end
125
125
 
126
126
  def self.formulas_version
127
- "v4"
127
+ "v5"
128
128
  end
129
129
 
130
130
  def self.formulas_repo_url
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: 2.2.1
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-03-25 00:00:00.000000000 Z
11
+ date: 2026-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: down