calabash/run_loop — pull request #25 by jmoody (2014-09-02 20:24:24+00:00)
Title: Use awesome print for debug logging

Using awesome print with sorted keys can help us spot unusually patterns quickly.

It will also help when users post stack traces to the forums.

@krukow This is first pull-request based off the `develop` branch. I'd like to try using git-flow rules for maintaining this repository.

#### Before

```
script => /Users/moody/git/run-loop/scripts/run_loop_fast_uia.js
uia_strategy => preferences
device_target=simulator
udid=iPhone 5 (8.0 Simulator)
bundle_dir_or_bundle_id=/Users/moody/git/run-loop/spec/resources/chou.app
script=/var/folders/bx/5wplnzxx7492fynry0m_hw080000gp/T/run_loop20140828-17934-1h42mpv/_run_loop.js
log_file=/var/folders/bx/5wplnzxx7492fynry0m_hw080000gp/T/run_loop20140828-17934-1h42mpv/run_loop.out
timeout=30
uia_strategy=preferences
args=[]
inject_dylib=/Users/moody/git/run-loop/spec/resources/dylibs/libCalabashDynSim.dylib
Preparation took 2.411601 seconds
```

#### After

```
Preparation took 1.823257 seconds
{
:app => "/Users/moody/git/run-loop/spec/resources/chou-cal.app",
:args => [],
:bundle_dir_or_bundle_id => "/Users/moody/git/run-loop/spec/resources/chou-cal.app",
:device_target => "simulator",
:log_file => "/var/folders/bx/5wplnzxx7492fynry0m_hw080000gp/T/run_loop20140902-11565-7y25d5/run_loop.out",
:results_dir => "/var/folders/bx/5wplnzxx7492fynry0m_hw080000gp/T/run_loop20140902-11565-7y25d5",
:results_dir_trace => "/var/folders/bx/5wplnzxx7492fynry0m_hw080000gp/T/run_loop20140902-11565-7y25d5/trace",
:script => "/var/folders/bx/5wplnzxx7492fynry0m_hw080000gp/T/run_loop20140902-11565-7y25d5/_run_loop.js",
:udid => "iPhone Retina (4-inch) - Simulator - iOS 7.1",
:uia_strategy => :preferences,
:xcode => "5.1.1",
:xcode_path => "/Xcode/5.1.1/Xcode.app/Contents/Developer"
}
```