nest 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nest.rb +19 -17
  3. data/nest.gemspec +1 -1
  4. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 610bc2190ba05babfba5f60c066cc5490275ec84
4
- data.tar.gz: ab916a8881519a70bb419e6123a110e1ac5b2b8d
3
+ metadata.gz: b8ed6349c656cd7f0a6e5af473c0ac0bcbf6a3d0
4
+ data.tar.gz: e1eb3fe26126cb919e9dae57a450d0f425d56c9c
5
5
  SHA512:
6
- metadata.gz: 082e573734a5b6ea7fb562d53738140bd0508fbe3b7dba6f5608f545e220b70bf8aff329019982f5e6592cda997f4846ff2734cea11e89b6ad122e459c88f518
7
- data.tar.gz: e3cc7a3c657c56c0de9255b045fc932498d753906aa68faac7fc6e789aeb7b8cb5de24c94d16989dd525b48ddb2cce075730038ba497a4f7ee63e97e976fbffe
6
+ metadata.gz: 05b3e1fc3c0180f154b2b8788bf5764dfdfd777ce93db6f8122a46b38e3c131797d88a0f5523b5283fdb5a4b0ea97f4c6aba1b2718aca6c53ec7760e0caacf54
7
+ data.tar.gz: b3d86e1b501fa9420a1feb7a68613fe7db35a9ede69a8134b40225a91c1c3f7949b7f70b529b88a6b9817140e37f1781a7ed56204cfe0f99e7b3eb2944d34d7b
@@ -1,23 +1,25 @@
1
1
  require "redic"
2
2
 
3
3
  class Nest < String
4
- METHODS = [:append, :bitcount, :bitpos, :blpop, :brpop, :brpoplpush,
5
- :decr, :decrby, :del, :dump, :exists, :expire, :expireat, :get,
6
- :getbit, :getrange, :getset, :hdel, :hexists, :hget, :hgetall,
7
- :hincrby, :hincrbyfloat, :hkeys, :hlen, :hmget, :hmset, :hset,
8
- :hsetnx, :hstrlen, :hvals, :incr, :incrby, :incrbyfloat, :lindex,
9
- :linsert, :llen, :lpop, :lpush, :lpushx, :lrange, :lrem, :lset,
10
- :ltrim, :move, :persist, :pexpire, :pexpireat, :pfadd, :pfcount,
11
- :pfmerge, :psetex, :pttl, :publish, :rename, :renamenx, :restore,
12
- :rpop, :rpoplpush, :rpush, :rpushx, :sadd, :scard, :sdiff, :sdiffstore,
13
- :set, :setbit, :setex, :setnx, :setrange, :sinter, :sinterstore,
14
- :sismember, :smembers, :smove, :sort, :spop, :srandmember, :srem,
15
- :strlen, :subscribe, :sunion, :sunionstore, :ttl, :type, :unsubscribe,
16
- :watch, :zadd, :zcard, :zcount, :zincrby, :zinterstore, :zlexcount,
17
- :zrange, :zrangebylex, :zrevrangebylex, :zrangebyscore, :zrank,
18
- :zrem, :zremrangebylex, :zremrangebyrank, :zremrangebyscore,
19
- :zrevrange, :zrevrangebyscore, :zrevrank, :zscore, :zunionstore,
20
- :sscan, :hscan, :zscan]
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
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "nest"
3
- s.version = "2.0.0"
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.0.0
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: 2015-03-23 00:00:00.000000000 Z
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.0.14
76
+ rubygems_version: 2.4.5.1
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Object-oriented keys for Redis.