mock_redis 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -29,6 +29,7 @@ of supported methods:
29
29
  * List methods: `lpush`, `lpop`, `lrange`, `rpoplpush`, etc.
30
30
  * Set methods: `sadd`, `sinter`, `sismember`, etc.
31
31
  * Hash methods: `hset`, `hget`, `hgetall`, `hmget`, etc.
32
+ * Sorted set methods: `zadd`, `zrank`, `zunionstore`, etc.
32
33
  * Expirations: `expire`, `ttl`, etc.
33
34
  * Transactions: `multi`, `exec`, `discard`
34
35
 
@@ -1,3 +1,3 @@
1
1
  class MockRedis
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Samuel Merritt"]
10
10
  s.email = ["spam@andcheese.org"]
11
- s.homepage = "https://github.com/smerritt/mock_redis"
11
+ s.homepage = "https://github.com/causes/mock_redis"
12
12
  s.summary = %q{Redis mock that just lives in memory; useful for testing.}
13
13
 
14
14
  s.description = %q{Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.}
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mock_redis
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
4
+ prerelease:
5
+ version: 0.0.2
11
6
  platform: ruby
12
7
  authors:
13
8
  - Samuel Merritt
@@ -26,11 +21,6 @@ dependencies:
26
21
  requirements:
27
22
  - - ~>
28
23
  - !ruby/object:Gem::Version
29
- hash: 5
30
- segments:
31
- - 2
32
- - 2
33
- - 1
34
24
  version: 2.2.1
35
25
  type: :development
36
26
  version_requirements: *id001
@@ -42,11 +32,6 @@ dependencies:
42
32
  requirements:
43
33
  - - ~>
44
34
  - !ruby/object:Gem::Version
45
- hash: 23
46
- segments:
47
- - 2
48
- - 6
49
- - 0
50
35
  version: 2.6.0
51
36
  type: :development
52
37
  version_requirements: *id002
@@ -58,9 +43,6 @@ dependencies:
58
43
  requirements:
59
44
  - - ">="
60
45
  - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 0
64
46
  version: "0"
65
47
  type: :development
66
48
  version_requirements: *id003
@@ -210,7 +192,7 @@ files:
210
192
  - spec/support/shared_examples/only_operates_on_zsets.rb
211
193
  - spec/transactions_spec.rb
212
194
  has_rdoc: true
213
- homepage: https://github.com/smerritt/mock_redis
195
+ homepage: https://github.com/causes/mock_redis
214
196
  licenses: []
215
197
 
216
198
  post_install_message:
@@ -223,136 +205,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
205
  requirements:
224
206
  - - ">="
225
207
  - !ruby/object:Gem::Version
226
- hash: 3
227
- segments:
228
- - 0
229
208
  version: "0"
230
209
  required_rubygems_version: !ruby/object:Gem::Requirement
231
210
  none: false
232
211
  requirements:
233
212
  - - ">="
234
213
  - !ruby/object:Gem::Version
235
- hash: 3
236
- segments:
237
- - 0
238
214
  version: "0"
239
215
  requirements: []
240
216
 
241
217
  rubyforge_project:
242
- rubygems_version: 1.3.7
218
+ rubygems_version: 1.6.2
243
219
  signing_key:
244
220
  specification_version: 3
245
221
  summary: Redis mock that just lives in memory; useful for testing.
