fontist 1.14.2 → 1.14.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/metanorma.yml +6 -2
- data/.github/workflows/test-and-release.yml +55 -0
- data/.gitignore +3 -0
- data/README.adoc +1 -1
- data/fontist.gemspec +6 -8
- data/lib/fontist/version.rb +1 -1
- metadata +32 -47
- data/.github/workflows/release.yml +0 -38
- data/.github/workflows/rspec.yml +0 -47
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9061a709e73b5612e94dfb837e10408cacd2d9ad1726b2d772c0b78de6daad02
|
4
|
+
data.tar.gz: fed88c613b73470fce728338c77f98b7901614ffbf1b2863a6da66c0c873f169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d93f552671890e67120fb622b8805b2e14822d043c1b0fa9d560264564fdee25e66c2f5bfb628ce273ac2e7f970165486715bfc8de741f3131e3e937ed6f955d
|
7
|
+
data.tar.gz: 1206ffb6a85f80d363693bcb728440e1e6f64a16b30ec8cdf47de99e07d6148148ac3e954ca3e7d5def43c51af4897f36039eb8065184cc5056ec8d85e696e25
|
@@ -5,6 +5,10 @@ on:
|
|
5
5
|
branches: [ main ]
|
6
6
|
pull_request:
|
7
7
|
|
8
|
+
concurrency:
|
9
|
+
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
|
10
|
+
cancel-in-progress: true
|
11
|
+
|
8
12
|
jobs:
|
9
13
|
test:
|
10
14
|
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
@@ -13,11 +17,11 @@ jobs:
|
|
13
17
|
strategy:
|
14
18
|
fail-fast: false
|
15
19
|
matrix:
|
16
|
-
ruby: [ '2.
|
20
|
+
ruby: [ '2.7', '3.0', '3.1' ]
|
17
21
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
18
22
|
experimental: [ true ]
|
19
23
|
steps:
|
20
|
-
- uses: actions/checkout@
|
24
|
+
- uses: actions/checkout@v3
|
21
25
|
with:
|
22
26
|
repository: metanorma/metanorma
|
23
27
|
|
@@ -0,0 +1,55 @@
|
|
1
|
+
name: test-and-release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main ]
|
6
|
+
tags: [ 'v*' ]
|
7
|
+
pull_request:
|
8
|
+
|
9
|
+
concurrency:
|
10
|
+
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
|
11
|
+
cancel-in-progress: true
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
test:
|
15
|
+
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
16
|
+
runs-on: ${{ matrix.os }}
|
17
|
+
continue-on-error: ${{ contains(matrix.os, 'ubuntu') || matrix.ruby == '3.1' }}
|
18
|
+
strategy:
|
19
|
+
fail-fast: false
|
20
|
+
matrix:
|
21
|
+
ruby: [ '2.6', '2.7', '3.0', '3.1' ]
|
22
|
+
os: [ ubuntu-18.04, ubuntu-latest, windows-latest, macos-latest ]
|
23
|
+
|
24
|
+
steps:
|
25
|
+
- uses: actions/checkout@v3
|
26
|
+
|
27
|
+
- uses: ruby/setup-ruby@v1
|
28
|
+
with:
|
29
|
+
ruby-version: ${{ matrix.ruby }}
|
30
|
+
bundler-cache: true
|
31
|
+
|
32
|
+
- if: matrix.os == 'macos-latest'
|
33
|
+
run: brew install lcdf-typetools
|
34
|
+
|
35
|
+
- if: matrix.os == 'macos-latest'
|
36
|
+
run: bundle exec rspec
|
37
|
+
env:
|
38
|
+
TEST_ENV: CI
|
39
|
+
|
40
|
+
- if: matrix.os != 'macos-latest'
|
41
|
+
run: bundle exec rspec --tag ~dev
|
42
|
+
env:
|
43
|
+
TEST_ENV: CI
|
44
|
+
|
45
|
+
release:
|
46
|
+
name: Release gem
|
47
|
+
needs: test
|
48
|
+
runs-on: ubuntu-latest
|
49
|
+
if: contains(github.ref, 'refs/tags/v')
|
50
|
+
steps:
|
51
|
+
- uses: actions/checkout@v3
|
52
|
+
|
53
|
+
- uses: cadwallion/publish-rubygems-action@master
|
54
|
+
env:
|
55
|
+
RUBYGEMS_API_KEY: ${{secrets.FONTIST_CI_RUBYGEMS_API_KEY}}
|
data/.gitignore
CHANGED
data/README.adoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Fontist
|
2
2
|
|
3
|
-
image:https://github.com/fontist/fontist/actions/workflows/
|
3
|
+
image:https://github.com/fontist/fontist/actions/workflows/test-and-release.yml/badge.svg["Build Status", link="https://github.com/fontist/fontist/actions/workflows/test-and-release.yml"]
|
4
4
|
image:https://img.shields.io/gem/v/fontist.svg["Gem Version", link="https://rubygems.org/gems/fontist"]
|
5
5
|
image:https://img.shields.io/github/issues-pr-raw/fontist/fontist.svg["Pull Requests", link="https://github.com/fontist/fontist/pulls"]
|
6
6
|
|
data/fontist.gemspec
CHANGED
@@ -36,17 +36,15 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_runtime_dependency "git", "~> 1.0"
|
37
37
|
spec.add_runtime_dependency "ttfunk", "~> 1.6"
|
38
38
|
spec.add_runtime_dependency "plist", "~> 3.0"
|
39
|
-
spec.add_runtime_dependency "excavate", "~> 0.1"
|
39
|
+
spec.add_runtime_dependency "excavate", "~> 0.3.1"
|
40
|
+
spec.add_runtime_dependency "socksify", "~> 1.7"
|
40
41
|
|
41
|
-
spec.add_development_dependency "pry"
|
42
|
+
spec.add_development_dependency "pry", "~> 0.14"
|
42
43
|
spec.add_development_dependency "bundler", "~> 2.0"
|
43
|
-
spec.add_development_dependency "gem-release"
|
44
44
|
spec.add_development_dependency "rake", "~> 13"
|
45
45
|
spec.add_development_dependency "rspec", "~> 3.0"
|
46
46
|
spec.add_development_dependency "rspec-benchmark", "~> 0.6"
|
47
|
-
spec.add_development_dependency "rubocop", "1.5
|
48
|
-
spec.add_development_dependency "rubocop-rails"
|
49
|
-
spec.add_development_dependency "rubocop-performance"
|
50
|
-
|
51
|
-
spec.add_runtime_dependency "socksify"
|
47
|
+
spec.add_development_dependency "rubocop", "~> 1.5"
|
48
|
+
spec.add_development_dependency "rubocop-rails", "~> 2.9"
|
49
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.10"
|
52
50
|
end
|
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.3
|
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-
|
11
|
+
date: 2022-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: down
|
@@ -142,56 +142,56 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
145
|
+
version: 0.3.1
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
152
|
+
version: 0.3.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: socksify
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
160
|
-
type: :
|
159
|
+
version: '1.7'
|
160
|
+
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
166
|
+
version: '1.7'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: pry
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
173
|
+
version: '0.14'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
180
|
+
version: '0.14'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: bundler
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - "
|
185
|
+
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
187
|
+
version: '2.0'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - "
|
192
|
+
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
194
|
+
version: '2.0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: rake
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,58 +238,44 @@ dependencies:
|
|
238
238
|
name: rubocop
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- -
|
241
|
+
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 1.5
|
243
|
+
version: '1.5'
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- -
|
248
|
+
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 1.5
|
250
|
+
version: '1.5'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: rubocop-rails
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
|
-
- - "
|
255
|
+
- - "~>"
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version: '
|
257
|
+
version: '2.9'
|
258
258
|
type: :development
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- - "
|
262
|
+
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
264
|
+
version: '2.9'
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: rubocop-performance
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
|
-
- - "
|
269
|
+
- - "~>"
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: '
|
271
|
+
version: '1.10'
|
272
272
|
type: :development
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
|
-
- - "
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: '0'
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: socksify
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - ">="
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '0'
|
286
|
-
type: :runtime
|
287
|
-
prerelease: false
|
288
|
-
version_requirements: !ruby/object:Gem::Requirement
|
289
|
-
requirements:
|
290
|
-
- - ">="
|
276
|
+
- - "~>"
|
291
277
|
- !ruby/object:Gem::Version
|
292
|
-
version: '
|
278
|
+
version: '1.10'
|
293
279
|
description: Install openly-licensed fonts on Windows, Linux and Mac!
|
294
280
|
email:
|
295
281
|
- open.source@ribose.com
|
@@ -299,8 +285,7 @@ extensions: []
|
|
299
285
|
extra_rdoc_files: []
|
300
286
|
files:
|
301
287
|
- ".github/workflows/metanorma.yml"
|
302
|
-
- ".github/workflows/release.yml"
|
303
|
-
- ".github/workflows/rspec.yml"
|
288
|
+
- ".github/workflows/test-and-release.yml"
|
304
289
|
- ".gitignore"
|
305
290
|
- ".hound.yml"
|
306
291
|
- ".rspec"
|
@@ -398,7 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
398
383
|
- !ruby/object:Gem::Version
|
399
384
|
version: '0'
|
400
385
|
requirements: []
|
401
|
-
rubygems_version: 3.
|
386
|
+
rubygems_version: 3.3.7
|
402
387
|
signing_key:
|
403
388
|
specification_version: 4
|
404
389
|
summary: Install openly-licensed fonts on Windows, Linux and Mac!
|
@@ -1,38 +0,0 @@
|
|
1
|
-
name: release
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
tags:
|
6
|
-
- 'v*'
|
7
|
-
|
8
|
-
jobs:
|
9
|
-
release:
|
10
|
-
runs-on: ubuntu-18.04
|
11
|
-
steps:
|
12
|
-
- uses: actions/checkout@v1
|
13
|
-
|
14
|
-
- uses: ruby/setup-ruby@v1
|
15
|
-
with:
|
16
|
-
ruby-version: '2.6'
|
17
|
-
|
18
|
-
- run: bundle config set path 'vendor/bundle'
|
19
|
-
|
20
|
-
- run: bundle install --jobs 4 --retry 3
|
21
|
-
|
22
|
-
- run: bundle exec rspec --tag ~dev
|
23
|
-
env:
|
24
|
-
TEST_ENV: CI
|
25
|
-
|
26
|
-
- name: Publish to rubygems.org
|
27
|
-
env:
|
28
|
-
RUBYGEMS_API_KEY: ${{secrets.FONTIST_CI_RUBYGEMS_API_KEY}}
|
29
|
-
run: |
|
30
|
-
gem install gem-release
|
31
|
-
touch ~/.gem/credentials
|
32
|
-
cat > ~/.gem/credentials << EOF
|
33
|
-
---
|
34
|
-
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
35
|
-
EOF
|
36
|
-
chmod 0600 ~/.gem/credentials
|
37
|
-
git status
|
38
|
-
gem release
|
data/.github/workflows/rspec.yml
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
name: rspec
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ main ]
|
6
|
-
pull_request:
|
7
|
-
|
8
|
-
jobs:
|
9
|
-
build:
|
10
|
-
name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
|
11
|
-
runs-on: ${{ matrix.os }}
|
12
|
-
continue-on-error: ${{ matrix.experimental }}
|
13
|
-
strategy:
|
14
|
-
fail-fast: false
|
15
|
-
matrix:
|
16
|
-
ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ]
|
17
|
-
os: [ ubuntu-18.04, ubuntu-latest, windows-latest, macos-latest ]
|
18
|
-
experimental: [ false ]
|
19
|
-
|
20
|
-
steps:
|
21
|
-
- uses: actions/checkout@master
|
22
|
-
|
23
|
-
- uses: ruby/setup-ruby@v1
|
24
|
-
with:
|
25
|
-
ruby-version: ${{ matrix.ruby }}
|
26
|
-
bundler-cache: true
|
27
|
-
|
28
|
-
- if: matrix.os == 'macos-latest'
|
29
|
-
run: brew install lcdf-typetools
|
30
|
-
|
31
|
-
- if: matrix.os == 'macos-latest'
|
32
|
-
run: bundle exec rspec
|
33
|
-
env:
|
34
|
-
TEST_ENV: CI
|
35
|
-
|
36
|
-
- if: matrix.os == 'windows-latest' && matrix.ruby == '2.4'
|
37
|
-
run: curl -O https://curl.se/ca/cacert.pem
|
38
|
-
|
39
|
-
- if: matrix.os == 'windows-latest' && matrix.ruby == '2.4'
|
40
|
-
run: bundle exec rspec --tag ~dev
|
41
|
-
env:
|
42
|
-
SSL_CERT_FILE: cacert.pem
|
43
|
-
|
44
|
-
- if: matrix.os != 'macos-latest' || matrix.os == 'windows-latest' && matrix.ruby == '2.4'
|
45
|
-
run: bundle exec rspec --tag ~dev
|
46
|
-
env:
|
47
|
-
TEST_ENV: CI
|