lib/elastic_search/query_builder.rb in elasticsearch-query-builder-0.6.6 vs lib/elastic_search/query_builder.rb in elasticsearch-query-builder-0.6.7

- old
+ new

@@ -104,10 +104,10 @@ end def add_clause(path, body) return if added?(path, body) - body = body.compact + body = body.compact if body.respond_to?(:compact) if !root_path?(path) && body.is_a?(Array) existing_content = opts.dig(*path) || [] opts.dig(*path.first(path.size - 1)).store(path.last, body + existing_content) elsif root_path?(path) opts[path.first] = body