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

Removes code duplication #15

Merged
merged 8 commits into from
Apr 24, 2019
Merged

Removes code duplication #15

merged 8 commits into from
Apr 24, 2019

Conversation

iMacTia
Copy link
Owner

@iMacTia iMacTia commented Apr 20, 2019

Description

This PR addresses #14 by moving into the shared module common parts between Sidekiq 4 and 5 job loggers.
It also does a general clean-up and refactoring, introducing Rubocop and fixing most of the cops.
Other cops fixes have been postponed to a future PR as not considered in scope of this one.

Fixes #14

@iMacTia iMacTia requested a review from silviusimeria April 20, 2019 11:36
Copy link
Collaborator

@silviusimeria silviusimeria left a comment

Choose a reason for hiding this comment

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

Moving log_job in the shared module as well, seems to be the right improvement. Nice refactoring and comments addition too.

@iMacTia iMacTia merged commit 9e6d121 into master Apr 24, 2019
@iMacTia iMacTia deleted the fix/#14-code-duplication branch April 24, 2019 08:13
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.

Code duplication
2 participants