Skip to content

Commit 26ffd54

Browse files
committed
Modernize gem.
1 parent 6b92ded commit 26ffd54

File tree

10 files changed

+20
-16
lines changed

10 files changed

+20
-16
lines changed

.github/workflows/coverage.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- macos
2222

2323
ruby:
24-
- "3.2"
24+
- "3.3"
2525

2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- uses: ruby/setup-ruby@v1
2929
with:
3030
ruby-version: ${{matrix.ruby}}
@@ -34,7 +34,7 @@ jobs:
3434
timeout-minutes: 5
3535
run: bundle exec bake test
3636

37-
- uses: actions/upload-artifact@v2
37+
- uses: actions/upload-artifact@v3
3838
with:
3939
name: coverage-${{matrix.os}}-${{matrix.ruby}}
4040
path: .covered.db
@@ -44,10 +44,10 @@ jobs:
4444
runs-on: ubuntu-latest
4545

4646
steps:
47-
- uses: actions/checkout@v3
47+
- uses: actions/checkout@v4
4848
- uses: ruby/setup-ruby@v1
4949
with:
50-
ruby-version: "3.2"
50+
ruby-version: "3.3"
5151
bundler-cache: true
5252

5353
- uses: actions/download-artifact@v3

.github/workflows/documentation.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ jobs:
2828
runs-on: ubuntu-latest
2929

3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@v4
3232

3333
- uses: ruby/setup-ruby@v1
3434
with:
35-
ruby-version: "3.2"
35+
ruby-version: "3.3"
3636
bundler-cache: true
3737

3838
- name: Installing packages
@@ -43,7 +43,7 @@ jobs:
4343
run: bundle exec bake utopia:project:static --force no
4444

4545
- name: Upload documentation artifact
46-
uses: actions/upload-pages-artifact@v1
46+
uses: actions/upload-pages-artifact@v2
4747
with:
4848
path: docs
4949

@@ -58,4 +58,4 @@ jobs:
5858
steps:
5959
- name: Deploy to GitHub Pages
6060
id: deployment
61-
uses: actions/deploy-pages@v1
61+
uses: actions/deploy-pages@v3

.github/workflows/test-external.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- "3.2"
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- uses: ruby/setup-ruby@v1
3030
with:
3131
ruby-version: ${{matrix.ruby}}

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- "3.0"
2525
- "3.1"
2626
- "3.2"
27+
- "3.3"
2728

2829
experimental: [false]
2930

@@ -39,7 +40,7 @@ jobs:
3940
experimental: true
4041

4142
steps:
42-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4344
- uses: ruby/setup-ruby@v1
4445
with:
4546
ruby-version: ${{matrix.ruby}}

lib/protocol/http1/body/chunked.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2019-2022, by Samuel Williams.
4+
# Copyright, 2019-2023, by Samuel Williams.
5+
# Copyright, 2023, by Thomas Morgan.
56

67
require 'protocol/http/body/readable'
78

lib/protocol/http1/connection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Copyright, 2019-2023, by Samuel Williams.
55
# Copyright, 2019, by Brian Morearty.
66
# Copyright, 2020, by Bruno Sutic.
7+
# Copyright, 2023, by Thomas Morgan.
78

89
require 'protocol/http/headers'
910

license.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Copyright, 2019-2023, by Samuel Williams.
44
Copyright, 2019, by Brian Morearty.
55
Copyright, 2020, by Olle Jonsson.
66
Copyright, 2020, by Bruno Sutic.
7+
Copyright, 2023, by Thomas Morgan.
78

89
Permission is hereby granted, free of charge, to any person obtaining a copy
910
of this software and associated documentation files (the "Software"), to deal

protocol-http1.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.version = Protocol::HTTP1::VERSION
88

99
spec.summary = "A low level implementation of the HTTP/1 protocol."
10-
spec.authors = ["Samuel Williams", "Brian Morearty", "Bruno Sutic", "Olle Jonsson"]
10+
spec.authors = ["Samuel Williams", "Thomas Morgan", "Brian Morearty", "Bruno Sutic", "Olle Jonsson"]
1111
spec.license = "MIT"
1212

1313
spec.cert_chain = ['release.cert']
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717

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

20-
spec.required_ruby_version = ">= 2.7.6b"
20+
spec.required_ruby_version = ">= 3.0"
2121

2222
spec.add_dependency "protocol-http", "~> 0.22"
2323
end

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ This project uses the [Developer Certificate of Origin](https://developercertifi
7575

7676
### Contributor Covenant
7777

78-
This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
78+
This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.

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

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

0 commit comments

Comments
 (0)