beaker-vmpooler/Gemfile
Dakota Schneider b8804eb5f1 (MAINT) Drop MockVsphereHelper (#10)
* (MAINT) Update specs to remove VsphereHelper

VsphereHelper is no longer relevant since vmpooler doesn't use vSphere/vCloud any more.

* (MAINT) Drop conflicting, unused dependency on beaker-abs

* (MAINT) Conditionally pin fakefs '< 0.14.0' for Ruby < '2.3.0'

* (MAINT) Remove more VsphereHelper references

And minor whitespace cleanup

* (MAINT) Drop unused beaker-abs dependency

Could have sworn I fixed that... maybe in a different branch?
2018-07-02 08:57:30 -07:00

27 lines
665 B
Ruby

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'] || '~> 3.0')
end
if File.exists? "#{__FILE__}.local"
eval(File.read("#{__FILE__}.local"), binding)
end