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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0abf896ec5729e97a87970e63ada78682dfcf659275db957a61ee7330dc0330a
4
- data.tar.gz: c9318ca81a41ea2431ab31fa99c19c75ca5b37664afb2e622865ff0ad9696131
3
+ metadata.gz: 9061a709e73b5612e94dfb837e10408cacd2d9ad1726b2d772c0b78de6daad02
4
+ data.tar.gz: fed88c613b73470fce728338c77f98b7901614ffbf1b2863a6da66c0c873f169
5
5
  SHA512:
6
- metadata.gz: 4f2d4ccfda0cca24dd812bc4f7a2146f0a6a98ab9d8296743f9a79e67fae4b362d283862bf3b79167a90469ea8d4114bd45cceeb10b63f0e4ea6ffdae5c686a6
7
- data.tar.gz: 9d024da7976bb5cf3a14ad46869b623ba0c74f2d53b6b12b9abb17cc2958e9cb7885fc2a3234cba371771192c7d902214c2a001453b0f32be837583bc342526f
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.6', '2.7', '3.0' ]
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@master
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
@@ -20,3 +20,6 @@ Gemfile.lock
20
20
 
21
21
  # remote file cache
22
22
  .rubocop-*
23
+
24
+ # VS Code
25
+ .vscode
data/README.adoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Fontist
2
2
 
3
- image:https://github.com/fontist/fontist/actions/workflows/rspec.yml/badge.svg["Build Status", link="https://github.com/fontist/fontist/actions/workflows/rspec.yml"]
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.2"
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
@@ -1,3 +1,3 @@
1
1
  module Fontist
2
- VERSION = "1.14.2".freeze
2
+ VERSION = "1.14.3".freeze
3
3
  end
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.2
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-04-29 00:00:00.000000000 Z
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: '0.1'
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: '0.1'
152
+ version: 0.3.1
153
153
  - !ruby/object:Gem::Dependency
154
- name: pry
154
+ name: socksify
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
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: '0'
166
+ version: '1.7'
167
167
  - !ruby/object:Gem::Dependency
168
- name: bundler
168
+ name: pry
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '2.0'
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: '2.0'
180
+ version: '0.14'
181
181
  - !ruby/object:Gem::Dependency
182
- name: gem-release
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.2
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.2
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: '0'
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: '0'
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: '0'
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: '0'
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.0.3.1
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
@@ -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