calabash/calabash-ios — pull request #588 by JaniJegoroff (2014-11-02 20:31:24+00:00)
Title: Rubocop static code analysis integration

**Background**
Rubocop is static code analyser for Ruby that reports problems in the code and suggests good coding practices based on the Ruby Style Guide. See Rubocop project: https://github.com/bbatsov/rubocop

**Motivation**
This pull request only integrates Rubocop to the project and adds rake task for an easy and fast execution. Actual offences will be fixed and cleaned up in the separate tasks (I will volunteer to start implementing those tasks).

Currently Rubocop detects **2605** offences when `calabash-cucumber/bin` and `calabash-cucumber/lib` folders are analysed: http://www.screencast.com/t/NZjOpQd5

After cleanup tasks are completed we will benefit
1. Cleaner codebase
2. More unified coding style throughout the project
3. Easier to spot new and fatal offences in the future