Skip to content

Fix gem for Ruby 3+ and increase minimum Ruby version to 3.2 - #19

Merged
jasonkarns merged 7 commits into
mainfrom
bump-ruby-versions
Oct 6, 2026
Merged

jasonkarns merged 7 commits into
mainfrom
bump-ruby-versions

Conversation

@rosston

@rosston rosston commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Fixes #12 and makes #13 unnecessary.

Ruby versions <3.2 have been deprecated for over 1.5 years, per https://endoflife.date/ruby, so drop support for them entirely. 3.2 is also EOL, but it was more recent, and keeping support for it was very easy.

This will be a minor version bump (this is still pre-1.0) because dropping Ruby version support is a breaking change.

Pass variables/context as real keywords to Schema#execute and forward
**kwargs through validators so keyword-arg validate blocks work.
Drops the obsolete bundler 1.x dev dependency. A pinned Ruby version
doesn't make sense for a gem tested across multiple Rubies.
It went EOL not that long ago, so let's support it to make things easier
for folks.

Lowers required_ruby_version to >= 3.2, adds 3.2 to the CI matrix, and
updates docs. The existing Gemfile.lock installs frozen and passes on
3.2, 3.3, 3.4, and 4.0.
@rosston rosston self-assigned this Oct 5, 2026
jasonkarns
jasonkarns previously approved these changes Oct 5, 2026
Comment thread .github/workflows/test.yml Outdated
Comment thread .github/workflows/test.yml
@rosston
rosston marked this pull request as ready for review October 6, 2026 02:28
@jasonkarns
jasonkarns merged commit 964d9ac into main Oct 6, 2026
8 checks passed
@jasonkarns
jasonkarns deleted the bump-ruby-versions branch October 6, 2026 13:37
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.

wrong number of arguments (given 2, expected 0..1) in Ruby 3

3 participants