fontist 1.14.1 → 1.14.2
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/metanorma.yml +9 -1
- data/lib/fontist/import/google/new_fonts_fetcher.rb +4 -0
- 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: 0abf896ec5729e97a87970e63ada78682dfcf659275db957a61ee7330dc0330a
|
|
4
|
+
data.tar.gz: c9318ca81a41ea2431ab31fa99c19c75ca5b37664afb2e622865ff0ad9696131
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4f2d4ccfda0cca24dd812bc4f7a2146f0a6a98ab9d8296743f9a79e67fae4b362d283862bf3b79167a90469ea8d4114bd45cceeb10b63f0e4ea6ffdae5c686a6
|
|
7
|
+
data.tar.gz: 9d024da7976bb5cf3a14ad46869b623ba0c74f2d53b6b12b9abb17cc2958e9cb7885fc2a3234cba371771192c7d902214c2a001453b0f32be837583bc342526f
|
|
@@ -27,7 +27,15 @@ jobs:
|
|
|
27
27
|
|
|
28
28
|
- run: 'echo ''gem "fontist", path: "./fontist"'' > Gemfile.devel'
|
|
29
29
|
|
|
30
|
-
-
|
|
30
|
+
- if: matrix.ruby == '3.0'
|
|
31
|
+
uses: ruby/setup-ruby@v1
|
|
32
|
+
with:
|
|
33
|
+
ruby-version: ${{ matrix.ruby }}
|
|
34
|
+
bundler-cache: true
|
|
35
|
+
rubygems: latest
|
|
36
|
+
|
|
37
|
+
- if: matrix.ruby != '3.0'
|
|
38
|
+
uses: ruby/setup-ruby@v1
|
|
31
39
|
with:
|
|
32
40
|
ruby-version: ${{ matrix.ruby }}
|
|
33
41
|
bundler-cache: true
|
|
@@ -121,6 +121,10 @@ module Fontist
|
|
|
121
121
|
Down.open("https://fonts.google.com/download?family=#{name}")
|
|
122
122
|
true
|
|
123
123
|
rescue Down::NotFound
|
|
124
|
+
false
|
|
125
|
+
rescue Down::ClientError => e
|
|
126
|
+
raise unless e.message == "403 Forbidden"
|
|
127
|
+
|
|
124
128
|
false
|
|
125
129
|
rescue Down::TimeoutError
|
|
126
130
|
retry unless retries >= 3
|
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.2
|
|
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-04-
|
|
11
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: down
|