README.md in basket-0.0.5 vs README.md in basket-0.0.6

- old
+ new

@@ -30,11 +30,11 @@ egg = { egg: {color: brown, size: medium}} Basket.add('QuicheBasket', egg) end ``` -The item added to the basket can be any data you want! If you are using the in memory Queue, it is fine to store Ruby objects, but if you have a different backend, it might be better to stick to easily serializable objects. +The item added to the basket can be any data you want! If you are using the in memory Queue, it is fine to store Ruby objects, but if you have a different backend, must be JSON serializable via `to_json`. ```ruby class QuicheBasket # Include the Basket::Batcher include Basket::Batcher @@ -98,10 +98,10 @@ end ``` The defaults for a redis backend are the standard `"127.0.0.1"`, `6379`, `15` with a namespace of `:basket`. -The default for the backend is the HashBackend, which can be set by passing `:hash` to `config.backend`, but you don't have to do that. Because it's the default! +The default for the backend is the MemoryBackend, which can be set by passing `:memory` to `config.backend`, but you don't have to do that. Because it's the default! For the redis configuration, you can alternatively pass a url, thusly: ```ruby Basket.configure do |config|