Skip to content

Commit

Permalink
Raise minimum Ruby version to 2.5
Browse files Browse the repository at this point in the history
This is so we can include the matrix gem in the gemspec, which only
existed since Ruby 2.5.
  • Loading branch information
mogest committed Dec 16, 2023
1 parent 0fcbed2 commit e741c4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion prawn-svg.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e741c4b

Please sign in to comment.