Skip to content

Add ruby 3.4 and rubyzip 3 support#204

Merged
senny merged 3 commits intosenny:masterfrom
bliof:ruby-3.4-and-rubyzip-3
Nov 18, 2025
Merged

Add ruby 3.4 and rubyzip 3 support#204
senny merged 3 commits intosenny:masterfrom
bliof:ruby-3.4-and-rubyzip-3

Conversation

@bliof
Copy link
Contributor

@bliof bliof commented Aug 16, 2025

rubyzip v3 has different syntax:

Fix tests related to ruby 3.4 hash inspect and add ruby 3.4 to the build

Fix warning about .to_s will be frozen in the future

Closes #203

`rubyzip` v3 has different syntax:
- https://github.com/rubyzip/rubyzip/releases/tag/v3.0.0
- https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x

Fix tests related to ruby 3.4 hash inspect and add ruby 3.4 to the build
@bliof bliof force-pushed the ruby-3.4-and-rubyzip-3 branch from 4e98cfa to bbff81a Compare August 16, 2025 13:08
bliof added 2 commits August 16, 2025 16:20
lib/sablon/configuration/html_tag.rb:94: warning: string returned by :paragraph.to_s will be frozen in the future
@bliof bliof force-pushed the ruby-3.4-and-rubyzip-3 branch 2 times, most recently from 66add28 to ecbbbfe Compare September 19, 2025 13:50
@bliof
Copy link
Contributor Author

bliof commented Sep 19, 2025

@senny 👀 Small change for supporting rubyzip 3.x, does it look ok to you?

@senny
Copy link
Owner

senny commented Oct 8, 2025

Hi @bliof, sorry for the long response time. Unfortunately, the library is no longer actively maintained and I have no more projects available to vet changes to the code and ensure things continue to function. For that reason, I'm quite hesitant to merge changes and cause potential breaking changes that I will be unable to fix.

Thank you for your work and I'm sure there are others that can benefit from your patch to report back if things work with rubyzip 3.0. If we have enough evidence that this doesn't cause problems I'm open to merging the batch and cutting a new gem release.

@pustomytnyk
Copy link

+1. Works for my basic use case.

@phylor
Copy link

phylor commented Oct 13, 2025

Thank you @bliof! Works for me as well, even with Ruby < 3.4.

@viviana-aline
Copy link

Works for me as well without issues. Thank you @bliof

@bliof
Copy link
Contributor Author

bliof commented Nov 3, 2025

@senny It seems the change has been sufficiently reviewed. When you have a moment, you can ship the new version 🚀🙇

@bliof bliof force-pushed the ruby-3.4-and-rubyzip-3 branch from ecbbbfe to 941cfb1 Compare November 4, 2025 07:49
@senny senny merged commit 880b8e8 into senny:master Nov 18, 2025
@senny
Copy link
Owner

senny commented Nov 18, 2025

Many thanks @bliof and everyone who tested the patch.

I have uploaded 0.4.3 to rubygems.

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.

Compatibility with rubyzip 3.0.0

5 participants