Cop/GemFetcher: Refactor and link to development guide
What does this MR do and why?
This MR refactors the Cop/GemFetcher and adds link to development guide (see gitlab-org/gitlab!107224 (merged)).
The refactor reasoning:
- Support more git source like
bitbucketandgist - Use RuboCop's Include directive instead of checking filename
- Use RuboCop's node pattern to reduce code
- Use
RESTRICT_ON_SENDto speed up the check
Edited by Peter Leitzen