pushes/harmony: fixes from @sethvargo

This commit is contained in:
Mitchell Hashimoto 2014-10-29 09:52:06 -07:00 committed by Seth Vargo
parent fefaa8da71
commit 81f748347e
2 changed files with 3 additions and 3 deletions

View File

@ -11,13 +11,13 @@ module VagrantPlugins
DESC DESC
config(:harmony, :push) do config(:harmony, :push) do
require File.expand_path("../config", __FILE__) require_relative "config"
init! init!
Config Config
end end
push(:harmony) do push(:harmony) do
require File.expand_path("../push", __FILE__) require_relative "push"
init! init!
Push Push
end end

View File

@ -5,7 +5,7 @@ require "vagrant/util/which"
module VagrantPlugins module VagrantPlugins
module HarmonyPush module HarmonyPush
class Push < Vagrant.plugin("2", :push) class Push < Vagrant.plugin("2", :push)
UPLOADER_BIN = "harmony-upload" UPLOADER_BIN = "harmony-upload".freeze
def push def push
uploader = self.uploader_path uploader = self.uploader_path