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

[Ruby3.2] Replace File.exists? with File.file? #117

Closed
wants to merge 2 commits into from

Conversation

EricRoos
Copy link

Due to https://bugs.ruby-lang.org/issues/17391, File.exists? no longer exists in ruby 3.2, thus breaking support.

This commit simply swaps File.exists? with File.file?

Due to https://bugs.ruby-lang.org/issues/17391 `File.exists?` no longer
exists in ruby 3.2, thus breaking support.

This commit simply swaps `File.exists?` with `File.file?`
@EricRoos EricRoos changed the title Replace File.exists? with File.file? [Ruby3.2] Replace File.exists? with File.file? Dec 30, 2022
@EricRoos EricRoos marked this pull request as draft December 30, 2022 03:41
@EricRoos EricRoos marked this pull request as ready for review January 1, 2023 03:27
@malmckay
Copy link
Member

malmckay commented Jan 5, 2023

Hi! Thanks for this PR. I'm closing it in favor of #119, which has additional Ruby 3.2 fixes (in the spec suite)

@malmckay malmckay closed this Jan 5, 2023
@EricRoos
Copy link
Author

EricRoos commented Jan 5, 2023

No problem! As long as we get that sweet 3.2 support its good. Thanks for the look over

@EricRoos
Copy link
Author

EricRoos commented Jan 5, 2023

Was a little scared to bump the repo to rspec 3 :)

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