From bb190a3bc0c629b7bb997dd77587760e4c3939f8 Mon Sep 17 00:00:00 2001 From: OnlyOffice Testing Robot Date: Fri, 25 Aug 2023 17:52:39 +0300 Subject: [PATCH] Drop support of `ruby-2.6` and `ruby-2.7` (#318) --- .github/workflows/ruby.yml | 4 ++-- .rubocop.yml | 1 + CHANGELOG.md | 2 +- onlyoffice_bugzilla_helper.gemspec | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index b0b18e5..0ba889f 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -5,10 +5,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Ruby 2.7 + - name: Set up Ruby 3.2 uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.2 - name: Build and test with Rake env: BUGZILLA_API_KEY: ${{ secrets.BUGZILLA_API_KEY }} diff --git a/.rubocop.yml b/.rubocop.yml index bb59ccf..b9c9cf1 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,6 +7,7 @@ inherit_from: .rubocop_todo.yml AllCops: NewCops: enable + TargetRubyVersion: 3.0 Metrics/BlockLength: Max: 27 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cdd67b..65ab16f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ ### Changes -* Drop support of `ruby-2.4` and `ruby-2.5` since it's EOLed +* Drop support of `ruby-2.4`, `ruby-2.5`, `ruby-2.6`, `ruby-2.7` since it's EOLed * Require `mfa` for releasing gem * Remove `codeclimate` config, since we don't use it any more * Check `dependabot` at 8:00 Moscow time daily diff --git a/onlyoffice_bugzilla_helper.gemspec b/onlyoffice_bugzilla_helper.gemspec index b541997..6d5c921 100644 --- a/onlyoffice_bugzilla_helper.gemspec +++ b/onlyoffice_bugzilla_helper.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.name = OnlyofficeBugzillaHelper::NAME s.version = OnlyofficeBugzillaHelper::VERSION s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 2.6' + s.required_ruby_version = '>= 3.0' s.authors = ['ONLYOFFICE', 'Pavel Lobashov'] s.summary = 'Helper for bugzilla' s.description = 'Helper for bugzilla, used in QA'