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

Finish replacing deprecated File.exists? with File.exist? #1233

Merged
merged 2 commits into from
Sep 6, 2022

Conversation

pat
Copy link
Owner

@pat pat commented Sep 6, 2022

All the hard work has been done by @graaff on #1232 - but my poorly structured tests were getting in the way. My added commit fixes that problem, and CI's all happy. Thanks @graaff!

graaff and others added 2 commits September 6, 2022 21:45
File.exists? is deprecated and issues warning messages when run. One
instance was already updates in
f4973b4 for #1211. This commit
updates the remaining use of File.exists?
Use the original implementation for everything but the specific
path that matters.
@pat pat merged commit c7e0a7c into develop Sep 6, 2022
@pat pat deleted the file-exists-deprecation branch September 6, 2022 13:04
@graaff
Copy link
Contributor

graaff commented Sep 20, 2022

Thanks! I'm sorry I've left that unfinished PR in your lap, but thanks for finishing it.

@jdelStrother
Copy link
Contributor

@pat any chance of a release with this? File.exists? is no longer available in ruby 3.2. 😞

@pat
Copy link
Owner Author

pat commented Dec 30, 2022

Thanks for the reminder @jdelStrother - just published v5.5.0 with this fix included.

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.

3 participants