Commit 981a53c5 authored by Marius Rackwitz's avatar Marius Rackwitz

Merge pull request #5443 from CocoaPods/mr-gemfile-guard

[Gemfile] Add flag to skip unreleased versions
parents 83fa2bb0 7e56c114
SKIP_UNRELEASED_VERSIONS = false
# Declares a dependency to the git repo of CocoaPods gem. This declaration is # Declares a dependency to the git repo of CocoaPods gem. This declaration is
# compatible with the local git repos feature of Bundler. # compatible with the local git repos feature of Bundler.
# #
def cp_gem(name, repo_name, branch = 'master', path: false) def cp_gem(name, repo_name, branch = 'master', path: false)
return gem name if SKIP_UNRELEASED_VERSIONS
opts = if path opts = if path
{ :path => "../#{repo_name}" } { :path => "../#{repo_name}" }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment