From b0162366e92e313ac311444adba4d21585bf1040 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Wed, 26 Apr 2023 10:47:17 +0200 Subject: [PATCH] Drop Ruby 2.x support --- .github/workflows/ci.yml | 2 +- .rubocop.yml | 2 +- alchemy_cms.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76b6dd10d3..c4592d7f85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,9 @@ jobs: - "6.1" - "7.0" ruby: - - "2.7" - "3.0" - "3.1" + - "3.2" database: - mysql - postgresql diff --git a/.rubocop.yml b/.rubocop.yml index 348b8012f1..e2e8441d38 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ # Relaxed.Ruby.Style AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 3.0 Exclude: - 'bin/rspec' - 'vendor/**/*' diff --git a/alchemy_cms.gemspec b/alchemy_cms.gemspec index 567ceb1b59..ed40eeb050 100644 --- a/alchemy_cms.gemspec +++ b/alchemy_cms.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |gem| gem.summary = "A powerful, userfriendly and flexible CMS for Rails" gem.description = "Alchemy is a powerful, userfriendly and flexible Rails CMS." gem.requirements << "ImageMagick (libmagick), v6.6 or greater." - gem.required_ruby_version = ">= 2.5.0" + gem.required_ruby_version = ">= 3.0.0" gem.license = "BSD New" gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) } gem.require_paths = ["lib"]