Sha256: a86c82dea0940b660707d4ccaac3f7a5d17fb7704f5bba92f14276e3579fd3d9

Contents?: true

Size: 799 Bytes

Versions: 17

Compression:

Stored size: 799 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'] || '~> 2.0')
end

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


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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
beaker-pe-0.12.2 Gemfile
beaker-pe-0.12.1 Gemfile
beaker-pe-0.12.0 Gemfile
beaker-pe-0.11.0 Gemfile
beaker-pe-0.10.1 Gemfile
beaker-pe-0.10.0 Gemfile
beaker-pe-0.9.0 Gemfile
beaker-pe-0.8.0 Gemfile
beaker-pe-0.7.0 Gemfile
beaker-pe-0.6.0 Gemfile
beaker-pe-0.5.0 Gemfile
beaker-pe-0.4.0 Gemfile
beaker-pe-0.3.0 Gemfile
beaker-pe-0.2.0 Gemfile
beaker-pe-0.1.2 Gemfile
beaker-pe-0.1.1 Gemfile
beaker-pe-0.1.0 Gemfile