debian-mirror-gitlab/lib/gitlab/dependency_linker/cocoapods.rb
2018-12-23 12:14:25 +05:30

12 lines
239 B
Ruby

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