lib/shelly/app.rb in shelly-0.0.46.pre2 vs lib/shelly/app.rb in shelly-0.0.46.pre3
- old
+ new
@@ -145,15 +145,10 @@
File.read(file_name_or_code)
else
file_name_or_code
end
- response = shelly.command(code_name, code, :ruby)
- response["result"]
- end
-
- def rake(task)
- response = shelly.command(code_name, task, :rake)
+ response = shelly.run(code_name, code)
response["result"]
end
def attributes
@attributes ||= shelly.app(code_name)