Skip to content

Require Ruby 3.3 or later - #107

Merged
paracycle merged 4 commits into
mainfrom
ufuk/require-ruby-3.3
Oct 27, 2026
Merged

paracycle merged 4 commits into
mainfrom
ufuk/require-ruby-3.3

Conversation

@paracycle

Copy link
Copy Markdown
Member

Motivation

Oktakit supports and tests Ruby 2.6 to 3.1. All of these versions are end-of-life. The lockfile also pins Bundler 2.3.24 and gem versions from 2021 and 2022, and some of these gems do not support current Ruby versions.

Changes

  • Require Ruby 3.3 or later in the gemspec, and add a CHANGELOG entry for the change.
  • Run CI against Ruby 3.3, 3.4 and 4.0. Update ruby/setup-ruby so that CI can install Ruby 4.0.
  • Use Ruby 4.0.9 for development. dev.yml now reads the version from .ruby-version.
  • Lock Bundler 4.0.20 and update all locked gems to their latest versions.
  • Remove TargetRubyVersion from .rubocop.yml. RuboCop now reads the target version from required_ruby_version in the gemspec.

Notes

The new RuboCop and rubocop-shopify versions report new offenses. CI does not run RuboCop, so this PR does not change the code for them. A separate PR will fix these offenses.

Drop support for Ruby versions older than 3.3 and run CI against Ruby 3.3, 3.4 and 4.0. Update ruby/setup-ruby so that CI can install Ruby 4.0.
dev.yml now reads the Ruby version from .ruby-version.
Lock Bundler 4.0.20 and update all locked gems to their latest versions.
RuboCop reads the target Ruby version from required_ruby_version in the gemspec, so the explicit setting is redundant.
@paracycle
paracycle merged commit b655d1e into main Oct 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants