lib/object/cache.rb in object-cache-0.1.0 vs lib/object/cache.rb in object-cache-0.1.1

- old
+ new

@@ -104,10 +104,10 @@ def replica replicas.sample end def build_key(key, key_prefix, proc) - hash = Digest::SHA1.hexdigest([key, proc.source_location].flatten.join)[0..5] + hash = Digest::SHA1.hexdigest([key, proc.source_location].flatten.join)[0..11] prefix = build_key_prefix(key_prefix, proc) [prefix, hash].compact.join('_') end