update Gemfile and test Vagrantfile to support vagrant 1.5

relates to #80
This commit is contained in:
Paulo Bittencourt 2014-03-17 21:07:43 -04:00
parent c5e3b5e345
commit 3350c07bdc
2 changed files with 7 additions and 3 deletions

View File

@ -1,7 +1,9 @@
source 'https://rubygems.org'
group :development do
gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.2.7'
gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.5.1'
end
gemspec
group :plugins do
gemspec
end

4
test/Vagrantfile vendored
View File

@ -1,7 +1,9 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_plugin('vagrant-hostmanager')
if Gem::Version.new(::Vagrant::VERSION) < Gem::Version.new('1.5')
Vagrant.require_plugin('vagrant-hostmanager')
end
Vagrant.configure('2') do |config|
config.vm.box = 'precise64'