-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[rb] Allow to use rubyzip
v3
#16108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rb] Allow to use rubyzip
v3
#16108
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
After quite a while, it was finally released. There are a few breaking changes to be aware of: https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x Almost everything is already abstracted away behind he upper module, so the needed changes are rather small.
6b19fe6
to
b91463c
Compare
@Earlopain thank you for your contribution! |
User description
💥 What does this PR do?
Allow to use
rubyzip
v3. After quite a while, it was finally released.There are a few breaking changes to be aware of:
https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x
Closes #16111
🔧 Implementation Notes
Almost everything is already abstracted away behind he upper module, so the needed changes are rather small.
🔄 Types of changes
PR Type
Enhancement
Description
Update
rubyzip
dependency to support version 3.xAdd version detection for backward compatibility
Modify zip extraction methods for API changes
Update gemspec dependency constraint
Diagram Walkthrough
File Walkthrough
has_file_downloads.rb
Add rubyzip v3 compatibility to file downloads
rb/lib/selenium/webdriver/common/driver_extensions/has_file_downloads.rb
zipper.rb
Implement rubyzip v3 compatibility layer
rb/lib/selenium/webdriver/common/zipper.rb
RUBYZIP_V3
selenium-webdriver.gemspec
Allow rubyzip version 3.x in dependencies
rb/selenium-webdriver.gemspec
< 3.0
to< 4.0