fontist 1.4.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +176 -6
- data/bin/fontist +1 -2
- data/fontist.gemspec +2 -0
- data/lib/fontist.rb +5 -0
- data/lib/fontist/cli.rb +59 -9
- data/lib/fontist/errors.rb +3 -0
- data/lib/fontist/font.rb +29 -6
- data/lib/fontist/font_formula.rb +35 -4
- data/lib/fontist/formula.rb +16 -1
- data/lib/fontist/formula_template.rb +41 -22
- data/lib/fontist/import/create_formula.rb +15 -30
- data/lib/fontist/import/files/collection_file.rb +11 -7
- data/lib/fontist/import/files/file_requirement.rb +17 -0
- data/lib/fontist/import/files/font_detector.rb +48 -0
- data/lib/fontist/import/formula_builder.rb +57 -6
- data/lib/fontist/import/google/skiplist.yml +2 -0
- data/lib/fontist/import/helpers/system_helper.rb +4 -1
- data/lib/fontist/import/otf/font_file.rb +20 -4
- data/lib/fontist/import/recursive_extraction.rb +99 -15
- data/lib/fontist/manifest.rb +2 -0
- data/lib/fontist/manifest/install.rb +32 -0
- data/lib/fontist/manifest/locations.rb +60 -0
- data/lib/fontist/system_font.rb +72 -6
- data/lib/fontist/system_index.rb +92 -0
- data/lib/fontist/utils.rb +1 -0
- data/lib/fontist/utils/cache.rb +27 -8
- data/lib/fontist/utils/downloader.rb +54 -10
- data/lib/fontist/utils/dsl.rb +4 -0
- data/lib/fontist/utils/dsl/collection_font.rb +36 -0
- data/lib/fontist/utils/dsl/font.rb +2 -1
- data/lib/fontist/utils/exe_extractor.rb +19 -9
- data/lib/fontist/utils/ui.rb +4 -0
- data/lib/fontist/utils/zip_extractor.rb +20 -11
- data/lib/fontist/version.rb +1 -1
- metadata +37 -3
- data/bin/stripttc +0 -0
data/lib/fontist/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fontist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: down
|
@@ -109,6 +109,34 @@ dependencies:
|
|
109
109
|
- - "~>"
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '1.0'
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: ttfunk
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '1.0'
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '1.0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: extract_ttc
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0.1'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0.1'
|
112
140
|
- !ruby/object:Gem::Dependency
|
113
141
|
name: pry
|
114
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,7 +278,6 @@ files:
|
|
250
278
|
- bin/import_google
|
251
279
|
- bin/rspec
|
252
280
|
- bin/setup
|
253
|
-
- bin/stripttc
|
254
281
|
- fontist.gemspec
|
255
282
|
- lib/fontist.rb
|
256
283
|
- lib/fontist/cli.rb
|
@@ -271,6 +298,8 @@ files:
|
|
271
298
|
- lib/fontist/import/extractors/seven_zip_extractor.rb
|
272
299
|
- lib/fontist/import/extractors/zip_extractor.rb
|
273
300
|
- lib/fontist/import/files/collection_file.rb
|
301
|
+
- lib/fontist/import/files/file_requirement.rb
|
302
|
+
- lib/fontist/import/files/font_detector.rb
|
274
303
|
- lib/fontist/import/formula_builder.rb
|
275
304
|
- lib/fontist/import/formula_serializer.rb
|
276
305
|
- lib/fontist/import/google.rb
|
@@ -292,13 +321,18 @@ files:
|
|
292
321
|
- lib/fontist/import/recursive_extraction.rb
|
293
322
|
- lib/fontist/import/template_helper.rb
|
294
323
|
- lib/fontist/import/text_helper.rb
|
324
|
+
- lib/fontist/manifest.rb
|
325
|
+
- lib/fontist/manifest/install.rb
|
326
|
+
- lib/fontist/manifest/locations.rb
|
295
327
|
- lib/fontist/registry.rb
|
296
328
|
- lib/fontist/system.yml
|
297
329
|
- lib/fontist/system_font.rb
|
330
|
+
- lib/fontist/system_index.rb
|
298
331
|
- lib/fontist/utils.rb
|
299
332
|
- lib/fontist/utils/cache.rb
|
300
333
|
- lib/fontist/utils/downloader.rb
|
301
334
|
- lib/fontist/utils/dsl.rb
|
335
|
+
- lib/fontist/utils/dsl/collection_font.rb
|
302
336
|
- lib/fontist/utils/dsl/font.rb
|
303
337
|
- lib/fontist/utils/exe_extractor.rb
|
304
338
|
- lib/fontist/utils/msi_extractor.rb
|
data/bin/stripttc
DELETED
Binary file
|