Skip to content

Commit 46f895b

Browse files
authored
Modernize gem. (#35)
1 parent d9533e6 commit 46f895b

File tree

12 files changed

+23
-152
lines changed

12 files changed

+23
-152
lines changed

conduct.md

Lines changed: 0 additions & 133 deletions
This file was deleted.

gems.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
end
1717

1818
group :test do
19-
gem "sus", "~> 0.16"
19+
gem "covered"
20+
gem "sus"
21+
2022
gem "bake-test"
2123
gem "bake-test-external"
22-
23-
gem "covered"
2424
end

protocol-http.gemspec

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,5 @@ 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.5"
21-
22-
spec.add_development_dependency "bundler"
23-
spec.add_development_dependency "covered"
24-
spec.add_development_dependency "sus"
20+
spec.required_ruby_version = ">= 2.7.6"
2521
end

readme.md

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

33
Provides abstractions for working with the HTTP protocol.
44

5-
[![Development
6-
Status](https://github.com/socketry/protocol-http/workflows/Test/badge.svg)](https://github.com/socketry/protocol-http/actions?workflow=Test)
5+
[![Development Status](https://github.com/socketry/protocol-http/workflows/Test/badge.svg)](https://github.com/socketry/protocol-http/actions?workflow=Test)
76

87
## Features
98

@@ -32,6 +31,14 @@ We welcome contributions to this project.
3231
4. Push to the branch (`git push origin my-new-feature`).
3332
5. Create new Pull Request.
3433

34+
### Developer Certificate of Origin
35+
36+
This project uses the [Developer Certificate of Origin](https://developercertificate.org/). All contributors to this project must agree to this document to have their contributions accepted.
37+
38+
### Contributor Covenant
39+
40+
This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
41+
3542
## See Also
3643

3744
- [protocol-http1](https://github.com/socketry/protocol-http1) — HTTP/1 client/server implementation using this

test/protocol/http/body/buffered.rb

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

33
# Released under the MIT License.
4-
# Copyright, 2023, by Samuel Williams.
5-
# Copyright, 2023, by Bruno Sutic.
4+
# Copyright, 2019-2023, by Samuel Williams.
5+
# Copyright, 2020-2023, by Bruno Sutic.
66

77
require 'protocol/http/body/buffered'
88

test/protocol/http/body/digestable.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, by Samuel Williams.
4+
# Copyright, 2020-2023, by Samuel Williams.
55

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

test/protocol/http/body/file.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, by Samuel Williams.
4+
# Copyright, 2019-2023, by Samuel Williams.
55

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

test/protocol/http/header/cookie.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, 2023, by Samuel Williams.
4+
# Copyright, 2021-2023, by Samuel Williams.
5+
# Copyright, 2022, by Herrick Fang.
56

67
require 'protocol/http/header/cookie'
78

test/protocol/http/header/etags.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, by Samuel Williams.
4+
# Copyright, 2020-2023, by Samuel Williams.
55

66
require 'protocol/http/header/etags'
77

test/protocol/http/header/multiple.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, by Samuel Williams.
4+
# Copyright, 2020-2023, by Samuel Williams.
55

66
require 'protocol/http/header/multiple'
77

0 commit comments

Comments
 (0)