Skip to content
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

[fastlane-core] Require rubyzip >= 2.0.0 #16660

Merged
merged 1 commit into from Jun 28, 2020

Conversation

aried3r
Copy link
Contributor

@aried3r aried3r commented Jun 24, 2020

Checklist

  • I've run bundle exec rspec from the root directory to see all new and existing tests pass
  • I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Motivation and Context

2.x fixes some bugs and also supports only Ruby 2.4 and above, like fastlane. Zip.validate_entry_sizes = true was removed because it's the default in rubyzip 2.x.

https://github.com/rubyzip/rubyzip/blob/v2.3.0/rubyzip.gemspec#L23
https://github.com/rubyzip/rubyzip/blob/v2.3.0/Changelog.md

https://github.com/rubyzip/rubyzip/blob/v2.3.0/Changelog.md#130-2019-09-25
https://github.com/fastlane/fastlane/blob/2.150.0.rc1/fastlane_core/lib/fastlane_core/ipa_file_analyser.rb#L40

Edit:
Related PRs:
#16072
#15970

Description

The only direct usage of rubyzip I could find was in ipa_file_analyzer.rb, I did not find any usage that should break with this change.

Testing Steps

Ran all specs and especially the ipd_file_analyzer_specs.rb, which pass with rubyzip 2.3.

@aried3r
Copy link
Contributor Author

aried3r commented Jun 24, 2020

Just saw #15970 (comment). @joshdholtz, do you want me to make it >= 2.0.0?

@joshdholtz
Copy link
Member

Yes please!

@aried3r aried3r force-pushed the ar/loosen_rubyzip_dependency branch from 6c06b90 to 4c942bb Compare June 24, 2020 13:00
@aried3r aried3r changed the title [fastlane-core] Allow rubyzip 2.x [fastlane-core] Require rubyzip >= 2.0.0 Jun 24, 2020
@aried3r
Copy link
Contributor Author

aried3r commented Jun 24, 2020

Done.

@janpio janpio merged commit 0622cae into fastlane:master Jun 28, 2020
@janpio
Copy link
Member

janpio commented Jun 28, 2020

Thanks.

@fastlane-bot
Copy link

Hey @aried3r 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a week, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀

Copy link

@fastlane-bot fastlane-bot left a comment

Choose a reason for hiding this comment

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

Congratulations! 🎉 This was released as part of fastlane 2.150.0 🚀

minuscorp pushed a commit to minuscorp/fastlane that referenced this pull request Jul 18, 2020
@fastlane fastlane locked and limited conversation to collaborators Aug 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants