Sha256: 9829678c98e49c0f6915311bdc7521296be8da9efdfd36ffe3a678c1b297b580

Contents?: true

Size: 708 Bytes

Versions: 1

Compression:

Stored size: 708 Bytes

Contents

source ENV['GEM_SOURCE'] || "https://rubygems.org"

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

beaker_version = ENV['BEAKER_VERSION']

if beaker_version
  gem 'beaker', *location_for(beaker_version)
else
  gem 'beaker'
end

# For running the spec/acceptance/example_spec.rb
gem 'beaker-vagrant'

# Dependencies for CI acceptance testing; TODO: fix CI so this can be removed
gem 'beaker-hostgenerator'
gem 'beaker-vmpooler', '~> 1.3'

gemspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beaker-rspec-6.3.0 Gemfile