Skip to content

Commit 8c7a84f

Browse files
committed
Modernize gem.
1 parent 333cae6 commit 8c7a84f

File tree

6 files changed

+49
-18
lines changed

6 files changed

+49
-18
lines changed

.github/workflows/development.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,37 @@ jobs:
77
name: ${{matrix.ruby}} on ${{matrix.os}}
88
runs-on: ${{matrix.os}}-latest
99
continue-on-error: ${{matrix.experimental}}
10-
10+
1111
strategy:
1212
matrix:
1313
os:
1414
- ubuntu
1515
- macos
16-
16+
1717
ruby:
18-
- "3.1.1"
19-
18+
- "3.1"
19+
2020
experimental: [false]
2121
env: [""]
22-
22+
2323
include:
2424
- os: ubuntu
2525
ruby: truffleruby
2626
experimental: true
2727
- os: ubuntu
2828
ruby: jruby
29-
env: JRUBY_OPTS="--debug -X+O"
3029
experimental: true
3130
- os: ubuntu
3231
ruby: head
3332
experimental: true
34-
33+
3534
steps:
3635
- uses: actions/checkout@v2
3736
- uses: ruby/setup-ruby@v1
3837
with:
3938
ruby-version: ${{matrix.ruby}}
4039
bundler-cache: true
41-
40+
4241
- name: Run tests
4342
timeout-minutes: 5
4443
run: ${{matrix.env}} bundle exec rspec

.github/workflows/documentation.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
17+
1718
- uses: ruby/setup-ruby@v1
1819
with:
1920
ruby-version: 3.1
@@ -22,12 +23,12 @@ jobs:
2223
- name: Installing packages
2324
run: sudo apt-get install wget
2425

26+
- name: Prepare GitHub Pages
27+
run: bundle exec bake github:pages:prepare --directory docs
28+
2529
- name: Generate documentation
2630
timeout-minutes: 5
27-
run: bundle exec bake utopia:project:static
31+
run: bundle exec bake utopia:project:static --force no
2832

29-
- name: Deploy documentation
30-
uses: JamesIves/[email protected]
31-
with:
32-
branch: docs
33-
folder: docs
33+
- name: Deploy GitHub Pages
34+
run: bundle exec bake github:pages:commit --directory docs

.github/workflows/external.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- ubuntu
1414

1515
ruby:
16-
- "3.1.1"
16+
- "3.1.2"
1717
- "head"
1818

1919
steps:

async.gemspec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ Gem::Specification.new do |spec|
77
spec.version = Async::VERSION
88

99
spec.summary = "A concurrency framework for Ruby."
10-
spec.authors = ["Samuel Williams", "Devin Christensen", "Bruno Sutic", "Jeremy Jung", "Kent Gruber", "jeremyjung", "Brian Morearty", "Jiang Jinyang", "Julien Portalier", "Olle Jonsson", "Patrik Wenger", "Ryan Musgrave", "Salim Semaoune", "Shannon Skipper", "Sokolov Yura aka funny_falcon", "Stefan Wrobel", "jasl", "muryoimpl"]
10+
spec.authors = ["Samuel Williams", "Bruno Sutic", "Devin Christensen", "Jeremy Jung", "Kent Gruber", "jeremyjung", "Brian Morearty", "Jiang Jinyang", "Julien Portalier", "Olle Jonsson", "Patrik Wenger", "Ryan Musgrave", "Salim Semaoune", "Shannon Skipper", "Sokolov Yura aka funny_falcon", "Stefan Wrobel", "jasl", "muryoimpl"]
1111
spec.license = "MIT"
1212

13+
spec.cert_chain = ['release.cert']
14+
spec.signing_key = File.expand_path('~/.gem/release.pem')
15+
1316
spec.homepage = "https://github.com/socketry/async"
1417

15-
spec.files = Dir.glob('{lib}/**/*.rb', File::FNM_DOTMATCH, base: __dir__)
18+
spec.files = Dir.glob('{lib}/**/*', File::FNM_DOTMATCH, base: __dir__)
1619

1720
spec.required_ruby_version = ">= 3.1.1"
1821

gems.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
gem "bake-gem"
1212
gem "bake-modernize"
1313

14+
gem "bake-github-pages"
1415
gem "utopia-project"
1516
end
1617

release.cert

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
-----BEGIN CERTIFICATE-----
2+
MIIEhDCCAuygAwIBAgIBATANBgkqhkiG9w0BAQsFADA3MTUwMwYDVQQDDCxzYW11
3+
ZWwud2lsbGlhbXMvREM9b3Jpb250cmFuc2Zlci9EQz1jby9EQz1uejAeFw0yMTA4
4+
MTYwNjMzNDRaFw0yMjA4MTYwNjMzNDRaMDcxNTAzBgNVBAMMLHNhbXVlbC53aWxs
5+
aWFtcy9EQz1vcmlvbnRyYW5zZmVyL0RDPWNvL0RDPW56MIIBojANBgkqhkiG9w0B
6+
AQEFAAOCAY8AMIIBigKCAYEAyXLSS/cw+fXJ5e7hi+U/TeChPWeYdwJojDsFY1xr
7+
xvtqbTTL8gbLHz5LW3QD2nfwCv3qTlw0qI3Ie7a9VMJMbSvgVEGEfQirqIgJXWMj
8+
eNMDgKsMJtC7u/43abRKx7TCURW3iWyR19NRngsJJmaR51yGGGm2Kfsr+JtKKLtL
9+
L188Wm3f13KAx7QJU8qyuBnj1/gWem076hzdA7xi1DbrZrch9GCRz62xymJlrJHn
10+
9iZEZ7AxrS7vokhMlzSr/XMUihx/8aFKtk+tMLClqxZSmBWIErWdicCGTULXCBNb
11+
E/mljo4zEVKhlTWpJklMIhr55ZRrSarKFuW7en0+tpJrfsYiAmXMJNi4XAYJH7uL
12+
rgJuJwSaa/dMz+VmUoo7VKtSfCoOI+6v5/z0sK3oT6sG6ZwyI47DBq2XqNC6tnAj
13+
w+XmCywiTQrFzMMAvcA7rPI4F0nU1rZId51rOvvfxaONp+wgTi4P8owZLw0/j0m4
14+
8C20DYi6EYx4AHDXiLpElWh3AgMBAAGjgZowgZcwCQYDVR0TBAIwADALBgNVHQ8E
15+
BAMCBLAwHQYDVR0OBBYEFB6ZaeWKxQjGTI+pmz7cKRmMIywwMC4GA1UdEQQnMCWB
16+
I3NhbXVlbC53aWxsaWFtc0BvcmlvbnRyYW5zZmVyLmNvL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