jonbuda/miro — pull request #4 by nateklaiber (2012-10-27 14:46:33+00:00)
Title: Update to Cocaine::CommandLine#run with interpolations

With this commit, https://github.com/thoughtbot/cocaine/commit/ec9efa2249d958f368c6baac5a8ca5042a475c3d, the interpolations are now passed to `command` and `run` instead as a hash of options to `new`.

Without this, I receive:

```
convert: unable to open image `in': No such file or directory @ error/blob.c/OpenBlob/2614.
convert: no decode delegate for this image format `in' @ error/constitute.c/ReadImage/532.
convert: invalid argument for option `-resize': :resolution @ error/convert.c/ConvertImageCommand/2355.
Cocaine::ExitStatusError: Command '/usr/local/bin/convert :in -resize :resolution -colors :colors :out' returned 1. Expected 0
```

Which is the original command without the interpolations.