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

Replace File.exists? with File.exist? for deprecation warning. #61

Merged
merged 1 commit into from
Dec 15, 2016

Conversation

milkcocoa
Copy link

Ruby 2.3.1 says File.exists? is deprecated, and use File.exist? instead as follows, and File.exist? has also existed since Ruby 1.8.x, or before.

ruby/2.3.0/gems/test-queue-0.4.0/lib/test_queue/runner.rb:396: warning: File.exists? is a deprecated name, use File.exist? instead
ruby/2.3.0/gems/test-queue-0.4.0/lib/test_queue/runner.rb:401: warning: File.exists? is a deprecated name, use File.exist? instead

Copy link
Collaborator

@aroben aroben left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@aroben aroben merged commit b6a7509 into tmm1:master Dec 15, 2016
@milkcocoa milkcocoa deleted the suppress-deprecation-warning branch December 16, 2016 00:01
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