From 771fe6da2ae807b8166b18750aaf47c1925ea15b Mon Sep 17 00:00:00 2001 From: Alejandro Perea Date: Sat, 5 Feb 2022 11:10:39 +0100 Subject: [PATCH] Drop support for Ruby 2.6 --- .github/workflows/ci.yml | 4 +--- .rubocop.yml | 2 +- arbre.gemspec | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a665d35e..baca6d54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,12 +19,10 @@ jobs: fail-fast: false matrix: - ruby: [2.6.9, 2.7.5, 3.0.3, 3.1.0, jruby-9.3.2.0] + ruby: [2.7.5, 3.0.3, 3.1.0, jruby-9.3.2.0] deps: [rails_61, rails_70] exclude: - - deps: rails_70 - ruby: 2.6.9 - deps: rails_70 ruby: jruby-9.3.2.0 diff --git a/.rubocop.yml b/.rubocop.yml index 2d91f00f..3d9770f9 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,7 +8,7 @@ AllCops: DisplayCopNames: true DisplayStyleGuide: true - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 Metrics: Enabled: false diff --git a/arbre.gemspec b/arbre.gemspec index f0aa65b3..e13ae16a 100644 --- a/arbre.gemspec +++ b/arbre.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] - s.required_ruby_version = '>= 2.6' + s.required_ruby_version = '>= 2.7' s.add_dependency("activesupport", ">= 3.0.0", "< 7.1") s.add_dependency("ruby2_keywords", ">= 0.0.2", "< 1.0")