From e741c4b9dfd819f59fb3af9636d92fe7bf855215 Mon Sep 17 00:00:00 2001 From: Mog Nesbitt Date: Sun, 17 Dec 2023 11:21:29 +1300 Subject: [PATCH] Raise minimum Ruby version to 2.5 This is so we can include the matrix gem in the gemspec, which only existed since Ruby 2.5. --- .github/workflows/test.yml | 2 +- prawn-svg.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c910fe..89ada60 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: [2.3, 2.4, 2.5] + ruby: [2.5] steps: - uses: actions/checkout@v4 - name: Set up Ruby diff --git a/prawn-svg.gemspec b/prawn-svg.gemspec index 765d80e..06fba2e 100644 --- a/prawn-svg.gemspec +++ b/prawn-svg.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |gem| gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") gem.require_paths = ['lib'] - gem.required_ruby_version = '>= 2.3.0' + gem.required_ruby_version = '>= 2.5.0' gem.add_runtime_dependency 'css_parser', '~> 1.6' gem.add_runtime_dependency 'matrix', '~> 0.4.2'