From 6e7b2458865a28e364106d8ba1187773489fe6b8 Mon Sep 17 00:00:00 2001 From: Yudai Takada Date: Wed, 24 Jan 2024 07:37:52 +0900 Subject: [PATCH] Change to use Ruby 2.7 in `required_ruby_version` and `TargetRubyVersion` (#404) * Bump `required_ruby_version = ">= 2.7.0"` * Bump `TargetRubyVersion: 2.7` --- .rubocop.yml | 2 +- committee.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ddfb23c2..07b85c8d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ require: - rubocop-performance AllCops: - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # to ignore them, so only the ones explicitly set in this file are enabled. DisabledByDefault: true diff --git a/committee.gemspec b/committee.gemspec index dbaf84e9..1a6834c8 100644 --- a/committee.gemspec +++ b/committee.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.executables << "committee-stub" s.files = Dir["{bin,lib,test}/**/*.rb"] - s.required_ruby_version = ">= 2.6.0" + s.required_ruby_version = ">= 2.7.0" s.add_dependency "json_schema", "~> 0.14", ">= 0.14.3"