diff --git a/.github/workflows/documentation-coverage.yaml b/.github/workflows/documentation-coverage.yaml index b3bac9a..8d801c5 100644 --- a/.github/workflows/documentation-coverage.yaml +++ b/.github/workflows/documentation-coverage.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.3" + ruby-version: "3.4" bundler-cache: true - name: Validate coverage diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index f5f553a..e47c6b3 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -29,7 +29,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.3" + ruby-version: "3.4" bundler-cache: true - name: Installing packages diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 50e9293..e6dc5c3 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -21,7 +21,7 @@ jobs: - macos ruby: - - "3.3" + - "3.4" steps: - uses: actions/checkout@v4 @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.3" + ruby-version: "3.4" bundler-cache: true - uses: actions/download-artifact@v4 diff --git a/.github/workflows/test-external.yaml b/.github/workflows/test-external.yaml index 21898f5..c9cc200 100644 --- a/.github/workflows/test-external.yaml +++ b/.github/workflows/test-external.yaml @@ -23,6 +23,7 @@ jobs: - "3.1" - "3.2" - "3.3" + - "3.4" steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b9f70e9..4b87012 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -26,6 +26,7 @@ jobs: - "3.1" - "3.2" - "3.3" + - "3.4" experimental: [false] diff --git a/async-http.gemspec b/async-http.gemspec index fc08714..6565546 100644 --- a/async-http.gemspec +++ b/async-http.gemspec @@ -28,9 +28,9 @@ Gem::Specification.new do |spec| spec.add_dependency "async-pool", "~> 0.9" spec.add_dependency "io-endpoint", "~> 0.14" spec.add_dependency "io-stream", "~> 0.6" + spec.add_dependency "metrics", "~> 0.12" spec.add_dependency "protocol-http", "~> 0.49" spec.add_dependency "protocol-http1", "~> 0.30" spec.add_dependency "protocol-http2", "~> 0.22" spec.add_dependency "traces", "~> 0.10" - spec.add_dependency "metrics", "~> 0.12" end diff --git a/lib/async/http/protocol/http1/client.rb b/lib/async/http/protocol/http1/client.rb index 1b32bd1..0a4ee2c 100644 --- a/lib/async/http/protocol/http1/client.rb +++ b/lib/async/http/protocol/http1/client.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2018-2024, by Samuel Williams. +# Copyright, 2018-2025, by Samuel Williams. require_relative "connection" diff --git a/lib/async/http/protocol/http1/request.rb b/lib/async/http/protocol/http1/request.rb index ad02fbc..5e12b00 100644 --- a/lib/async/http/protocol/http1/request.rb +++ b/lib/async/http/protocol/http1/request.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2018-2024, by Samuel Williams. +# Copyright, 2018-2025, by Samuel Williams. require_relative "../request" @@ -13,7 +13,7 @@ class Request < Protocol::Request def self.valid_path?(target) if target.start_with?("/") return true - elsif target == '*' + elsif target == "*" return true else return false diff --git a/lib/async/http/protocol/http2/request.rb b/lib/async/http/protocol/http2/request.rb index c49312a..004784a 100644 --- a/lib/async/http/protocol/http2/request.rb +++ b/lib/async/http/protocol/http2/request.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2018-2024, by Samuel Williams. +# Copyright, 2018-2025, by Samuel Williams. require_relative "../request" require_relative "stream" diff --git a/lib/async/http/protocol/http2/response.rb b/lib/async/http/protocol/http2/response.rb index d127ab1..79bdc54 100644 --- a/lib/async/http/protocol/http2/response.rb +++ b/lib/async/http/protocol/http2/response.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2018-2024, by Samuel Williams. +# Copyright, 2018-2025, by Samuel Williams. require_relative "../response" require_relative "stream" diff --git a/lib/async/http/proxy.rb b/lib/async/http/proxy.rb index d6e86e8..4d68dd8 100644 --- a/lib/async/http/proxy.rb +++ b/lib/async/http/proxy.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2019-2024, by Samuel Williams. +# Copyright, 2019-2025, by Samuel Williams. require_relative "client" require_relative "endpoint" diff --git a/license.md b/license.md index daa72d1..992c353 100644 --- a/license.md +++ b/license.md @@ -1,6 +1,6 @@ # MIT License -Copyright, 2017-2024, by Samuel Williams. +Copyright, 2017-2025, by Samuel Williams. Copyright, 2018, by Viacheslav Koval. Copyright, 2018, by Janko Marohnić. Copyright, 2019, by Denis Talakevich. diff --git a/test/async/http/proxy.rb b/test/async/http/proxy.rb index 1a1b280..b82c905 100644 --- a/test/async/http/proxy.rb +++ b/test/async/http/proxy.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # Released under the MIT License. -# Copyright, 2019-2024, by Samuel Williams. +# Copyright, 2019-2025, by Samuel Williams. # Copyright, 2020, by Sam Shadwell. require "async"