Sha256: a048048b495edd5dc27491724bd8542953ec6c3c5fc3b05a96d8e16a20e777b8

Contents?: true

Size: 547 Bytes

Versions: 7

Compression:

Stored size: 547 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.0')
end


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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
beaker-puppet-0.7.0 Gemfile
beaker-puppet-0.6.0 Gemfile
beaker-puppet-0.5.0 Gemfile
beaker-puppet-0.4.0 Gemfile
beaker-puppet-0.3.0 Gemfile
beaker-puppet-0.2.0 Gemfile
beaker-puppet-0.1.0 Gemfile