fontist 1.21.1 → 1.21.2

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: 0cc55cf30c5781a41e3ff4ff617acacb24367c3148dc6c1db104ff5a1aad8105
4
- data.tar.gz: 118207311bf22488c6adbff254fd3646d24f5b1f09f09d8eaf319489798c5002
3
+ metadata.gz: 1f3590888173d9be1196a8ca87bdefb0a8e0f4d7104f89d50bfac819d4890baf
4
+ data.tar.gz: 77dccd8e142c9f47dd1be79496d1c7d22185594ad3e0a0f927b94fc35c9f08c3
5
5
  SHA512:
6
- metadata.gz: aebf180824a2e45fc23e6d795e98fa8394e735d1a0c6f58d5ec5740ea2343e31787d9075db3060a071ce3a8dc0b193502e6b76e76fba58c345522cc47ddd4b74
7
- data.tar.gz: e411af70f8dd20ab8f7a55540fa24b5741a37813420fd14b0e3518f30a1d0a477565add1da666f6f91207ec90343ab2eabc04cd791d69a22c3c6c08c01ea639f
6
+ metadata.gz: 41d6c8bc63c8484fddd51fb3aeca3f6338a58a08b3c880a7016e15e0d43252183dd0a0e9ef743680a9010508c79bda7f4b9d17db5d7e71eae897060ab2278e3e
7
+ data.tar.gz: 8910f191f347e60de4f0cf1b1c8d68a30c934fb8e4e00880f13246f49f4f42de18024a4c22d4eadd7860b74fe102f021f902ab359c040c5cd1ce08a714c2ce5b
@@ -0,0 +1,21 @@
1
+ name: release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ next_version:
7
+ description: |
8
+ Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
9
+ Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
10
+ required: true
11
+ default: 'skip'
12
+ repository_dispatch:
13
+ types: [ do-release ]
14
+
15
+ jobs:
16
+ release:
17
+ uses: fontist/support/.github/workflows/release.yml@main
18
+ with:
19
+ next_version: ${{ github.event.inputs.next_version }}
20
+ secrets:
21
+ rubygems-api-key: ${{ secrets.FONTIST_CI_RUBYGEMS_API_KEY }}
@@ -1,8 +1,8 @@
1
1
  name: tebako-pack
2
2
 
3
3
  on:
4
- push:
5
- tags: [ 'v*' ]
4
+ repository_dispatch:
5
+ types: [ do-release ]
6
6
  workflow_dispatch:
7
7
 
8
8
  concurrency:
@@ -36,7 +36,7 @@ jobs:
36
36
  matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
37
37
 
38
38
  steps:
39
- - uses: actions/checkout@v3
39
+ - uses: actions/checkout@v4
40
40
 
41
41
  - uses: ruby/setup-ruby@v1
42
42
  with:
@@ -60,6 +60,7 @@ jobs:
60
60
 
61
61
  archlinux-test:
62
62
  name: Test on Arch Linux
63
+ needs: prepare
63
64
  runs-on: ubuntu-latest
64
65
  container:
65
66
  image: 'archlinux:latest'
@@ -67,12 +68,18 @@ jobs:
67
68
  fail-fast: false
68
69
 
69
70
  steps:
70
- - uses: actions/checkout@v3
71
-
72
71
  - name: Setup packages
73
- run: pacman -Syu --noconfirm git ruby binutils gcc autoconf make libffi
72
+ run: pacman -Syu --noconfirm git binutils gcc autoconf make libffi libyaml gmp
73
+
74
+ - uses: actions/checkout@v4
75
+
76
+ - uses: asdf-vm/actions/install@v3
77
+ with:
78
+ tool_versions: ruby ${{ needs.prepare.outputs.default-ruby-version }}
74
79
 
75
- - run: bundle install
80
+ - run: |
81
+ gem install bundler
82
+ bundle install
76
83
 
77
84
  - name: Test
78
85
  run: bundle exec rspec --tag ~dev
@@ -84,14 +91,14 @@ jobs:
84
91
  needs: prepare
85
92
  if: needs.prepare.outputs.push-for-tag != 'true'
86
93
 
87
- continue-on-error: true # ${{ matrix.ruby.experimental || matrix.os == 'windows-latest' }} # workaround https://github.com/metanorma/metanorma/issues/288
94
+ continue-on-error: ${{ matrix.ruby.experimental }}
88
95
  strategy:
89
96
  fail-fast: false
90
97
  max-parallel: 5
91
98
  matrix: ${{ fromJson(needs.prepare.outputs.matrix) }}
92
99
 
93
100
  steps:
94
- - uses: actions/checkout@v3
101
+ - uses: actions/checkout@v4
95
102
  with:
96
103
  repository: metanorma/metanorma
97
104
 
@@ -118,14 +125,12 @@ jobs:
118
125
  runs-on: ubuntu-latest
119
126
  if: contains(github.ref, 'refs/tags/v')
120
127
  steps:
121
- - uses: actions/checkout@v3
122
-
123
- - uses: ruby/setup-ruby@v1
124
- with:
125
- ruby-version: 3.1
126
- bundler-cache: true
128
+ - uses: actions/checkout@v4
127
129
 
128
- - uses: actions-mn/gem-release@main
130
+ - name: Repository ready for release
131
+ uses: peter-evans/repository-dispatch@v3
129
132
  with:
130
- api-key: ${{ secrets.FONTIST_CI_RUBYGEMS_API_KEY }}
131
- release-command: bundle exec rake release
133
+ token: ${{ secrets.FONTIST_CI_PAT_TOKEN }}
134
+ repository: ${{ github.repository }}
135
+ event-type: do-release
136
+ client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "type": "do-release"}'
data/fontist.gemspec CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.add_runtime_dependency "nokogiri", "~> 1.0"
37
37
  spec.add_runtime_dependency "mime-types", "~> 3.0"
38
38
  spec.add_runtime_dependency "sys-uname", "~> 1.2"
39
- spec.add_runtime_dependency "thor", "~> 1.2.1"
39
+ spec.add_runtime_dependency "thor", "~> 1.2", ">= 1.2.1"
40
40
  spec.add_runtime_dependency "git", "~> 1.0"
41
41
  spec.add_runtime_dependency "ttfunk", "~> 1.6"
42
42
  spec.add_runtime_dependency "plist", "~> 3.0"
@@ -1,3 +1,3 @@
1
1
  module Fontist
2
- VERSION = "1.21.1".freeze
2
+ VERSION = "1.21.2".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.21.1
4
+ version: 1.21.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: 2024-05-31 00:00:00.000000000 Z
11
+ date: 2024-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: down
@@ -113,6 +113,9 @@ dependencies:
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.2'
118
+ - - ">="
116
119
  - !ruby/object:Gem::Version
117
120
  version: 1.2.1
118
121
  type: :runtime
@@ -120,6 +123,9 @@ dependencies:
120
123
  version_requirements: !ruby/object:Gem::Requirement
121
124
  requirements:
122
125
  - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: '1.2'
128
+ - - ">="
123
129
  - !ruby/object:Gem::Version
124
130
  version: 1.2.1
125
131
  - !ruby/object:Gem::Dependency
@@ -347,6 +353,7 @@ extensions: []
347
353
  extra_rdoc_files: []
348
354
  files:
349
355
  - ".github/workflows/deploy-pages.yml"
356
+ - ".github/workflows/release.yml"
350
357
  - ".github/workflows/tebako-pack.yml"
351
358
  - ".github/workflows/test-and-release.yml"
352
359
  - ".gitignore"