calabash/calabash-ios-server — pull request #47 by jmoody (2014-07-31 12:47:36+00:00)
Title: name refactor of uiaroute uiachannel

## motivation

There are two ways to interact with the UIA API:

1. read and write UIA commands from NSUserDefaults standardUserDefaults (aka 'fast') using the UIATarget API
2. read and write UIA commands on the test host machine (aka 'run loop') using the UIAHost API

In master, the 'fast' method is implemented in the UIARoute and UIAChannel

I was reviewing this code while trying to implement iOS 8 and Xcode 6 support and wasted a lot of time before I realized that the 'run loop' method was implemented in javascript [1], not on the server.

I thought that 'fast' UIA had somehow _replaced_ an implementation of 'run loop'. I was incorrect.

This pull request is a straight name-change refactor for UIARoute and UIAChannel to: LPUIARouteOverUserPrefs and LPUIAUserPrefsChannel.

I bumped the server version, but there is no need to update the ruby API; the name of the route ('uia') is unchanged.

## todo

- [ ] @krukow I believe I did the right thing WRT to the frank route, but you should have look.

## links

- [1] https://github.com/calabash/run_loop/blob/master/scripts/run_loop_host.js