+
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
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

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载