Sha256: 7401ec1e417d1a0ca1dc7e8881bb745070905ec0474d8dae3b58f9191c3810b0

Contents?: true

Size: 487 Bytes

Versions: 3

Compression:

Stored size: 487 Bytes

Contents

source ENV['GEM_SOURCE'] || "https://rubygems.org"

def location_for(place, fake_version = nil)
  if place =~ /^((?:git|https?)[:@][^#]*)#(.*)/
    [fake_version, { :git => $1, :branch => $2, :require => false }].compact
  elsif place =~ /^file:\/\/(.*)/
    ['>= 0', { :path => File.expand_path($1), :require => false }]
  else
    [place, { :require => false }]
  end
end

gem 'puppet_docker_tools', *location_for(ENV['PUPPET_DOCKER_LOCATION'] || '~> 0.2')
gem 'rspec_junit_formatter'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
r10k-3.1.0 docker/Gemfile
r10k-2.6.5 docker/Gemfile
r10k-3.0.3 docker/Gemfile