lib/lobstr/deploy.rb in lobstr-0.0.1 vs lib/lobstr/deploy.rb in lobstr-0.0.2

- old
+ new

@@ -1,10 +1,11 @@ module Lobstr class Deploy < ::Lobstr::Base def initialize(target, config_file = 'config/lobstr.yml', &block) @branch,@environment = parse_target(target) @config = Lobstr::Config.new(config_file).parse(@environment) + @app = @config['app'] if block_given? return instance_eval(&block) else return self end @@ -12,9 +13,10 @@ def deploy connect do update bundle_install + restart true notify end end def update