Skip to content

Commit 62d6bb6

Browse files
committed
Modernize code.
1 parent 7f8c526 commit 62d6bb6

12 files changed

Lines changed: 32 additions & 9 deletions

File tree

‎.github/workflows/documentation-coverage.yaml‎

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

88
env:
99
COVERAGE: PartialSummary
10+
BUNDLE_WITH: maintenance
1011

1112
jobs:
1213
validate:

‎.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-pool.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.2"
26+
spec.required_ruby_version = ">= 3.3"
2727

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

‎bake.rb‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

‎examples/overhead/connect.rb‎

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

44
# Released under the MIT License.
5-
# Copyright, 2021-2024, by Samuel Williams.
5+
# Copyright, 2021-2026, by Samuel Williams.
66

77
require "async"
88

‎gems.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
gem "bake-modernize"
1313
gem "bake-releases"
1414

15+
gem "decode"
16+
1517
gem "utopia-project"
1618
end
1719

1820
group :test do
1921
gem "sus", "~> 0.15"
2022
gem "covered"
21-
gem "decode"
22-
2323
gem "rubocop"
2424
gem "rubocop-md"
2525
gem "rubocop-socketry"

‎lib/async/pool/controller.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, 2019-2025, by Samuel Williams.
4+
# Copyright, 2019-2026, by Samuel Williams.
55
# Copyright, 2020, by Simon Perepelitsa.
66
# Copyright, 2024, by Thomas Morgan.
77
# Copyright, 2025, by Jean Boussier.

‎lib/async/pool/version.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, 2019-2025, by Samuel Williams.
4+
# Copyright, 2019-2026, by Samuel Williams.
55

66
module Async
77
module Pool

‎readme.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ We welcome contributions to this project.
2626
4. Push to the branch (`git push origin my-new-feature`).
2727
5. Create new Pull Request.
2828

29+
### Running Tests
30+
31+
To run the test suite:
32+
33+
``` shell
34+
bundle exec sus
35+
```
36+
37+
### Making Releases
38+
39+
To make a new release:
40+
41+
``` shell
42+
bundle exec bake gem:release:patch # or minor or major
43+
```
44+
2945
### Developer Certificate of Origin
3046

3147
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.

0 commit comments

Comments
 (0)