pushes/harmony: fixes from @sethvargo
This commit is contained in:
parent
fefaa8da71
commit
81f748347e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue