debian-mirror-gitlab/lib/gitlab/dependency_linker/cocoapods.rb
2019-02-15 15:39:39 +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