From 64e480a8ecff8d57b9c953796777705cbde6102e Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sat, 4 May 2024 13:05:27 -0700 Subject: [PATCH] Drop support for Ruby 3.0 (EOL) --- .github/workflows/ci.yml | 2 +- .rubocop.yml | 2 +- README.md | 2 +- pgcli-rails.gemspec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23c61d7..5d144d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: ["3.0", "3.1", "3.2", "3.3", "head"] + ruby: ["3.1", "3.2", "3.3", "head"] steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/.rubocop.yml b/.rubocop.yml index 365bbd3..f70463e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,7 +7,7 @@ AllCops: DisplayCopNames: true DisplayStyleGuide: true NewCops: enable - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.1 Exclude: - "tmp/**/*" - "vendor/**/*" diff --git a/README.md b/README.md index fcbaecc..8d02a6e 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ RAILS_ENV=test bin/rake pgcli ## Requirements * Rails 4.2+ using PostgreSQL -* Ruby 3.0+ +* Ruby 3.1+ * [pgcli][] (`brew install pgcli` to install on macOS) ## How it works diff --git a/pgcli-rails.gemspec b/pgcli-rails.gemspec index 88a6162..24b19c3 100644 --- a/pgcli-rails.gemspec +++ b/pgcli-rails.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |spec| spec.summary = "Replaces the Rails PostgreSQL dbconsole with the much nicer pgcli" spec.homepage = "https://github.com/mattbrictson/pgcli-rails" spec.license = "MIT" - spec.required_ruby_version = ">= 3.0" + spec.required_ruby_version = ">= 3.1" spec.metadata = { "bug_tracker_uri" => "https://github.com/mattbrictson/pgcli-rails/issues",