From 849e9c73d77b70f5d19c77233de7da23d09a162f Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Sat, 2 Mar 2013 03:57:03 -0300 Subject: [PATCH] Rename LXC::Actions to LXC::Action --- lib/vagrant-lxc/{actions.rb => action.rb} | 2 +- lib/vagrant-lxc/provider.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/vagrant-lxc/{actions.rb => action.rb} (99%) diff --git a/lib/vagrant-lxc/actions.rb b/lib/vagrant-lxc/action.rb similarity index 99% rename from lib/vagrant-lxc/actions.rb rename to lib/vagrant-lxc/action.rb index 5ec962b..30f5178 100644 --- a/lib/vagrant-lxc/actions.rb +++ b/lib/vagrant-lxc/action.rb @@ -2,7 +2,7 @@ module Vagrant module LXC - module Actions + module Action # This action is responsible for reloading the machine, which # brings it down, sucks in new configuration, and brings the # machine back up with the new configuration. diff --git a/lib/vagrant-lxc/provider.rb b/lib/vagrant-lxc/provider.rb index 175d17e..783d6d0 100644 --- a/lib/vagrant-lxc/provider.rb +++ b/lib/vagrant-lxc/provider.rb @@ -1,4 +1,4 @@ -require "vagrant-lxc/actions" +require "vagrant-lxc/action" require "vagrant-lxc/container" require "vagrant-lxc/machine_state" @@ -41,7 +41,7 @@ module Vagrant # given action. action_method = "action_#{name}" # TODO: Rename to singular - return LXC::Actions.send(action_method) if LXC::Actions.respond_to?(action_method) + return LXC::Action.send(action_method) if LXC::Action.respond_to?(action_method) nil end