Skip to content

Relax required_ruby_version to support Ruby 4.0#21

Merged
olleolleolle merged 2 commits intolostisland:mainfrom
taketo1113:relax-require-ruby
Dec 22, 2025
Merged

Relax required_ruby_version to support Ruby 4.0#21
olleolleolle merged 2 commits intolostisland:mainfrom
taketo1113:relax-require-ruby

Conversation

@taketo1113
Copy link
Contributor

This Pull Request relaxed the required_ruby_version to allow Ruby 4.0.

The current gemspec specifies an upper bound of "< 4", which prevents gem install faraday-multipart from working on Ruby 4.0, scheduled for release on December 25. By removing this upper bound, the gem will continue to work on Ruby 4.0 and future Ruby versions.

Additional Information

Bundler version for development / test environments

This Pull Request removes the development dependency on the bundler gem.
In Ruby 4.0, Bundler is provided as a default gem with version 4.0 or later.

gem 'bundler', '~> 2.0'

Update CI Matrix

This Pull Request also:

  • adds Ruby 3.2 - 4.0 to the CI matrix
  • bumps actions/checkout from v4 to v6

Bump actions/checkout from 4 to 6
Add Ruby 4.0 to CI Matrix
Remove the `'bundler', '~> 2.0'` dependency for development
Copy link
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @taketo1113 !

@olleolleolle olleolleolle merged commit 3407d7c into lostisland:main Dec 22, 2025
11 checks passed
@taketo1113 taketo1113 deleted the relax-require-ruby branch December 22, 2025 14:10
@taketo1113
Copy link
Contributor Author

Thanks!

@chaadow
Copy link

chaadow commented Dec 25, 2025

can we get a release on rubygems please

@iMacTia iMacTia mentioned this pull request Dec 25, 2025
@iMacTia
Copy link
Member

iMacTia commented Dec 25, 2025

Release 1.2.0 is now out with Ruby 4 support 🎉

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.

4 participants