fontist 1.11.5 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +9 -1
- data/.rubocop.yml +1 -18
- data/README.adoc +54 -3
- data/fontist.gemspec +3 -1
- data/lib/fontist/cli.rb +51 -14
- data/lib/fontist/errors.rb +10 -0
- data/lib/fontist/font.rb +60 -14
- data/lib/fontist/formula.rb +66 -4
- data/lib/fontist/formula_picker.rb +126 -0
- data/lib/fontist/import/create_formula.rb +16 -10
- data/lib/fontist/import/files/font_detector.rb +4 -2
- data/lib/fontist/import/formula_builder.rb +24 -15
- data/lib/fontist/import/macos.rb +148 -0
- data/lib/fontist/import/manual_formula_builder.rb +24 -0
- data/lib/fontist/import/recursive_extraction.rb +2 -0
- data/lib/fontist/import_cli.rb +19 -0
- data/lib/fontist/indexes/default_family_font_index.rb +4 -1
- data/lib/fontist/repo.rb +13 -1
- data/lib/fontist/style_version.rb +39 -0
- data/lib/fontist/system.yml +1 -0
- data/lib/fontist/system_font.rb +1 -1
- data/lib/fontist/update.rb +11 -31
- data/lib/fontist/utils/system.rb +10 -0
- data/lib/fontist/version.rb +1 -1
- data/lib/fontist.rb +9 -1
- metadata +49 -16
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.
|
4
|
+
version: 1.13.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: 2021-
|
11
|
+
date: 2021-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: down
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sys-uname
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.2'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: thor
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +108,20 @@ dependencies:
|
|
80
108
|
- - "~>"
|
81
109
|
- !ruby/object:Gem::Version
|
82
110
|
version: '1.6'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: plist
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
83
125
|
- !ruby/object:Gem::Dependency
|
84
126
|
name: excavate
|
85
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,20 +178,6 @@ dependencies:
|
|
136
178
|
- - ">="
|
137
179
|
- !ruby/object:Gem::Version
|
138
180
|
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: nokogiri
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '1.0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '1.0'
|
153
181
|
- !ruby/object:Gem::Dependency
|
154
182
|
name: rake
|
155
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -276,6 +304,7 @@ files:
|
|
276
304
|
- lib/fontist/font_installer.rb
|
277
305
|
- lib/fontist/font_path.rb
|
278
306
|
- lib/fontist/formula.rb
|
307
|
+
- lib/fontist/formula_picker.rb
|
279
308
|
- lib/fontist/google_cli.rb
|
280
309
|
- lib/fontist/helpers.rb
|
281
310
|
- lib/fontist/import.rb
|
@@ -293,6 +322,8 @@ files:
|
|
293
322
|
- lib/fontist/import/google_import.rb
|
294
323
|
- lib/fontist/import/helpers/hash_helper.rb
|
295
324
|
- lib/fontist/import/helpers/system_helper.rb
|
325
|
+
- lib/fontist/import/macos.rb
|
326
|
+
- lib/fontist/import/manual_formula_builder.rb
|
296
327
|
- lib/fontist/import/otf/font_file.rb
|
297
328
|
- lib/fontist/import/otf_parser.rb
|
298
329
|
- lib/fontist/import/otf_style.rb
|
@@ -303,6 +334,7 @@ files:
|
|
303
334
|
- lib/fontist/import/sil_import.rb
|
304
335
|
- lib/fontist/import/template_helper.rb
|
305
336
|
- lib/fontist/import/text_helper.rb
|
337
|
+
- lib/fontist/import_cli.rb
|
306
338
|
- lib/fontist/index.rb
|
307
339
|
- lib/fontist/indexes/base_index.rb
|
308
340
|
- lib/fontist/indexes/default_family_font_index.rb
|
@@ -315,6 +347,7 @@ files:
|
|
315
347
|
- lib/fontist/manifest/locations.rb
|
316
348
|
- lib/fontist/repo.rb
|
317
349
|
- lib/fontist/repo_cli.rb
|
350
|
+
- lib/fontist/style_version.rb
|
318
351
|
- lib/fontist/system.yml
|
319
352
|
- lib/fontist/system_font.rb
|
320
353
|
- lib/fontist/system_index.rb
|