lib/shelly/app.rb in shelly-0.0.46.pre3 vs lib/shelly/app.rb in shelly-0.0.46.pre4

- old
+ new

@@ -145,10 +145,15 @@ File.read(file_name_or_code) else file_name_or_code end - response = shelly.run(code_name, code) + response = shelly.command(code_name, code, :ruby) + response["result"] + end + + def rake(task) + response = shelly.command(code_name, task, :rake) response["result"] end def attributes @attributes ||= shelly.app(code_name)