Permalink
Browse files

Change --war option extraction to use symbol instead of extract_optio…

…n. Version 0.3
  • Loading branch information...
1 parent 437495f commit 38084b5e438903f14e25c1d169ebf1a13fe89416 @ryanbrainard ryanbrainard committed May 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/heroku/command/deploy.rb
@@ -5,7 +5,7 @@
# deploy to an app
#
class Heroku::Command::Deploy < Heroku::Command::BaseWithApp
- VERSION = "0.2"
+ VERSION = "0.3"
DEFAULT_HOST = "direct-to.herokuapp.com"
MAX_UPLOAD_SIZE_MB = 100
MAX_UPLOAD_SIZE_BYTES = MAX_UPLOAD_SIZE_MB*1024*1024
@@ -32,7 +32,7 @@ def index
# -w, --war WARFILE # war to deploy
#
def war
- war = extract_option("--war")
+ war = options[:war]
host = DEFAULT_HOST
if war == nil

0 comments on commit 38084b5

Please sign in to comment.