diff --git a/.editorconfig b/.editorconfig index 538ba2b..a6e7d26 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,3 +3,7 @@ root = true [*] indent_style = tab indent_size = 2 + +[*.{yml,yaml}] +indent_style = space +indent_size = 2 diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 81f3c65..68adbf2 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -21,10 +21,10 @@ jobs: - macos ruby: - - "3.2" + - "3.3" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{matrix.ruby}} @@ -34,7 +34,7 @@ jobs: timeout-minutes: 5 run: bundle exec bake test - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: coverage-${{matrix.os}}-${{matrix.ruby}} path: .covered.db @@ -44,10 +44,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.2" + ruby-version: "3.3" bundler-cache: true - uses: actions/download-artifact@v3 diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 3d483fc..f5474c9 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -28,11 +28,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.2" + ruby-version: "3.3" bundler-cache: true - name: Installing packages @@ -43,7 +43,7 @@ jobs: run: bundle exec bake utopia:project:static --force no - name: Upload documentation artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: docs @@ -58,4 +58,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v3 diff --git a/.github/workflows/test-external.yaml b/.github/workflows/test-external.yaml index cbff675..18efa2c 100644 --- a/.github/workflows/test-external.yaml +++ b/.github/workflows/test-external.yaml @@ -23,9 +23,10 @@ jobs: - "3.0" - "3.1" - "3.2" + - "3.3" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{matrix.ruby}} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 942ede7..1dca864 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -24,6 +24,7 @@ jobs: - "3.0" - "3.1" - "3.2" + - "3.3" experimental: [false] @@ -39,7 +40,7 @@ jobs: experimental: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{matrix.ruby}} diff --git a/lib/protocol/http/body/stream.rb b/lib/protocol/http/body/stream.rb index 7e4f725..dec28a9 100644 --- a/lib/protocol/http/body/stream.rb +++ b/lib/protocol/http/body/stream.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2019-2023, by Samuel Williams. +# Copyright, 2019-2024, by Samuel Williams. # Copyright, 2023, by Genki Takiuchi. require_relative 'buffered' diff --git a/lib/protocol/http/header/date.rb b/lib/protocol/http/header/date.rb index e34ae37..6d6da3f 100644 --- a/lib/protocol/http/header/date.rb +++ b/lib/protocol/http/header/date.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2020-2023, by Samuel Williams. +# Copyright, 2023, by Samuel Williams. require 'time' diff --git a/license.md b/license.md index ac09873..3211b11 100644 --- a/license.md +++ b/license.md @@ -1,6 +1,6 @@ # MIT License -Copyright, 2018-2023, by Samuel Williams. +Copyright, 2018-2024, by Samuel Williams. Copyright, 2019, by Yuta Iwama. Copyright, 2020, by Olle Jonsson. Copyright, 2020, by Bryan Powell. @@ -9,6 +9,7 @@ Copyright, 2022, by Herrick Fang. Copyright, 2022, by Dan Olson. Copyright, 2023, by Genki Takiuchi. Copyright, 2023, by Thomas Morgan. +Copyright, 2023, by Marcelo Junior. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/protocol-http.gemspec b/protocol-http.gemspec index 7fbc8d9..5986656 100644 --- a/protocol-http.gemspec +++ b/protocol-http.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.version = Protocol::HTTP::VERSION spec.summary = "Provides abstractions to handle HTTP protocols." - spec.authors = ["Samuel Williams", "Bruno Sutic", "Herrick Fang", "Bryan Powell", "Dan Olson", "Genki Takiuchi", "Olle Jonsson", "Yuta Iwama"] + spec.authors = ["Samuel Williams", "Bruno Sutic", "Herrick Fang", "Thomas Morgan", "Bryan Powell", "Dan Olson", "Genki Takiuchi", "Marcelo Junior", "Olle Jonsson", "Yuta Iwama"] spec.license = "MIT" spec.cert_chain = ['release.cert'] @@ -21,7 +21,7 @@ Gem::Specification.new do |spec| spec.files = Dir.glob(['{lib}/**/*', '*.md'], File::FNM_DOTMATCH, base: __dir__) - spec.required_ruby_version = ">= 2.7.6" + spec.required_ruby_version = ">= 3.0" spec.add_dependency "base64" end diff --git a/readme.md b/readme.md index ee6da49..69671f7 100644 --- a/readme.md +++ b/readme.md @@ -34,7 +34,7 @@ This project uses the [Developer Certificate of Origin](https://developercertifi ### Contributor Covenant -This project is governed by [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms. +This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms. ## See Also diff --git a/test/protocol/http/body/stream.rb b/test/protocol/http/body/stream.rb index 676a75b..ca5db6f 100644 --- a/test/protocol/http/body/stream.rb +++ b/test/protocol/http/body/stream.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2022-2023, by Samuel Williams. +# Copyright, 2022-2024, by Samuel Williams. require 'protocol/http/body/stream' require 'protocol/http/body/buffered'