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

fix: rename File.exists? to File.exist? #310

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

arthurgeek
Copy link
Contributor

The deprecated File.exists? alias was removed on Ruby 3.2.0.

File.exist? works on all versions.

ref: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/

The deprecated `File.exists?` alias was removed on Ruby 3.2.0.

`File.exist?` works on all versions.

ref: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
@bogdan bogdan merged commit 57a775c into railsware:master Aug 3, 2023
4 checks passed
@sbscully
Copy link

Would it be possible to release a new gem version with this fix included? I'm tracking master in my Gemfile for now but I would like to pin the version.

@bogdan
Copy link
Collaborator

bogdan commented Nov 13, 2023

Version 2.2.8 includes this change.

@m-shimojo
Copy link

2.2.8 has not been released to rubygems yet, right?
https://rubygems.org/gems/js-routes

Am I missing something?

@bogdan
Copy link
Collaborator

bogdan commented Nov 16, 2023

Sorry, you are right. Released 2.2.8.

@m-shimojo
Copy link

Thanks!

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.

4 participants