Sha256: 29db1fc82ef0452441439de3095d74ecfbb7f14f7aae0b9c9d08e9911e580d53

Contents?: true

Size: 665 Bytes

Versions: 9

Compression:

Stored size: 665 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 File.exists? "#{__FILE__}.local"
  eval(File.read("#{__FILE__}.local"), binding)
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
beaker-facter-0.1.2 Gemfile
beaker-facter-0.1.1 Gemfile
beaker-hostgenerator-0.3.3 Gemfile
beaker-facter-0.1.0 Gemfile
beaker-hostgenerator-0.3.2 Gemfile
beaker-hostgenerator-0.3.1 Gemfile
beaker-hostgenerator-0.3.0 Gemfile
beaker-hostgenerator-0.2.0 Gemfile
beaker-hostgenerator-0.1.0 Gemfile