Sha256: 258f10cd294aecda8bf73ce54f94ba4b91d2aee76c76b3a6af5cf1c3284092af

Contents?: true

Size: 589 Bytes

Versions: 30

Compression:

Stored size: 589 Bytes

Contents

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

def location_for(place, fake_version = nil)
  if place =~ /^(git:[^#]*)#(.*)/
    [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

scooter_version = ENV['SCOOTER_VERSION']
if ENV['GEM_SOURCE'] =~ /rubygems\.delivery\.puppetlabs\.net/
  if scooter_version
    gem 'scooter', *location_for(scooter_version)
  else
    gem 'scooter', '~> 2.0'
  end
end

gemspec

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
beaker-2.35.0 Gemfile
beaker-2.34.0 Gemfile
beaker-2.33.0 Gemfile
beaker-2.32.1 Gemfile
beaker-2.32.0 Gemfile
beaker-2.31.0 Gemfile
beaker-2.30.1 Gemfile
beaker-2.30.0 Gemfile
beaker-2.29.1 Gemfile
beaker-2.29.0 Gemfile
beaker-2.28.0 Gemfile
beaker-2.27.0 Gemfile
beaker-2.26.0 Gemfile
beaker-2.25.0 Gemfile
beaker-2.24.0 Gemfile
beaker-2.23.0 Gemfile
beaker-2.22.0 Gemfile
beaker-2.21.0 Gemfile
beaker-2.20.0 Gemfile
beaker-2.19.0 Gemfile