Skip to content

Commit 3057c9c

Browse files
committed
Modernize code.
1 parent 0a3cfd6 commit 3057c9c

File tree

5 files changed

+24
-3
lines changed

5 files changed

+24
-3
lines changed

.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-http.gemspec

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

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

25-
spec.required_ruby_version = ">= 3.2"
25+
spec.required_ruby_version = ">= 3.3"
2626

2727
spec.add_dependency "async", ">= 2.10.2"
2828
spec.add_dependency "async-pool", "~> 0.11"

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

readme.md

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

77+
### Running Tests
78+
79+
To run the test suite:
80+
81+
``` shell
82+
bundle exec sus
83+
```
84+
85+
### Making Releases
86+
87+
To make a new release:
88+
89+
``` shell
90+
bundle exec bake gem:release:patch # or minor or major
91+
```
92+
7793
### Developer Certificate of Origin
7894

7995
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)