gitlab-org--gitlab-foss/lib/gitlab/dependency_linker/cocoapods.rb
2017-05-23 15:35:42 -05:00

10 lines
208 B
Ruby

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