Class: Gitlab::DependencyLinker::GemfileLinker

Inherits:
MethodLinker show all
Defined in:
lib/gitlab/dependency_linker/gemfile_linker.rb

Direct Known Subclasses

PodfileLinker

Constant Summary collapse

GITHUB_REGEX =
/(github:|:github\s*=>)\s*['"](?<name>[^'"]+)['"]/
GIT_REGEX =
/(git:|:git\s*=>)\s*['"](?<name>#{URL_REGEX})['"]/

Constants inherited from BaseLinker

BaseLinker::GIT_INVALID_URL_REGEX, BaseLinker::REPO_REGEX, BaseLinker::URL_REGEX

Instance Attribute Summary

Attributes inherited from BaseLinker

#highlighted_text, #plain_text

Method Summary

Methods inherited from BaseLinker

#external_url, #initialize, link, #link, support?

Constructor Details

This class inherits a constructor from Gitlab::DependencyLinker::BaseLinker