-
Notifications
You must be signed in to change notification settings - Fork 976
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
Changes the way adapters are managed #750
Conversation
@olleolleolle want to have a look 😄 ? |
|
||
if handler | ||
handler.klass.setup_parallel_manager | ||
if adapter and adapter.respond_to?(:supports_parallel?) and adapter.supports_parallel? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may wish to use &&
over and
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's the Rubocop convention and I've already planned to scan the entire gem through it before releasing 1.0. However in that file and
is preferred to &&
so I went for that.
It's just temporary, we'll eventually converge into the standard and fix all these occurrences later on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes very happy.
Description
Changes the way adapters are managed to gain the following:
Fixes #47 and #121