From 4ec0b85d80a9be2bdf1168193a86a1ae041efbf8 Mon Sep 17 00:00:00 2001 From: Andy Waite Date: Wed, 18 May 2022 15:23:32 -0400 Subject: [PATCH] Drop support for Ruby 2.5 and 2.6 --- .github/workflows/liquid.yml | 2 +- .rubocop.yml | 2 +- History.md | 3 +++ liquid.gemspec | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/liquid.yml b/.github/workflows/liquid.yml index 6ba69473..749eee0a 100644 --- a/.github/workflows/liquid.yml +++ b/.github/workflows/liquid.yml @@ -6,7 +6,7 @@ jobs: strategy: matrix: entry: - - { ruby: 2.5, allowed-failure: false } # minimum supported + - { ruby: 2.7, allowed-failure: false } # minimum supported - { ruby: 3.1, allowed-failure: false } # latest - { ruby: ruby-head, allowed-failure: true } name: test (${{ matrix.entry.ruby }}) diff --git a/.rubocop.yml b/.rubocop.yml index 927912ab..fec517c5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -10,7 +10,7 @@ Performance: Enabled: true AllCops: - TargetRubyVersion: 2.5 + TargetRubyVersion: 2.7 NewCops: disable Exclude: - 'vendor/bundle/**/*' diff --git a/History.md b/History.md index 7d619219..5cab7988 100644 --- a/History.md +++ b/History.md @@ -2,6 +2,9 @@ ## 5.4.0 (unreleased) +### Breaking Changes +* Require Ruby >= 2.7 (#1578) [Andy Waite] + ### Features * Allow `#` to be used as an inline comment tag (#1498) [CP Clermont] diff --git a/liquid.gemspec b/liquid.gemspec index bb668f59..68f3db57 100644 --- a/liquid.gemspec +++ b/liquid.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.license = "MIT" # s.description = "A secure, non-evaling end user template engine with aesthetic markup." - s.required_ruby_version = ">= 2.5.0" + s.required_ruby_version = ">= 2.7.0" s.required_rubygems_version = ">= 1.3.7" s.metadata['allowed_push_host'] = 'https://rubygems.org'