From 81f748347ecfeaa83fa6ed4ae12c225ddc37eb1d Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 29 Oct 2014 09:52:06 -0700 Subject: [PATCH] pushes/harmony: fixes from @sethvargo --- plugins/pushes/harmony/plugin.rb | 4 ++-- plugins/pushes/harmony/push.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/pushes/harmony/plugin.rb b/plugins/pushes/harmony/plugin.rb index 51630cfbf..331da4b32 100644 --- a/plugins/pushes/harmony/plugin.rb +++ b/plugins/pushes/harmony/plugin.rb @@ -11,13 +11,13 @@ module VagrantPlugins DESC config(:harmony, :push) do - require File.expand_path("../config", __FILE__) + require_relative "config" init! Config end push(:harmony) do - require File.expand_path("../push", __FILE__) + require_relative "push" init! Push end diff --git a/plugins/pushes/harmony/push.rb b/plugins/pushes/harmony/push.rb index f3906d834..660d3b0fb 100644 --- a/plugins/pushes/harmony/push.rb +++ b/plugins/pushes/harmony/push.rb @@ -5,7 +5,7 @@ require "vagrant/util/which" module VagrantPlugins module HarmonyPush class Push < Vagrant.plugin("2", :push) - UPLOADER_BIN = "harmony-upload" + UPLOADER_BIN = "harmony-upload".freeze def push uploader = self.uploader_path