2aedd4eee3
Version bump to 0.0.5
2010-11-28 11:55:50 +00:00
f906cf068e
added a spec for Collection#total
2010-11-28 11:52:23 +00:00
18e6125c6a
Added support for connection_ref's down throughout
...
the code, so models can connect to specific Redis
servers.
I believe a lot of the code needs some
restructuring at some point down the line to
handle multiple connections in a cleaner way, but
for now it'll do.
2010-11-28 11:47:26 +00:00
dc162e0c89
initial work to being able to use per-model redis
...
configurations
2010-11-28 10:10:58 +00:00
490356ee96
Bumped version to 0.0.4
2010-11-24 13:50:54 +00:00
20280f2c5d
switched to using bundle's own gemspec format
...
instead of jeweler
2010-11-24 13:46:03 +00:00
62c3492c93
some whitespace cleanup
2010-11-24 00:36:44 +00:00
c5f52455cc
replaced Redistat::Model#find alias to #fetch with
...
#lookup instead to avoid conflicts with
ActiveRecord
2010-11-24 00:36:25 +00:00
8a0e1a47a2
added proper support for hashed_label option, and
...
disabled it by default
2010-11-22 13:28:19 +00:00
b554b617f2
Redistat::Result is now a HashWithIndifferentAccess
...
instead of a regular Hash
2010-11-22 12:22:56 +00:00
aaec15880c
active_support/time is already required by time_ext
2010-11-22 12:22:18 +00:00
9c85041706
Redistat::Model is working
2010-11-22 12:10:47 +00:00
aaf98a8a62
reordered the argument order to Event.new
2010-11-22 12:09:36 +00:00
6d04d58d82
Redistat::Finder returns collections with results
...
within it properly, and all specs passing
2010-11-07 23:37:17 +00:00
426f006426
actually require the collection file
2010-11-07 23:32:32 +00:00
b6ceabf8b3
Redistat::Date can now take the output from it's
...
own #to_s method as input.
2010-11-07 22:30:01 +00:00
24bf57000e
* Redistat::Finder raises an InvalidOptions
...
exception if options are invalid.
* Separated Finder#find method into smaller parts.
2010-11-07 21:50:39 +00:00
715d96db9c
Created Redistat::Result and started using it
...
Finder.
All specs pass.
2010-10-18 23:43:03 +01:00
dce49f637c
added depth attribute to Redistat::Date
2010-10-18 23:40:09 +01:00
9cab9647ce
return result sets as a Redistat::Result object
2010-10-18 23:07:42 +01:00
44ea115ca7
cleaner code in Redistat::Finder
2010-10-18 00:58:11 +01:00
5299b64fbc
renamed :sub DateSet key to :rem
2010-10-18 00:57:25 +01:00
b6aa9c65ac
finder and it's specs work!
2010-10-15 01:47:16 +01:00
64b607e608
apply same active support fix as time_ext
2010-09-28 19:25:34 +03:00
be464ec298
Replaced KeySelection class with a more logical
...
Finder class.
2010-08-24 13:17:18 +03:00
3a46a2ae2e
Redistat::KeySelection class and specs
2010-08-11 18:14:53 +03:00
776477b5dc
some cleanup
2010-08-11 18:13:07 +03:00
ac3abcf08b
improved Redistat::Database
2010-07-29 20:17:36 +03:00
51bdc73387
added jeweler, yard, and more to rakefile
2010-07-27 20:59:27 +03:00
3d411bfc2e
renamed extensions folder
2010-07-27 20:55:59 +03:00
805ef21af4
moved ruby core class extensions to separate files
2010-07-26 17:34:53 +03:00
20429b3da8
added some more helpers to Date, Time and Fixnum
...
classes
2010-07-26 14:08:28 +03:00
9e35e7e9e9
renamed methods internally in Redistat::Date
2010-07-26 14:07:58 +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
a260faafa4
Redistat::Summary.update_all returns nil instead
...
of false if supplied stats hash is empty
2010-07-24 11:16:54 +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
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
9403aacd96
make Redistat::Key abide by the hash_label option
2010-07-19 12:03:55 +03:00