Skip to content

Commit 5d30423

Browse files
committed
Modernize code.
1 parent 26d5cb9 commit 5d30423

File tree

17 files changed

+50
-18
lines changed

17 files changed

+50
-18
lines changed

.github/workflows/documentation-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: "3.3"
20+
ruby-version: "3.4"
2121
bundler-cache: true
2222

2323
- name: Validate coverage

.github/workflows/documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- uses: ruby/setup-ruby@v1
3131
with:
32-
ruby-version: "3.3"
32+
ruby-version: "3.4"
3333
bundler-cache: true
3434

3535
- name: Installing packages

.github/workflows/test-coverage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- macos
2222

2323
ruby:
24-
- "3.3"
24+
- "3.4"
2525

2626
steps:
2727
- uses: actions/checkout@v4
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@v4
5050
- uses: ruby/setup-ruby@v1
5151
with:
52-
ruby-version: "3.3"
52+
ruby-version: "3.4"
5353
bundler-cache: true
5454

5555
- uses: actions/download-artifact@v4

.github/workflows/test-external.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- macos
2121

2222
ruby:
23-
- "3.1"
2423
- "3.2"
2524
- "3.3"
25+
- "3.4"
2626

2727
steps:
2828
- uses: actions/checkout@v4

.github/workflows/test.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ permissions:
77

88
env:
99
CONSOLE_OUTPUT: XTerm
10-
TRACES_BACKEND: traces/backend/test
11-
METRICS_BACKEND: metrics/backend/test
1210

1311
jobs:
1412
test:
@@ -23,9 +21,9 @@ jobs:
2321
- macos
2422

2523
ruby:
26-
- "3.1"
2724
- "3.2"
2825
- "3.3"
26+
- "3.4"
2927

3028
experimental: [false]
3129

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
/.bundle/
2-
/pkg/
1+
/.bundle
2+
/pkg
33
/gems.locked
44
/.covered.db
55
/external

.rubocop.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ Layout/EmptyLinesAroundClassBody:
4545
Layout/EmptyLinesAroundModuleBody:
4646
Enabled: true
4747

48+
Layout/EmptyLineAfterMagicComment:
49+
Enabled: true
50+
51+
Layout/SpaceInsideBlockBraces:
52+
Enabled: true
53+
EnforcedStyle: no_space
54+
SpaceBeforeBlockParameters: false
55+
56+
Layout/SpaceAroundBlockParameters:
57+
Enabled: true
58+
EnforcedStyleInsidePipes: no_space
59+
4860
Style/FrozenStringLiteralComment:
4961
Enabled: true
5062

async-pool.gemspec

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

99
spec.summary = "A singleplex and multiplex resource pool for implementing robust clients."
10-
spec.authors = ["Samuel Williams", "Olle Jonsson", "Simon Perepelitsa", "Thomas Morgan"]
10+
spec.authors = ["Samuel Williams", "Jean Boussier", "Olle Jonsson", "Simon Perepelitsa", "Thomas Morgan"]
1111
spec.license = "MIT"
1212

1313
spec.cert_chain = ["release.cert"]
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323

2424
spec.files = Dir.glob(["{lib}/**/*", "*.md"], File::FNM_DOTMATCH, base: __dir__)
2525

26-
spec.required_ruby_version = ">= 3.1"
26+
spec.required_ruby_version = ">= 3.2"
2727

2828
spec.add_dependency "async", ">= 1.25"
2929
end

bake.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2025, by Samuel Williams.
5+
6+
# Update the project documentation with the new version number.
7+
#
8+
# @parameter version [String] The new version number.
9+
def after_gem_release_version_increment(version)
10+
context["releases:update"].call(version)
11+
context["utopia:project:readme:update"].call
12+
end

config/sus.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2022-2024, by Samuel Williams.
4+
# Copyright, 2022-2025, by Samuel Williams.
55

66
require "covered/sus"
77
include Covered::Sus

0 commit comments

Comments
 (0)