nest 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nest.rb +10 -10
- data/nest.gemspec +1 -1
- metadata +4 -4
data/lib/nest.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
class Nest < String
|
2
|
-
VERSION = "0.0.
|
2
|
+
VERSION = "0.0.6"
|
3
3
|
METHODS = [:append, :blpop, :brpop, :decr, :decrby, :del, :exists,
|
4
4
|
:expire, :expireat, :get, :getset, :hdel, :hexists, :hget, :hgetall,
|
5
|
-
:hincrby, :hkeys, :hlen, :hmset, :hset, :hvals, :incr,
|
6
|
-
:lindex, :llen, :lpop, :lpush, :lrange, :lrem, :lset,
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
10
|
-
:
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:zunionstore]
|
5
|
+
:hincrby, :hkeys, :hlen, :hmget, :hmset, :hset, :hvals, :incr,
|
6
|
+
:incrby, :lindex, :llen, :lpop, :lpush, :lrange, :lrem, :lset,
|
7
|
+
:ltrim, :mapped_hmset, :move, :rename, :renamenx, :rpop, :rpoplpush,
|
8
|
+
:rpush, :sadd, :scard, :sdiff, :sdiffstore, :set, :setex, :setnx,
|
9
|
+
:sinter, :sinterstore, :sismember, :smembers, :smove, :sort, :spop,
|
10
|
+
:srandmember, :srem, :substr, :sunion, :sunionstore, :ttl, :type,
|
11
|
+
:unwatch, :watch, :zadd, :zcard, :zincrby, :zinterstore, :zrange,
|
12
|
+
:zrangebyscore, :zrank, :zrem, :zremrangebyrank, :zremrangebyscore,
|
13
|
+
:zrevrange, :zrevrank, :zscore, :zunionstore]
|
14
14
|
|
15
15
|
def initialize(key, redis = nil)
|
16
16
|
super(key.to_s)
|
data/nest.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "nest"
|
3
|
-
s.version = "0.0.
|
3
|
+
s.version = "0.0.6"
|
4
4
|
s.summary = "Generate nested namespaced keys for key-value databases."
|
5
5
|
s.description = "It is a design pattern in key-value databases to use the key to simulate structure, and Nest can take care of that."
|
6
6
|
s.authors = ["Michel Martens"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michel Martens
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-07-08 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|