From 7dcfe1e2d9c7a86e25ed9c88d1951f3638c6993d Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Wed, 3 Jul 2013 11:18:47 -0700 Subject: [PATCH] Default to Auto Update Package for files that aren't included in the Xml --- lib/abusetheforce.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/abusetheforce.rb b/lib/abusetheforce.rb index 73836d4..4335ae1 100644 --- a/lib/abusetheforce.rb +++ b/lib/abusetheforce.rb @@ -96,6 +96,9 @@ module AbuseTheForce build_client end + # Set auto update + options[:auto_update_package] = true + if File.file? File.join(dpath, 'package.xml') @client.deploy(File.expand_path(dpath), options). on_complete { |job|