Sha256: 98efd9283931a3174c75300d5b41a3ed9c90f99ffda56cd4d6e74c33045fca25

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

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


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beaker-puppet-0.8.0 Gemfile