mirror of
https://github.com/puppetlabs/beaker-vmpooler.git
synced 2026-01-26 02:58:42 -05:00
Add rbvmomi dependency
This commit is contained in:
parent
d1f0a7b7ea
commit
1f0bfdfab4
2 changed files with 2 additions and 1 deletions
2
Gemfile
2
Gemfile
|
|
@ -5,7 +5,7 @@ gemspec
|
||||||
|
|
||||||
|
|
||||||
def location_for(place, fake_version = nil)
|
def location_for(place, fake_version = nil)
|
||||||
if place =~ /^git:([^#]*)#(.*)/
|
if place =~ /^(git:[^#]*)#(.*)/
|
||||||
[fake_version, { :git => $1, :branch => $2, :require => false }].compact
|
[fake_version, { :git => $1, :branch => $2, :require => false }].compact
|
||||||
elsif place =~ /^file:\/\/(.*)/
|
elsif place =~ /^file:\/\/(.*)/
|
||||||
['>= 0', { :path => File.expand_path($1), :require => false }]
|
['>= 0', { :path => File.expand_path($1), :require => false }]
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
# Run time dependencies
|
# Run time dependencies
|
||||||
s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
|
s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
|
||||||
|
s.add_runtime_dependency 'rbvmomi', '~> 1.9'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue