From c8bd3cd0d274008039797261a5c58758ee28f356 Mon Sep 17 00:00:00 2001 From: Ernesto Tagwerker Date: Thu, 11 Jul 2024 22:48:21 -0400 Subject: [PATCH] Drop Rails 6.0 & Ruby 3.0 (and older) Support (#105) * Removed unnecessary files We don't have the capacity to keep testing EOL versions of Ruby and/or Rails * Stop testing with EOL versions of Ruby and Rails * We no longer use Google Groups for discussions Contributors should simply use GitHub Issues instead --- .github/workflows/ci.yml | 47 ++------------------------------------ .travis.yml | 25 -------------------- README.md | 4 ++-- gemfiles/rails_5.1.gemfile | 13 ----------- gemfiles/rails_5.2.gemfile | 13 ----------- gemfiles/rails_6.0.gemfile | 14 ------------ 6 files changed, 4 insertions(+), 112 deletions(-) delete mode 100644 .travis.yml delete mode 100644 gemfiles/rails_5.1.gemfile delete mode 100644 gemfiles/rails_5.2.gemfile delete mode 100644 gemfiles/rails_6.0.gemfile diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a87890fa..0305415e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,8 +9,8 @@ jobs: strategy: fail-fast: false matrix: - ruby: ['3.3', '3.2', '3.1', '3.0', '2.7', '2.6', '2.5'] - rails: ['5.1', '5.2', '6.0', '6.1', '7.0', '7.1', '7.2'] + ruby: ['3.3', '3.2', '3.1'] + rails: ['6.1', '7.0', '7.1', '7.2'] channel: ['stable'] include: @@ -39,52 +39,9 @@ jobs: rails: '7.0' # TODO: works on 7-0-stable branch, remove after a 7.0.x patch release - ruby: '3.3' rails: '6.1' - - ruby: '3.3' - rails: '6.0' - - ruby: '3.3' - rails: '5.2' - - ruby: '3.3' - rails: '5.1' - ruby: '3.2' rails: '6.1' - - ruby: '3.2' - rails: '6.0' - - ruby: '3.2' - rails: '5.2' - - ruby: '3.2' - rails: '5.1' - - - ruby: '3.1' - rails: '6.0' - - ruby: '3.1' - rails: '5.2' - - ruby: '3.1' - rails: '5.1' - - - ruby: '3.0' - rails: '7.2' - - ruby: '3.0' - rails: '5.2' - - ruby: '3.0' - rails: '5.1' - - - ruby: '2.7' - rails: '7.2' - - - ruby: '2.6' - rails: '7.2' - - ruby: '2.6' - rails: '7.1' - - ruby: '2.6' - rails: '7.0' - - - ruby: '2.5' - rails: '7.2' - - ruby: '2.5' - rails: '7.1' - - ruby: '2.5' - rails: '7.0' continue-on-error: ${{ matrix.channel != 'stable' }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b1e60cab..00000000 --- a/.travis.yml +++ /dev/null @@ -1,25 +0,0 @@ -language: ruby -services: - - mysql - - postgresql -rvm: - - 2.5 - - 2.6 - - 2.7 - - 3.0 -gemfile: - - gemfiles/rails_5.1.gemfile - - gemfiles/rails_5.2.gemfile - - gemfiles/rails_6.0.gemfile - - gemfiles/rails_6.1.gemfile -jobs: - exclude: # Unsupported combos: https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html - - rvm: 3.0 - gemfile: gemfiles/rails_5.1.gemfile - - rvm: 3.0 - gemfile: gemfiles/rails_5.2.gemfile - -before_install: - - bin/setup -cache: - bundler: true diff --git a/README.md b/README.md index 0e15ab68..d1bc6650 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Clean your ActiveRecord databases with Database Cleaner. See https://github.com/DatabaseCleaner/database_cleaner for more information. -For support or to discuss development please use the [Google Group](https://groups.google.com/group/database_cleaner). +For support or to discuss development please use GitHub Issues. ## Installation @@ -97,7 +97,7 @@ You can also add this parameter to your database.yml file: test: adapter: postgresql # ... - min_messages: WARNING + min_messages: WARNING ## COPYRIGHT diff --git a/gemfiles/rails_5.1.gemfile b/gemfiles/rails_5.1.gemfile deleted file mode 100644 index 79d19306..00000000 --- a/gemfiles/rails_5.1.gemfile +++ /dev/null @@ -1,13 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "database_cleaner-core", git: "https://github.com/DatabaseCleaner/database_cleaner" -gem "rails", "~> 5.1.0" - -group :test do - gem "simplecov", require: false - gem "codecov", require: false -end - -gemspec path: "../" diff --git a/gemfiles/rails_5.2.gemfile b/gemfiles/rails_5.2.gemfile deleted file mode 100644 index 993d7eec..00000000 --- a/gemfiles/rails_5.2.gemfile +++ /dev/null @@ -1,13 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "database_cleaner-core", git: "https://github.com/DatabaseCleaner/database_cleaner" -gem "rails", "~> 5.2.0" - -group :test do - gem "simplecov", require: false - gem "codecov", require: false -end - -gemspec path: "../" diff --git a/gemfiles/rails_6.0.gemfile b/gemfiles/rails_6.0.gemfile deleted file mode 100644 index 20aa377a..00000000 --- a/gemfiles/rails_6.0.gemfile +++ /dev/null @@ -1,14 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "database_cleaner-core", git: "https://github.com/DatabaseCleaner/database_cleaner" -gem "rails", "~> 6.0.0" -gem "sqlite3", "~> 1.5" - -group :test do - gem "simplecov", require: false - gem "codecov", require: false -end - -gemspec path: "../"