lib/shelly/app.rb in shelly-0.4.41 vs lib/shelly/app.rb in shelly-0.4.42
- old
+ new
@@ -233,11 +233,11 @@
def delete_endpoint(uuid)
shelly.delete_endpoint(code_name, uuid)
end
- def rake(task)
- ssh(:command => "rake_runner \"#{task}\"")
+ def rake(task, server = nil)
+ ssh(:command => "rake_runner \"#{task}\"", :server => server)
end
def dbconsole
ssh_with_db_server(:command => "start_dbconsole")
end