Skip to content

Commit 71f4b15

Browse files
committed
Modernize code.
1 parent d3ba26c commit 71f4b15

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/async/http/protocol/http2/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, 2018-2025, by Samuel Williams.
4+
# Copyright, 2018-2026, by Samuel Williams.
55
# Copyright, 2020, by Bruno Sutic.
66
# Copyright, 2025, by Jean Boussier.
77

lib/async/http/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, 2017-2025, by Samuel Williams.
4+
# Copyright, 2017-2026, by Samuel Williams.
55

66
module Async
77
module HTTP

test/async/http/body/pipe.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Released under the MIT License.
44
# Copyright, 2020, by Bruno Sutic.
5-
# Copyright, 2020-2025, by Samuel Williams.
5+
# Copyright, 2020-2026, by Samuel Williams.
66

77
require "async"
88
require "async/http/body/pipe"
@@ -57,12 +57,12 @@ def before
5757
with "reactor going out of scope" do
5858
it "finishes" do
5959
# ensures pipe background tasks are transient
60-
Async{pipe}
60+
Async {pipe}
6161
end
6262

6363
with "closed pipe" do
6464
it "finishes" do
65-
Async{pipe.close}
65+
Async {pipe.close}
6666
end
6767
end
6868
end

0 commit comments

Comments
 (0)