From c2cdd6091d9eefaac31899fb351f938b9ed4d0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 14 Mar 2024 22:57:36 +0000 Subject: [PATCH] Drop support for Ruby 2.7 It is EOL. --- .github/workflows/ruby.yml | 2 +- .rubocop.yml | 2 +- better_html.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index fe4351a..35f74da 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [3.3, 3.2, 3.1, '3.0', 2.7] + ruby: [3.3, 3.2, 3.1, '3.0'] gemfile: - Gemfile - gemfiles/Gemfile-rails-6-0 diff --git a/.rubocop.yml b/.rubocop.yml index 23b1ed2..e1c3f16 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,6 +4,6 @@ inherit_gem: rubocop-shopify: rubocop.yml AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 NewCops: disable SuggestExtensions: false diff --git a/better_html.gemspec b/better_html.gemspec index c7564be..1337f33 100644 --- a/better_html.gemspec +++ b/better_html.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.description = "Better HTML for Rails. Provides sane html helpers that make it easier to do the right thing." s.license = "MIT" - s.required_ruby_version = ">= 2.7.0" + s.required_ruby_version = ">= 3.0.0" s.metadata = { "bug_tracker_uri" => "https://github.com/Shopify/better-html/issues",