lib/pinch_hitter/message/json.rb in pinch_hitter-0.5.3 vs lib/pinch_hitter/message/json.rb in pinch_hitter-0.5.4

- old
+ new

@@ -26,10 +26,10 @@ hash = find_nested_hash(doc, key) if has_key(hash, key) hash[key] = value end end - doc.to_s + doc.to_json end def find_nested_hash(parent, key) return parent if has_key(parent, key) return nil unless parent.respond_to? :each