Sha256: 7d86ba6c801777e19dd91c4f31d63c103b81151963eb1bc2611a4e1d663eadef

Contents?: true

Size: 820 Bytes

Versions: 1

Compression:

Stored size: 820 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'

group :release do
  gem 'github_changelog_generator', '>= 1.16.4', require: false if RUBY_VERSION >= '2.5'
end

gemspec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
beaker-rspec-7.0.0 Gemfile