lib/resque_admin/stat.rb in resque_admin-1.0.4 vs lib/resque_admin/stat.rb in resque_admin-1.0.5

- old
+ new

@@ -1,6 +1,6 @@ -module Resque +module ResqueAdmin # The stat subsystem. Used to keep track of integer counts. # # Get a stat: Stat[name] # Incr a stat: Stat.incr(name) # Decr a stat: Stat.decr(name) @@ -8,10 +8,10 @@ module Stat extend self # Direct access to the Redis instance. def redis - Resque.redis + ResqueAdmin.redis end alias :data_store :redis # Returns the int value of a stat, given a string stat name. def get(stat)