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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NoMethodError on Ruby 3.2 #31

Merged

Conversation

nikz
Copy link
Contributor

@nikz nikz commented Dec 26, 2022

Hi there!

Thank you for the gem 馃槃 Here's a very small (1 char) PR which fixes the face that Ruby has now deprecated the File.exists? method.

See this commit

I replaced it with File.exist? which does exactly the same thing.

Thanks!

Nik

See ruby/ruby@bf97415

Replaces with `File.exist?` which seems equivalent.
@kirillplatonov kirillplatonov merged commit 4a57eef into kirillplatonov:main Dec 26, 2022
@kirillplatonov
Copy link
Owner

Hey @nikz,

Thanks for the contribution! Published v1.2.3 with this fix.

@nikz
Copy link
Contributor Author

nikz commented Dec 26, 2022

Awesome, thanks for doing that so quickly @kirillplatonov!

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.

None yet

2 participants