lib/basket/configuration.rb in basket-0.0.5 vs lib/basket/configuration.rb in basket-0.0.6

- old
+ new

@@ -5,18 +5,18 @@ def initialize @redis_host = "127.0.0.1" @redis_port = 6379 @redis_db = 15 - @backend = BackendAdapter::HashBackend + @backend = BackendAdapter::MemoryBackend @namespace = :basket @redis_url = nil end def backend=(backend) case backend - when :hash - @backend = BackendAdapter::HashBackend + when :memory + @backend = BackendAdapter::MemoryBackend when :redis @backend = BackendAdapter::RedisBackend else raise Basket::Error, "Unknown Backend" end