From accc6260072ecf57ac9ed4b26811829df2b0d496 Mon Sep 17 00:00:00 2001 From: bajankristof Date: Sat, 27 Apr 2024 00:26:52 +0200 Subject: [PATCH] chore!: drop official support for Ruby 2.6 --- .github/workflows/ci.lint.yml | 2 +- .github/workflows/ci.test.yml | 2 +- .rubocop.yml | 2 +- README.md | 2 +- ffmpeg.gemspec | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.lint.yml b/.github/workflows/ci.lint.yml index 50e5c39..5fefc58 100644 --- a/.github/workflows/ci.lint.yml +++ b/.github/workflows/ci.lint.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0' + ruby-version: '3.3' bundler-cache: true rubygems: latest diff --git a/.github/workflows/ci.test.yml b/.github/workflows/ci.test.yml index 39e791c..6a6122d 100644 --- a/.github/workflows/ci.test.yml +++ b/.github/workflows/ci.test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.6', '2.7', '3.0'] + ruby-version: ['2.7', '3.3'] ffmpeg-version: ['6.0.1', '5.1.1', '4.4.1'] steps: diff --git a/.rubocop.yml b/.rubocop.yml index 33e83e3..9b85acd 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ inherit_from: .rubocop_todo.yml AllCops: NewCops: enable SuggestExtensions: false - TargetRubyVersion: 2.6 + TargetRubyVersion: 2.7 Metrics/AbcSize: Enabled: false diff --git a/README.md b/README.md index 023613d..8529de2 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Simple yet powerful wrapper around the ffmpeg command for reading metadata and t ### Ruby -Only guaranteed to work with Ruby 2.6 or later. +Only guaranteed to work with Ruby 2.7 or later. ### ffmpeg diff --git a/ffmpeg.gemspec b/ffmpeg.gemspec index 707deab..b1598b1 100644 --- a/ffmpeg.gemspec +++ b/ffmpeg.gemspec @@ -13,7 +13,7 @@ Gem::Specification.new do |s| s.homepage = 'https://github.com/instructure/ffmpeg' s.summary = 'Wraps ffmpeg to read metadata and transcodes videos.' - s.required_ruby_version = '>= 2.6' + s.required_ruby_version = '>= 2.7' s.add_dependency('multi_json', '~> 1.8')