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 the delegated methods to public warning #536

Merged
merged 2 commits into from
Nov 26, 2018

Conversation

yujideveloper
Copy link
Contributor

I fixed the following warnings on Ruby 2.4 or later:

/home/vagrant/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/shoryuken-4.0.1/lib/shoryuken/queue.rb:19: warning: Shoryuken#cache_visiblity_timeout? at /home/vagrant/.rbenv/versions/2.5.1/lib/ruby/2.5.0/forwardable.rb:289 forwarding to private method Class#cache_visiblity_timeout?

Ruby 2.3 or earlier has not occurred.
https://travis-ci.org/phstc/shoryuken/jobs/458056202
https://travis-ci.org/phstc/shoryuken/jobs/458056204
https://travis-ci.org/phstc/shoryuken/jobs/458056206
https://travis-ci.org/phstc/shoryuken/jobs/458056208

Ruby 2.4 or later has occurred.
https://travis-ci.org/phstc/shoryuken/jobs/458056210
https://travis-ci.org/phstc/shoryuken/jobs/458056212

yujideveloper and others added 2 commits November 26, 2018 17:12
I fixed the following warnings on Ruby 2.4 or later:
```
/home/vagrant/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/shoryuken-4.0.1/lib/shoryuken/queue.rb:19: warning: Shoryuken#cache_visiblity_timeout? at /home/vagrant/.rbenv/versions/2.5.1/lib/ruby/2.5.0/forwardable.rb:289 forwarding to private method Class#cache_visiblity_timeout?
```
@phstc phstc merged commit 992a336 into ruby-shoryuken:master Nov 26, 2018
@phstc phstc changed the title Fix the delegated methods to public Fix the delegated methods to public warning Nov 26, 2018
@yujideveloper yujideveloper deleted the fix/delegation-warning branch November 26, 2018 13:49
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