backports: Alias 1.5 new Vagrant::UI::Interface methods
This commit is contained in:
parent
f67c6a1f31
commit
f2c1f70cc7
2 changed files with 9 additions and 0 deletions
8
lib/vagrant-backports/ui.rb
Normal file
8
lib/vagrant-backports/ui.rb
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
module Vagrant
|
||||||
|
module UI
|
||||||
|
class Interface
|
||||||
|
alias :output :info
|
||||||
|
alias :detail :info
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -25,6 +25,7 @@ unless Vagrant::Backports.vagrant_1_3_or_later?
|
||||||
require 'vagrant-backports/action/wait_for_communicator'
|
require 'vagrant-backports/action/wait_for_communicator'
|
||||||
end
|
end
|
||||||
unless Vagrant::Backports.vagrant_1_5_or_later?
|
unless Vagrant::Backports.vagrant_1_5_or_later?
|
||||||
|
require 'vagrant-backports/ui'
|
||||||
require 'vagrant-backports/action/handle_box'
|
require 'vagrant-backports/action/handle_box'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue