spec/model_helper.rb in redistat-0.3.0 vs spec/model_helper.rb in redistat-0.4.0
- old
+ new
@@ -1,30 +1,31 @@
require "redistat"
class ModelHelper1
include Redistat::Model
-
-
+
+
end
class ModelHelper2
include Redistat::Model
-
+
depth :day
store_event true
hashed_label true
-
+
end
class ModelHelper3
include Redistat::Model
-
+
connect_to :port => 8379, :db => 14
-
+
end
class ModelHelper4
include Redistat::Model
-
+
scope "FancyHelper"
-
-end
\ No newline at end of file
+ expire :hour => 24*3600
+
+end