lib/vagrant-invade/plugin.rb in vagrant-invade-0.5.5 vs lib/vagrant-invade/plugin.rb in vagrant-invade-0.6.0

- old
+ new

@@ -1,15 +1,13 @@ -require 'vagrant' - module VagrantPlugins module Invade class Plugin < Vagrant.plugin('2') name 'invade command' description 'This plugin configures Vagrant for you' - command('invade') do - require File.expand_path("../command/root", __FILE__) + command(:invade) do + require File.expand_path('../command/root', __FILE__) Command::Root end # Disable hook for now. Use commands instead of auto mode @@ -23,8 +21,8 @@ # # 4. Creates generated Vagrantfile # hook.prepend(Action.build) # end end - autoload :Action, File.expand_path("../action/", __FILE__) + autoload :Action, File.expand_path('../action/', __FILE__) end end