From 226f47aae457b038548de6f020ad6a985807e5d5 Mon Sep 17 00:00:00 2001 From: OnlyOffice Testing Robot Date: Fri, 1 Sep 2023 16:12:57 +0300 Subject: [PATCH] Drop ruby-2.7 support (#350) Add ruby-3.2 to CI --- .github/workflows/ruby.yml | 2 +- .rubocop.yml | 2 +- .rubocop_todo.yml | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- onlyoffice_file_helper.gemspec | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index cae19e3..2466ac9 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -6,7 +6,7 @@ jobs: continue-on-error: ${{ matrix.allow-failures }} strategy: matrix: - ruby: ['2.7', '3.0', '3.1'] + ruby: ['3.0', '3.1', '3.2'] allow-failures: [false] include: - ruby: head diff --git a/.rubocop.yml b/.rubocop.yml index 55bee8f..e26a892 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,4 +8,4 @@ inherit_from: AllCops: NewCops: enable - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 165343d..b696dc2 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-06-16 11:19:19 UTC using RuboCop version 1.52.1. +# on 2023-09-01 13:09:36 UTC using RuboCop version 1.56.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new diff --git a/CHANGELOG.md b/CHANGELOG.md index ed439c0..169887d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,18 @@ ## master (unreleased) +### New Features + +* Add `ruby-3.2` to CI + ### Fixes * Fix csv file url in specs +### Changes + +* Drop `ruby-2.7` support, since it's EOLed + ## 1.1.0 (2022-08-12) ### New Features diff --git a/Gemfile.lock b/Gemfile.lock index 1d4fbfb..2f2337c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -97,4 +97,4 @@ DEPENDENCIES yard (~> 0, >= 0.9.20) BUNDLED WITH - 2.4.14 + 2.4.19 diff --git a/onlyoffice_file_helper.gemspec b/onlyoffice_file_helper.gemspec index b7c6f60..a516266 100644 --- a/onlyoffice_file_helper.gemspec +++ b/onlyoffice_file_helper.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.name = OnlyofficeFileHelper::NAME s.version = OnlyofficeFileHelper::VERSION s.platform = Gem::Platform::RUBY - s.required_ruby_version = '>= 2.7' + s.required_ruby_version = '>= 3.0' s.authors = ['ONLYOFFICE', 'Pavel Lobashov'] s.summary = 'ONLYOFFICE Helper Gem for File operation' s.description = 'ONLYOFFICE Helper Gem for File operation. Used in QA'