Skip to content

Commit 821ec14

Browse files
committed
Modernize code.
1 parent 633f196 commit 821ec14

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/test-external.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- macos
1818

1919
ruby:
20-
- "3.2"
2120
- "3.3"
2221
- "3.4"
2322
- "4.0"

.github/workflows/test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
- macos
1919

2020
ruby:
21-
- "3.2"
2221
- "3.3"
2322
- "3.4"
2423
- "4.0"

async-service.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
2424

2525
spec.executables = ["async-service"]
2626

27-
spec.required_ruby_version = ">= 3.2"
27+
spec.required_ruby_version = ">= 3.3"
2828

2929
spec.add_dependency "async"
3030
spec.add_dependency "async-container", "~> 0.34"

bake.rb

Lines changed: 8 additions & 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, 2025, by Samuel Williams.
4+
# Copyright, 2025-2026, by Samuel Williams.
55

66
# Update the project documentation with the new version number.
77
#
@@ -10,3 +10,10 @@ def after_gem_release_version_increment(version)
1010
context["releases:update"].call(version)
1111
context["utopia:project:update"].call
1212
end
13+
14+
# Create a GitHub release for the given tag.
15+
#
16+
# @parameter tag [String] The tag to create a release for.
17+
def after_gem_release(tag:, **options)
18+
context["releases:github:release"].call(tag)
19+
end

test/async/service/policy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def success_status.success?; true; end
163163
it "only stops container once when multiple children fail simultaneously" do
164164
container = Async::Container.best_container_class.new(policy: policy)
165165
expect(container).to receive(:stop)
166-
166+
167167
# Spawn 10 children that all fail immediately:
168168
10.times do |i|
169169
container.spawn(name: "worker-#{i}") do |instance|

0 commit comments

Comments
 (0)