nest 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nest.rb +19 -17
- data/nest.gemspec +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8ed6349c656cd7f0a6e5af473c0ac0bcbf6a3d0
|
4
|
+
data.tar.gz: e1eb3fe26126cb919e9dae57a450d0f425d56c9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05b3e1fc3c0180f154b2b8788bf5764dfdfd777ce93db6f8122a46b38e3c131797d88a0f5523b5283fdb5a4b0ea97f4c6aba1b2718aca6c53ec7760e0caacf54
|
7
|
+
data.tar.gz: b3d86e1b501fa9420a1feb7a68613fe7db35a9ede69a8134b40225a91c1c3f7949b7f70b529b88a6b9817140e37f1781a7ed56204cfe0f99e7b3eb2944d34d7b
|
data/lib/nest.rb
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
require "redic"
|
2
2
|
|
3
3
|
class Nest < String
|
4
|
-
METHODS = [:append, :bitcount, :bitpos, :blpop, :brpop,
|
5
|
-
:decr, :decrby, :del, :dump, :exists, :expire,
|
6
|
-
:
|
7
|
-
:
|
8
|
-
:
|
9
|
-
:
|
10
|
-
:
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:
|
14
|
-
:
|
15
|
-
:
|
16
|
-
:
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
4
|
+
METHODS = [:append, :bitcount, :bitfield, :bitpos, :blpop, :brpop,
|
5
|
+
:brpoplpush, :decr, :decrby, :del, :dump, :exists, :expire,
|
6
|
+
:expireat, :geoadd, :geohash, :geopos, :geodist, :georadius,
|
7
|
+
:georadiusbymember, :get, :getbit, :getrange, :getset, :hdel,
|
8
|
+
:hexists, :hget, :hgetall, :hincrby, :hincrbyfloat, :hkeys, :hlen,
|
9
|
+
:hmget, :hmset, :hset, :hsetnx, :hstrlen, :hvals, :incr, :incrby,
|
10
|
+
:incrbyfloat, :lindex, :linsert, :llen, :lpop, :lpush, :lpushx,
|
11
|
+
:lrange, :lrem, :lset, :ltrim, :move, :persist, :pexpire, :pexpireat,
|
12
|
+
:pfadd, :pfcount, :pfmerge, :psetex, :pttl, :publish, :rename,
|
13
|
+
:renamenx, :restore, :rpop, :rpoplpush, :rpush, :rpushx, :sadd,
|
14
|
+
:scard, :sdiff, :sdiffstore, :set, :setbit, :setex, :setnx,
|
15
|
+
:setrange, :sinter, :sinterstore, :sismember, :smembers, :smove,
|
16
|
+
:sort, :spop, :srandmember, :srem, :strlen, :subscribe, :sunion,
|
17
|
+
:sunionstore, :touch, :ttl, :type, :unsubscribe, :watch, :zadd,
|
18
|
+
:zcard, :zcount, :zincrby, :zinterstore, :zlexcount, :zrange,
|
19
|
+
:zrangebylex, :zrevrangebylex, :zrangebyscore, :zrank, :zrem,
|
20
|
+
:zremrangebylex, :zremrangebyrank, :zremrangebyscore, :zrevrange,
|
21
|
+
:zrevrangebyscore, :zrevrank, :zscore, :zunionstore, :sscan,
|
22
|
+
:hscan, :zscan]
|
21
23
|
|
22
24
|
attr :redis
|
23
25
|
|
data/nest.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "nest"
|
3
|
-
s.version = "2.
|
3
|
+
s.version = "2.1.0"
|
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.licenses = ["MIT"]
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michel Martens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redic
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: cutest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: It is a design pattern in key-value databases to use the key to simulate
|
@@ -63,17 +63,17 @@ require_paths:
|
|
63
63
|
- lib
|
64
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- -
|
71
|
+
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '0'
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
76
|
+
rubygems_version: 2.4.5.1
|
77
77
|
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Object-oriented keys for Redis.
|