lib/rico/array.rb in rico-0.1.0 vs lib/rico/array.rb in rico-0.2.0
- old
+ new
@@ -57,10 +57,11 @@
result += (v - result)
end
result -= deletions
- obj = Riak::RObject.new(robject.bucket, robject.key)
+ obj = robject.dup
+ obj.siblings = [obj.siblings.first]
obj.data = { "_values" => result, "_deletes" => deletions }
obj
end
protected