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"