Skip to content

Commit d2fd247

Browse files
committed
Modernize code.
1 parent 7ddfa2b commit d2fd247

9 files changed

Lines changed: 14 additions & 9 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, 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

lib/protocol/http1/connection.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, 2019, by Brian Morearty.
66
# Copyright, 2020, by Bruno Sutic.
77
# Copyright, 2023-2024, by Thomas Morgan.

lib/protocol/http1/error.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/http/error"
77

lib/protocol/http1/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 Protocol
77
module HTTP1

protocol-http1.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-http", "~> 0.58"
2828
end

test/protocol/http1/connection/headers.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, 2025, by Samuel Williams.
4+
# Copyright, 2025-2026, by Samuel Williams.
55

66
require "protocol/http1/connection"
77
require "connection_context"

test/protocol/http1/trailer.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-2026, by Samuel Williams.
55

66
require "protocol/http1/connection"
77
require "protocol/http/body/buffered"

0 commit comments

Comments
 (0)