Merge pull request #393 from puppetlabs/pdksync_pdksync-pdkgemupdate

pdksync - (maint) Override pdk gem version to master branch (PDK-1525 workaround until release)
This commit is contained in:
cmccrisken-puppet
2019-10-24 21:09:25 +01:00
committed by GitHub

View File

@@ -1,4 +1,5 @@
source ENV['GEM_SOURCE'] || 'https://rubygems.org' source ENV['GEM_SOURCE'] || 'https://rubygems.org'
gem 'pdk', git: 'https://github.com/puppetlabs/pdk.git', branch: 'master'
def location_for(place_or_version, fake_version = nil) def location_for(place_or_version, fake_version = nil)
git_url_regex = %r{\A(?<url>(https?|git)[:@][^#]*)(#(?<branch>.*))?} git_url_regex = %r{\A(?<url>(https?|git)[:@][^#]*)(#(?<branch>.*))?}
@@ -69,4 +70,4 @@ extra_gemfiles.each do |gemfile|
eval(File.read(gemfile), binding) eval(File.read(gemfile), binding)
end end
end end
# vim: syntax=ruby # vim: syntax=ruby