Sha256: 2e44ce72abb0e874566b48436eccfe8ba0566dbdd77195c5aaee22f4c490a143

Contents?: true

Size: 631 Bytes

Versions: 6

Compression:

Stored size: 631 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


group :test do
  gem "beaker", *location_for(ENV['BEAKER_VERSION'] || ['>= 4.16.0', '< 5.0.0'])
  gem "beaker-abs", *location_for(ENV['ABS_VERSION'] || '~> 0.4.0')
end


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
beaker-puppet-1.20.0 Gemfile
beaker-puppet-1.19.2 Gemfile
beaker-puppet-1.19.1 Gemfile
beaker-puppet-1.19.0 Gemfile
beaker-puppet-1.18.15 Gemfile
beaker-puppet-1.18.14 Gemfile