Sha256: e8ae3375aaaf4278b23ab481ae966f937fe59f048c25ca402e79d68ca6c85b4b

Contents?: true

Size: 816 Bytes

Versions: 9

Compression:

Stored size: 816 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'] =~ /artifactory\.delivery\.puppetlabs\.net/
  gem "scooter", *location_for(ENV['SCOOTER_VERSION'] || '~> 3.0')
end

gem 'deep_merge'

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
beaker-pe-1.41.1 Gemfile
beaker-pe-1.41.0 Gemfile
beaker-pe-1.40.7 Gemfile
beaker-pe-1.40.6 Gemfile
beaker-pe-1.40.5 Gemfile
beaker-pe-1.40.4 Gemfile
beaker-pe-1.40.3 Gemfile
beaker-pe-1.40.2 Gemfile
beaker-pe-1.40.1 Gemfile