Module: Gitlab::DependencyLinker::Cocoapods

Included in:
PodfileLinker, PodspecJsonLinker, PodspecLinker
Defined in:
lib/gitlab/dependency_linker/cocoapods.rb

Instance Method Summary collapse

Instance Method Details

#package_url(name) ⇒ Object


6
7
8
9
# File 'lib/gitlab/dependency_linker/cocoapods.rb', line 6

def package_url(name)
  package = name.split("/", 2).first
  "https://cocoapods.org/pods/#{package}"
end