Skip to content

Commit eaa4702

Browse files
committed
Modernize gem.
1 parent fa19602 commit eaa4702

File tree

14 files changed

+13
-14
lines changed

14 files changed

+13
-14
lines changed

.github/workflows/test-external.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
- macos
2121

2222
ruby:
23-
- "3.0"
2423
- "3.1"
2524
- "3.2"
2625
- "3.3"

.github/workflows/test.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- macos
2222

2323
ruby:
24-
- "3.0"
2524
- "3.1"
2625
- "3.2"
2726
- "3.3"

lib/protocol/http/body/completable.rb

+1-1
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-2023, by Samuel Williams.
4+
# Copyright, 2019-2024, by Samuel Williams.
55

66
require_relative 'wrapper'
77

lib/protocol/http/body/readable.rb

+1-1
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-2023, by Samuel Williams.
4+
# Copyright, 2019-2024, by Samuel Williams.
55
# Copyright, 2023, by Bruno Sutic.
66

77
module Protocol

lib/protocol/http/body/wrapper.rb

+1-1
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-2023, by Samuel Williams.
4+
# Copyright, 2019-2024, by Samuel Williams.
55

66
require_relative 'readable'
77

lib/protocol/http/headers.rb

+1-1
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-2023, by Samuel Williams.
4+
# Copyright, 2018-2024, by Samuel Williams.
55

66
require_relative 'header/split'
77
require_relative 'header/multiple'

lib/protocol/http/request.rb

+1-1
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-2023, by Samuel Williams.
4+
# Copyright, 2019-2024, by Samuel Williams.
55

66
require_relative 'body/buffered'
77
require_relative 'body/reader'

lib/protocol/http/response.rb

+1-1
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-2023, by Samuel Williams.
4+
# Copyright, 2019-2024, by Samuel Williams.
55

66
require_relative 'body/buffered'
77
require_relative 'body/reader'

protocol-http.gemspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ Gem::Specification.new do |spec|
1717

1818
spec.metadata = {
1919
"documentation_uri" => "https://socketry.github.io/protocol-http/",
20+
"source_code_uri" => "https://github.com/socketry/protocol-http.git",
2021
}
2122

2223
spec.files = Dir.glob(['{lib}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__)
2324

24-
spec.required_ruby_version = ">= 3.0"
25+
spec.required_ruby_version = ">= 3.1"
2526
end

test/protocol/http/body/completable.rb

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

66
require 'protocol/http/body/completable'
77
require 'protocol/http/body/buffered'

test/protocol/http/body/readable.rb

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

66
require 'protocol/http/body/readable'
77

test/protocol/http/body/wrapper.rb

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

66
require 'protocol/http/body/readable'
77

test/protocol/http/request.rb

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

66
require 'protocol/http/request'
77

test/protocol/http/response.rb

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

66
require 'protocol/http/response'
77
require 'protocol/http/request'

0 commit comments

Comments
 (0)