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

Restore compatibility with rubyzip < 2.1.0 #107

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

slonopotamus
Copy link
Contributor

Sorry, I broke this in #106

I'm not sure you want to test that much combos on GH-Actions, feel free to ask for adjustments.

@@ -6,6 +6,7 @@ jobs:
matrix:
ruby: [2.4, 2.5, 2.6, 2.7, jruby]
platform: [ubuntu-latest, macos-latest, windows-latest]
rubyzip: [1.1.2, '']
Copy link
Owner

@skoji skoji Feb 12, 2020

Choose a reason for hiding this comment

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

Usually, a test should be written for a fixed bug, so this is good. But I think it is not necessary for this case. I don't think gepub will use a new rubyzip API in the near future.

I propose to remove rubyzip variation test from the test matrix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think gepub will use a new rubyzip API in the near future.

Well, it happened unintentionally.

I propose to remove rubyzip variation test from the test matrix.

Okay, updated PR.

Turns out, Zip::DOSTime.from_time only appeared in 2.1.0:
rubyzip/rubyzip@2bdd37d
Copy link
Owner

@skoji skoji left a comment

Choose a reason for hiding this comment

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

Thanks!

@skoji skoji merged commit 4ea9ace into skoji:master Feb 12, 2020
@slonopotamus slonopotamus deleted the older-rubyzip branch February 12, 2020 12:58
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.

2 participants