Sha256: b784abe3df6b25f7c6f987c3499c1941069897a6aa272deb7129780a72fb81ec

Contents?: true

Size: 727 Bytes

Versions: 2

Compression:

Stored size: 727 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

gem "beaker", *location_for(ENV['BEAKER_VERSION'] || "~> 3.10")
gem "beaker-hostgenerator", *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'] || "~> 0.3")
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || "~> 0.2")
gem 'rake', "~> 10.1.0"
gem "multi_json", "~> 1.8"

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
facter-3.11.0.cfacter.20180319 ext/facter/facter/acceptance/Gemfile
cfacter-3.11.0.rc.20180314 ext/facter/facter/acceptance/Gemfile