nest 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nest.rb +15 -15
- data/nest.gemspec +1 -1
- metadata +6 -6
data/lib/nest.rb
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
require "redis"
|
2
2
|
|
3
3
|
class Nest < String
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
10
|
-
:
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:
|
14
|
-
:
|
15
|
-
:
|
16
|
-
:
|
17
|
-
:
|
18
|
-
:
|
4
|
+
METHODS = [:append, :bitcount, :blpop, :brpop, :brpoplpush, :decr,
|
5
|
+
:decrby, :del, :dump, :exists, :expire, :expireat, :get, :getbit,
|
6
|
+
:getrange, :getset, :hdel, :hexists, :hget, :hgetall, :hincrby,
|
7
|
+
:hincrbyfloat, :hkeys, :hlen, :hmget, :hmset, :hset, :hsetnx, :hvals,
|
8
|
+
:incr, :incrby, :incrbyfloat, :lindex, :linsert, :llen, :lpop,
|
9
|
+
:lpush, :lpushx, :lrange, :lrem, :lset, :ltrim, :move, :persist,
|
10
|
+
:pexpire, :pexpireat, :psetex, :pttl, :publish, :rename, :renamenx,
|
11
|
+
:restore, :rpop, :rpoplpush, :rpush, :rpushx, :sadd, :scard,
|
12
|
+
:sdiff, :sdiffstore, :set, :setbit, :setex, :setnx, :setrange,
|
13
|
+
:sinter, :sinterstore, :sismember, :smembers, :smove, :sort, :spop,
|
14
|
+
:srandmember, :srem, :strlen, :subscribe, :sunion, :sunionstore,
|
15
|
+
:ttl, :type, :unsubscribe, :watch, :zadd, :zcard, :zcount,
|
16
|
+
:zincrby, :zinterstore, :zrange, :zrangebyscore, :zrank, :zrem,
|
17
|
+
:zremrangebyrank, :zremrangebyscore, :zrevrange, :zrevrangebyscore,
|
18
|
+
:zrevrank, :zscore, :zunionstore]
|
19
19
|
|
20
20
|
attr :redis
|
21
21
|
|
data/nest.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "nest"
|
3
|
-
s.version = "1.1.
|
3
|
+
s.version = "1.1.2"
|
4
4
|
s.summary = "Object-oriented keys for Redis."
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
16
|
-
requirement: &
|
16
|
+
requirement: &2156217380 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2156217380
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: cutest
|
27
|
-
requirement: &
|
27
|
+
requirement: &2156229820 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2156229820
|
36
36
|
description: It is a design pattern in key-value databases to use the key to simulate
|
37
37
|
structure, and Nest can take care of that.
|
38
38
|
email:
|