redis-expiring-set 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +6 -1
- data/lib/redis-expiring-set/monkeypatch.rb +2 -0
- data/lib/redis-expiring-set/version.rb +1 -1
- metadata +3 -3
data/README.markdown
CHANGED
@@ -58,10 +58,15 @@ At this point you can use `xadd`, `xrem`, `xcard`, `xmembers`, and
|
|
58
58
|
default functionality because I don't want you to have to monkeypatch Redis for
|
59
59
|
this if you don't want to.
|
60
60
|
|
61
|
+
## Get it
|
62
|
+
|
63
|
+
It's a gem named redis-expiring-set. Install it and make it available however
|
64
|
+
you prefer.
|
65
|
+
|
61
66
|
## Performance
|
62
67
|
|
63
68
|
Redis::ExpiredSet uses nothing but native Redis functions to manipulate data,
|
64
|
-
and under the hood we use sorted sets. Expiring items in the
|
69
|
+
and under the hood we use sorted sets. Expiring items in the set is only done
|
65
70
|
when it's absolutely necessary, so there should be a minimal number of
|
66
71
|
unnecessary operations.
|
67
72
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-expiring-set
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
16
|
-
requirement: &
|
16
|
+
requirement: &70245415231620 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70245415231620
|
25
25
|
description: Add some commands to Redis that make it easy to work with a set of objects
|
26
26
|
that need to expire individually.
|
27
27
|
email:
|