rubymotion/BubbleWrap — pull request #348 by markrickert (2014-02-26 02:16:07+00:00)
Title: Adds BW::Location.get_compass & BW::Location.get_compass_once

Returns a hash of a `CLHeading` object in the form of:

```ruby
{
magnetic_heading: newHeading.magneticHeading,
true_heading: newHeading.trueHeading,
accuracy: newHeading.headingAccuracy,
timestamp: newHeading.timestamp,
}
```

### Example usage:

```ruby
BW::Location.get_compass do |heading|
puts heading[:magnetic_heading]
end
```

### Tests:

`798 specifications (1185 requirements), 0 failures, 0 errors`