Sha256: 0aa84fce6cac1079a031b1b2ea4267714cd98c26cde63278db196727654e2d0d

Contents?: true

Size: 795 Bytes

Versions: 24

Compression:

Stored size: 795 Bytes

Contents

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

gemspec

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

# We don't put beaker in as a test dependency because we
# don't want to create a transitive dependency
group :acceptance_testing do
  gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 3.0')
end

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

if File.exists? "#{__FILE__}.local"
  eval(File.read("#{__FILE__}.local"), binding)
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
beaker-pe-1.32.0 Gemfile
beaker-pe-1.31.0 Gemfile
beaker-pe-1.30.0 Gemfile
beaker-pe-1.29.0 Gemfile
beaker-pe-1.28.0 Gemfile
beaker-pe-1.27.0 Gemfile
beaker-pe-1.26.0 Gemfile
beaker-pe-1.25.0 Gemfile
beaker-pe-1.24.0 Gemfile
beaker-pe-1.23.0 Gemfile
beaker-pe-1.22.0 Gemfile
beaker-pe-1.21.0 Gemfile
beaker-pe-1.20.0 Gemfile
beaker-pe-1.19.0 Gemfile
beaker-pe-1.18.0 Gemfile
beaker-pe-1.17.0 Gemfile
beaker-pe-1.16.0 Gemfile
beaker-pe-1.15.0 Gemfile
beaker-pe-1.14.0 Gemfile
beaker-pe-1.13.0 Gemfile