lib/blobby/logging_store.rb in blobby-1.0.1 vs lib/blobby/logging_store.rb in blobby-1.1.0

- old
+ new

@@ -13,12 +13,13 @@ def available? store.available? end def [](key) - StoredObject.new(store[key], - :on_write => -> { logger.info(%(wrote to #{key.inspect} in #{store_name})) }, - :on_delete => -> { logger.info(%(deleted #{key.inspect} from #{store_name})) } + StoredObject.new( + store[key], + :on_write => -> { logger.info(%(wrote to #{key.inspect} in #{store_name})) }, + :on_delete => -> { logger.info(%(deleted #{key.inspect} from #{store_name})) } ) end private