246
- test_files:
247
- - spec/cloning_spec.rb
248
- - spec/commands/append_spec.rb
249
- - spec/commands/auth_spec.rb
250
- - spec/commands/bgrewriteaof_spec.rb
251
- - spec/commands/bgsave_spec.rb
252
- - spec/commands/blpop_spec.rb
253
- - spec/commands/brpop_spec.rb
254
- - spec/commands/brpoplpush_spec.rb
255
- - spec/commands/dbsize_spec.rb
256
- - spec/commands/decr_spec.rb
257
- - spec/commands/decrby_spec.rb
258
- - spec/commands/del_spec.rb
259
- - spec/commands/echo_spec.rb
260
- - spec/commands/exists_spec.rb
261
- - spec/commands/expire_spec.rb
262
- - spec/commands/expireat_spec.rb
263
- - spec/commands/flushall_spec.rb
264
- - spec/commands/flushdb_spec.rb
265
- - spec/commands/get_spec.rb
266
- - spec/commands/getbit_spec.rb
267
- - spec/commands/getrange_spec.rb
268
- - spec/commands/getset_spec.rb
269
- - spec/commands/hdel_spec.rb
270
- - spec/commands/hexists_spec.rb
271
- - spec/commands/hget_spec.rb
272
- - spec/commands/hgetall_spec.rb
273
- - spec/commands/hincrby_spec.rb
274
- - spec/commands/hkeys_spec.rb
275
- - spec/commands/hlen_spec.rb
276
- - spec/commands/hmget_spec.rb
277
- - spec/commands/hmset_spec.rb
278
- - spec/commands/hset_spec.rb
279
- - spec/commands/hsetnx_spec.rb
280
- - spec/commands/hvals_spec.rb
281
- - spec/commands/incr_spec.rb
282
- - spec/commands/incrby_spec.rb
283
- - spec/commands/info_spec.rb
284
- - spec/commands/keys_spec.rb
285
- - spec/commands/lastsave_spec.rb
286
- - spec/commands/lindex_spec.rb
287
- - spec/commands/linsert_spec.rb
288
- - spec/commands/llen_spec.rb
289
- - spec/commands/lpop_spec.rb
290
- - spec/commands/lpush_spec.rb
291
- - spec/commands/lpushx_spec.rb
292
- - spec/commands/lrange_spec.rb
293
- - spec/commands/lrem_spec.rb
294
- - spec/commands/lset_spec.rb
295
- - spec/commands/ltrim_spec.rb
296
- - spec/commands/mget_spec.rb
297
- - spec/commands/mset_spec.rb
298
- - spec/commands/msetnx_spec.rb
299
- - spec/commands/persist_spec.rb
300
- - spec/commands/ping_spec.rb
301
- - spec/commands/quit_spec.rb
302
- - spec/commands/randomkey_spec.rb
303
- - spec/commands/rename_spec.rb
304
- - spec/commands/renamenx_spec.rb
305
- - spec/commands/rpop_spec.rb
306
- - spec/commands/rpoplpush_spec.rb
307
- - spec/commands/rpush_spec.rb
308
- - spec/commands/rpushx_spec.rb
309
- - spec/commands/sadd_spec.rb
310
- - spec/commands/save_spec.rb
311
- - spec/commands/scard_spec.rb
312
- - spec/commands/sdiff_spec.rb
313
- - spec/commands/sdiffstore_spec.rb
314
- - spec/commands/select_spec.rb
315
- - spec/commands/set_spec.rb
316
- - spec/commands/setbit_spec.rb
317
- - spec/commands/setex_spec.rb
318
- - spec/commands/setnx_spec.rb
319
- - spec/commands/setrange_spec.rb
320
- - spec/commands/sinter_spec.rb
321
- - spec/commands/sinterstore_spec.rb
322
- - spec/commands/sismember_spec.rb
323
- - spec/commands/smembers_spec.rb
324
- - spec/commands/smove_spec.rb
325
- - spec/commands/spop_spec.rb
326
- - spec/commands/srandmember_spec.rb
327
- - spec/commands/srem_spec.rb
328
- - spec/commands/strlen_spec.rb
329
- - spec/commands/sunion_spec.rb
330
- - spec/commands/sunionstore_spec.rb
331
- - spec/commands/ttl_spec.rb
332
- - spec/commands/type_spec.rb
333
- - spec/commands/unwatch_spec.rb
334
- - spec/commands/watch_spec.rb
335
- - spec/commands/zadd_spec.rb
336
- - spec/commands/zcard_spec.rb
337
- - spec/commands/zcount_spec.rb
338
- - spec/commands/zincrby_spec.rb
339
- - spec/commands/zinterstore_spec.rb
340
- - spec/commands/zrange_spec.rb
341
- - spec/commands/zrangebyscore_spec.rb
342
- - spec/commands/zrank_spec.rb
343
- - spec/commands/zrem_spec.rb
344
- - spec/commands/zremrangebyrank_spec.rb
345
- - spec/commands/zremrangebyscore_spec.rb
346
- - spec/commands/zrevrange_spec.rb
347
- - spec/commands/zrevrangebyscore_spec.rb
348
- - spec/commands/zrevrank_spec.rb
349
- - spec/commands/zscore_spec.rb
350
- - spec/commands/zunionstore_spec.rb
351
- - spec/spec_helper.rb
352
- - spec/support/redis_multiplexer.rb
353
- - spec/support/shared_examples/only_operates_on_hashes.rb
354
- - spec/support/shared_examples/only_operates_on_lists.rb
355
- - spec/support/shared_examples/only_operates_on_sets.rb
356
- - spec/support/shared_examples/only_operates_on_strings.rb
357
- - spec/support/shared_examples/only_operates_on_zsets.rb
358
- - spec/transactions_spec.rb
222
+ test_files: []
223
+