From 70013966a2bcec7f7d65ed25c3861e2abc8e710a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 20 Oct 2023 20:56:15 +0200 Subject: [PATCH] Drop Ruby 2.7 support --- .github/workflows/cronjob.yml | 3 --- .github/workflows/test.yml | 3 --- README.md | 2 +- ransack.gemspec | 2 +- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cronjob.yml b/.github/workflows/cronjob.yml index 2a7397b5..fd0db03b 100644 --- a/.github/workflows/cronjob.yml +++ b/.github/workflows/cronjob.yml @@ -12,7 +12,6 @@ jobs: matrix: ruby: - 3.0.2 - - 2.7.4 env: DB: sqlite3 RAILS: main @@ -34,7 +33,6 @@ jobs: matrix: ruby: - 3.0.2 - - 2.7.4 env: DB: mysql RAILS: main @@ -65,7 +63,6 @@ jobs: matrix: ruby: - 3.0.2 - - 2.7.4 env: DB: postgres RAILS: main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6aae72a1..14ee309b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,6 @@ jobs: ruby: - 3.1.2 - 3.0.4 - - 2.7.6 env: DB: sqlite3 RAILS: ${{ matrix.rails }} @@ -45,7 +44,6 @@ jobs: ruby: - 3.1.2 - 3.0.4 - - 2.7.6 env: DB: mysql RAILS: ${{ matrix.rails }} @@ -80,7 +78,6 @@ jobs: ruby: - 3.1.2 - 3.0.4 - - 2.7.6 env: DB: postgres RAILS: ${{ matrix.rails }} diff --git a/README.md b/README.md index 0fadc2bc..02133e53 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ There are advanced searching solutions around, like ElasticSearch or Algolia. ** Ready to move beyond the basics? Use **advanced features** like i18n and extensive configuration options. -Ransack is supported for Rails 7.0, 6.1 on Ruby 2.7 and later. +Ransack is supported for Rails 7.0, 6.1 on Ruby 3.0 and later. ## Installation diff --git a/ransack.gemspec b/ransack.gemspec index db0e353b..3e4e15fd 100644 --- a/ransack.gemspec +++ b/ransack.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |s| s.homepage = "https://github.com/activerecord-hackery/ransack" s.summary = %q{Object-based searching for Active Record.} s.description = %q{Ransack is the successor to the MetaSearch gem. It improves and expands upon MetaSearch's functionality, but does not have a 100%-compatible API.} - s.required_ruby_version = '>= 2.7' + s.required_ruby_version = '>= 3.0' s.license = 'MIT' s.add_dependency 'activerecord', '>= 6.1.5'