Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize gem. #13

Merged
merged 1 commit into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/test-external.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- macos

ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- macos

ruby:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
Expand Down
5 changes: 4 additions & 1 deletion gems.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2020-2023, by Samuel Williams.
# Copyright, 2019-2023, by Samuel Williams.

source "https://rubygems.org"

Expand All @@ -16,6 +16,9 @@
end

group "test" do
gem "covered"
gem "sus"

gem "bake-test"
gem "bake-test-external"
end
6 changes: 1 addition & 5 deletions protocol-http2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ Gem::Specification.new do |spec|

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

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 2.7.6"

spec.add_dependency "protocol-hpack", "~> 1.4"
spec.add_dependency "protocol-http", "~> 0.18"

spec.add_development_dependency "bundler"
spec.add_development_dependency "covered"
spec.add_development_dependency "sus"
end
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,11 @@ We welcome contributions to this project.
3. Commit your changes (`git commit -am 'Add some feature'`).
4. Push to the branch (`git push origin my-new-feature`).
5. Create new Pull Request.

### Developer Certificate of Origin

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.

### Contributor Covenant

This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
2 changes: 1 addition & 1 deletion test/protocol/http2.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2023, by Samuel Williams.
# Copyright, 2023, by Samuel Williams.

require 'protocol/http2/version'

Expand Down
2 changes: 1 addition & 1 deletion test/protocol/http2/frame.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2023, by Samuel Williams.
# Copyright, 2023, by Samuel Williams.

require 'protocol/http2/frame'

Expand Down
2 changes: 1 addition & 1 deletion test/protocol/http2/framer.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2023, by Samuel Williams.
# Copyright, 2023, by Samuel Williams.

require 'protocol/http2/framer'

Expand Down
2 changes: 1 addition & 1 deletion test/protocol/http2/settings.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2023, by Samuel Williams.
# Copyright, 2023, by Samuel Williams.

require 'protocol/http2/settings_frame'

Expand Down
2 changes: 1 addition & 1 deletion test/protocol/http2/window.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
expect(window.wanted).to be == 200
end
end
end
end