Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

olleolleolle
Copy link
Member

@olleolleolle olleolleolle commented Aug 25, 2025

After #567 we got a newer rubyzip, which has a keyword argument API. This PR gets to green tests.

  • use kwargs API
  • require rubyzip 3.0+ and
  • drop support for the ENV variable for rubyzip version in the Gemfile (no longer used in our CI)

Resource: rubyzip's CHANGELOG. rubyzip 3.0.0 began requiring Ruby 3.0+. The CHANGELOG for 3.0.0: "Use named parameters for optional arguments in the public API."

Fixes #570

@olleolleolle olleolleolle changed the title Use newer zip API with keyword argument Use newer keyword argument rubyzip 3.0 API Aug 25, 2025
Copy link
Member

@kares kares left a comment

Choose a reason for hiding this comment

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

LGTM, from the UI 🤞

@olleolleolle olleolleolle merged commit 523237b into master Sep 2, 2025
8 checks passed
@headius headius added this to the 2.1.0 milestone Oct 15, 2025
@chadlwilson chadlwilson deleted the zip-api-update branch October 15, 2025 20:21
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.

uninitialized constant Zip::File::CREATE in lib/warbler/zip_support.rb

3 participants