Commit Graph

47 Commits

Author SHA1 Message Date
ee83549c71 fixed a spec typo *whistles* 2010-07-25 21:15:07 +03:00
7cbed7e683 Redistat::Event should store summarized statistics
spec
2010-07-25 21:14:53 +03:00
0d3d5469c0 moved DEPTHS constant from Summary class to the
Date class and using it (mostly) everywhere
2010-07-25 18:07:41 +03:00
14d2bc1189 moved around methods in Redistat::Event 2010-07-24 21:37:34 +03:00
d7c343b371 cleaner code for Redistat::Summary 2010-07-24 21:04:05 +03:00
f8f2ece6e3 some spec cleanup 2010-07-24 11:17:12 +03:00
a260faafa4 Redistat::Summary.update_all returns nil instead
of false if supplied stats hash is empty
2010-07-24 11:16:54 +03:00
a07865cd37 spec for checking if Redis test server supports
hashes
2010-07-24 11:16:23 +03:00
1c818024e5 created Redistat::Summary object 2010-07-23 23:27:55 +03:00
0f11eb66e1 sorted requires alphabetically 2010-07-23 23:17:03 +03:00
7830b0c5be added default depth option to Key object 2010-07-23 22:41:10 +03:00
de3d63282b removed time and time= alias methods on
Redistat::Event which were identical to the date
methods
2010-07-23 22:08:01 +03:00
9c9b784a8a lots of changes and cleanup, among others created
a Redistat::Scope object
2010-07-23 21:50:28 +03:00
22515337f6 call hmset once instead of multiple calls to hset 2010-07-20 15:40:55 +03:00
2b247d228e added pending spec example 2010-07-20 03:02:54 +03:00
c7c4e4345f Redistat::Event stores events 2010-07-20 03:00:45 +03:00
ebfdfcabea updated some redis client object access code 2010-07-20 02:59:37 +03:00
1daf8613dd added standard redis key name constants 2010-07-20 02:58:58 +03:00
de018d7348 exposed the scope attribute of Event and Key
objects
2010-07-20 01:07:55 +03:00
475fc6e1a6 renamed hash_label option to label_hash 2010-07-20 00:56:30 +03:00
249a4b5cfd allow date/time and label to be changed on
Redistat::Key and Redistat::Event objects
2010-07-19 17:53:21 +03:00
cfbbb7d83a updated Redistat::Key spec 2010-07-19 12:31:04 +03:00
9403aacd96 make Redistat::Key abide by the hash_label option 2010-07-19 12:03:55 +03:00
8a22b2134b ensure Redistat::Label.name is always a string 2010-07-19 12:03:25 +03:00
7704c73b98 added microsecond/usec support to Redistat::Date 2010-07-19 11:46:38 +03:00
251ca5d90d added integer input/output support to
Redistat::Date so Unix timestamps can be used
directly
2010-07-19 11:24:18 +03:00
e01ae94a5e restructured Redistat::Date a bit 2010-07-19 11:22:46 +03:00
7d256d5e24 removed "self." from Redistat::Date where not
needed
2010-07-19 11:12:54 +03:00
96009bae50 created a to_rs alias method for to_redistat on
Time and Date objects
2010-07-19 10:57:16 +03:00
42f154f1a7 added to_t and to_d method aliases to
Redistat::Date for the to_time and to_date methods
respectively
2010-07-19 10:46:33 +03:00
811389afaf updated, cleaned up, and fixed a bug in the
Redistat::Date spec
2010-07-19 10:38:53 +03:00
df9d8a055d Redistat::Date's hour, min, and sec attributes are
set all set to 0 instead of nil when the object is
initialized from a Date object
2010-07-19 10:38:14 +03:00
42de09a95b better spec name 2010-07-19 10:36:09 +03:00
d4d42d6f68 updated specs to test to_redistat method on Time
and Date objects
2010-07-19 10:08:24 +03:00
6c9c3bf606 moved Time and Date overloads into date.rb 2010-07-19 10:07:49 +03:00
c110479efd updated .gitignore file 2010-07-19 03:03:58 +03:00
df70d3e89b removed redis dump file 2010-07-19 03:02:27 +03:00
9a69c15ae2 some initial work on Redistat::Event 2010-07-19 02:50:24 +03:00
515d265853 updated .gitignore 2010-07-19 02:50:00 +03:00
86dfff1672 specs for Redistat::Key 2010-07-19 02:32:54 +03:00
3357667e2a specs for Redistat::Date.to_time/to_date 2010-07-19 02:29:26 +03:00
e4c46ca958 give back full access to the label object of keys 2010-07-19 02:28:22 +03:00
fd1f1556c9 Redistat::Key uses Redistat::Date internally 2010-07-19 02:28:02 +03:00
5bd2301102 added to_date and to_time methods to Redistat::Date 2010-07-19 02:25:29 +03:00
f1e3f20c88 more specs for Redistat and Redistat::Label 2010-07-19 01:38:44 +03:00
94001afc29 bit cleaner code 2010-07-19 01:38:06 +03:00
afd6265288 initial import 2010-07-19 01:06:45 +03:00