lib/jsonpath/enumerable.rb in jsonpath-0.5.3 vs lib/jsonpath/enumerable.rb in jsonpath-0.5.4

- old
+ new

@@ -41,9 +41,10 @@ else yield node if process_function_or_literal(sub_path[1, sub_path.size - 1]) end else if node.is_a?(Array) + next if node.empty? array_args = sub_path.split(':') if array_args[0] == ?* start_idx = 0 end_idx = node.size - 1 else