From a29a84f4cf5d3fc03bbc885a919d2ea850010983 Mon Sep 17 00:00:00 2001 From: Alexey Zapparov Date: Mon, 9 Jun 2025 05:42:21 +0200 Subject: [PATCH] Drop Ruby-3.0 support --- .github/workflows/ci.yml | 4 ++-- .rubocop.yml | 2 +- CHANGELOG.md | 1 + README.md | 3 +-- http.gemspec | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 919b5f08..bb0d2cf4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - ruby: [ ruby-3.0, ruby-3.1, ruby-3.2, ruby-3.3 ] + ruby: [ ruby-3.1, ruby-3.2, ruby-3.3, ruby-3.4 ] os: [ ubuntu-latest ] steps: @@ -58,7 +58,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: - ruby-version: ruby-3.0 + ruby-version: ruby-3.1 bundler-cache: true - name: bundle exec rubocop diff --git a/.rubocop.yml b/.rubocop.yml index ae767af3..69fd4ece 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -15,4 +15,4 @@ AllCops: DisplayCopNames: true DisplayStyleGuide: true NewCops: enable - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index cbd61120..81ea0390 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- **BREAKING** Drop Ruby 3.0 support - **BREAKING** Drop Ruby 2.x support [unreleased]: https://github.com/httprb/http/compare/v5.3.0...main diff --git a/README.md b/README.md index 900557fd..b7937b7a 100644 --- a/README.md +++ b/README.md @@ -109,10 +109,9 @@ and call `#readpartial` on it repeatedly until it returns `nil`: This library aims to support and is [tested against][build-link] the following Ruby versions: -- Ruby 3.0 -- Ruby 3.1 - Ruby 3.2 - Ruby 3.3 +- Ruby 3.4 - JRuby 9.4 If something doesn't work on one of these versions, it's a bug. diff --git a/http.gemspec b/http.gemspec index 31d65f34..39c48443 100644 --- a/http.gemspec +++ b/http.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.version = HTTP::VERSION - gem.required_ruby_version = ">= 3.0" + gem.required_ruby_version = ">= 3.1" gem.add_dependency "addressable", "~> 2.8" gem.add_dependency "http-cookie", "~> 1.0"