Skip to content

Commit 17f7b3b

Browse files
committed
Modernize code.
1 parent e623bb2 commit 17f7b3b

9 files changed

Lines changed: 29 additions & 8 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"

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, 2024-2025, by Samuel Williams.
4+
# Copyright, 2024-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

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, 2023-2025, by Samuel Williams.
4+
# Copyright, 2023-2026, by Samuel Williams.
55

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

gems.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
source "https://rubygems.org"
77

lib/protocol/http2/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
# @namespace
77
module Protocol

protocol-http2.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(["{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 "protocol-hpack", "~> 1.4"
2828
spec.add_dependency "protocol-http", "~> 0.47"

readme.md

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

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

8197
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.

test/protocol/http2/continuation_frame.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
require "protocol/http2/continuation_frame"
77
require "protocol/http2/a_frame"

0 commit comments

Comments
 (0)