lsegal/jamespath — pull request #1 by trevorrowe (2014-09-10 20:03:44+00:00)
Title: Search should return [] instead of `nil`

The following snippet demonstrates the bug. I also added this as a test case.

```ruby
data = {"items"=>[{"nestedItems"=>[]}]}
path = 'items[].nestedItems[].not.there'
Jamespath.search(path, data)
#=> returns nil, should return []
```