Commit 22550c78 authored by Vitaly Slobodin's avatar Vitaly Slobodin 🔮
Browse files

Bump Ruby version requirement to 3.2

Ruby 3.1 support ends on March 31, 2025
(https://endoflife.date/ruby), and
most of our projects currently use Ruby 3.2.
It makes sense to bump the minimum required Ruby
version to 3.2. This is a breaking change.
parent d398dd37
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
variables:
  RUBY_VERSION: "3.1.5"
  RUBY_VERSION: "3.2.6"

default:
  image: "ruby:${RUBY_VERSION}"
@@ -34,7 +34,7 @@ ruby:
  <<: *test_definition
  parallel:
    matrix:
      - RUBY_VERSION: ["3.0", "3.1", "3.2"]
      - RUBY_VERSION: ["3.2", "3.3"]

static-analysis:
  before_script:
+1 −1
Original line number Diff line number Diff line
3.1.4
3.2.6
+1 −1
Original line number Diff line number Diff line
ruby 3.1.4 3.2.2
ruby 3.2.6
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|

  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|tools)/}) }
  spec.require_paths = ["lib"]
  spec.required_ruby_version = ">= 2.6.0"
  spec.required_ruby_version = "~> 3.2"

  # Please maintain alphabetical order for dependencies
  spec.add_runtime_dependency "actionpack", ">= 5.0.0", "< 8.1.0"