From 21edba1dd2b36b7da9fed6bec9e1d28753390e3c Mon Sep 17 00:00:00 2001 From: franco-mariani Date: Thu, 22 Oct 2026 11:39:10 +0200 Subject: [PATCH] Refs #API-33: Drop Ruby 2.7 support --- .github/workflows/main.yml | 2 +- .rubocop.yml | 2 +- graphql_to_rest.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2478bab..7a027ee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ jobs: specs: strategy: matrix: - ruby-version: ['2.7', '3.0', '3.1'] + ruby-version: ['3.0', '3.1'] runs-on: ubuntu-latest env: diff --git a/.rubocop.yml b/.rubocop.yml index e07b9a3..673bd94 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -50,7 +50,7 @@ Style/ClassAndModuleChildren: AllCops: NewCops: disable # TODO: enable - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 Exclude: - bin/* - "*.gemspec" diff --git a/graphql_to_rest.gemspec b/graphql_to_rest.gemspec index 9f39442..7b9774e 100644 --- a/graphql_to_rest.gemspec +++ b/graphql_to_rest.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.description = "Allows to easily configure open api for rails application" spec.homepage = "https://github.com/povilasjurcys/graphql_to_rest" spec.license = "MIT" - spec.required_ruby_version = ">= 2.6.0" + spec.required_ruby_version = ">= 3.0.0" spec.metadata["allowed_push_host"] = "https://rubygems.org"