tasks/redis_store.rake in progressrus-0.1.8 vs tasks/redis_store.rake in progressrus-1.0.0

- old
+ new

@@ -5,9 +5,9 @@ namespace :store do desc "Flushes the current Progressrus.store." task :flush, :environment do |t, args| scope = *args raise ArgumentError.new("Must pass [scope] to progressrus:store:flush[scope(,parts)] task.") unless scope.length > 0 - Progressrus.stores.first.flush(scope) if Progressrus.stores.first + Progressrus.stores[:redis].flush(scope) if Progressrus.stores[:redis] end end end