ruby-redis 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +16 -15
- data/lib/redis.rb +6 -208
- data/lib/redis/bin.rb +85 -35
- data/lib/redis/bin.rbc +1953 -637
- data/lib/redis/client.rb +196 -0
- data/lib/redis/client.rbc +3983 -0
- data/lib/redis/config.rb +19 -16
- data/lib/redis/config.rbc +275 -178
- data/lib/redis/connection.rb +9 -48
- data/lib/redis/connection.rbc +157 -853
- data/lib/redis/database.rb +32 -8
- data/lib/redis/database.rbc +952 -381
- data/lib/redis/hashes.rb +2 -4
- data/lib/redis/hashes.rbc +104 -128
- data/lib/redis/keys.rb +3 -6
- data/lib/redis/keys.rbc +222 -240
- data/lib/redis/lists.rb +4 -6
- data/lib/redis/lists.rbc +310 -301
- data/lib/redis/logger.rb +4 -16
- data/lib/redis/logger.rbc +112 -122
- data/lib/redis/protocol.rb +48 -109
- data/lib/redis/protocol.rbc +1255 -2974
- data/lib/redis/pubsub.rb +1 -4
- data/lib/redis/pubsub.rbc +195 -179
- data/lib/redis/reader.rb +28 -17
- data/lib/redis/reader.rbc +748 -433
- data/lib/redis/sender.rb +15 -17
- data/lib/redis/sender.rbc +207 -218
- data/lib/redis/server.rb +4 -6
- data/lib/redis/server.rbc +90 -143
- data/lib/redis/sets.rb +1 -2
- data/lib/redis/sets.rbc +144 -146
- data/lib/redis/strict.rb +1 -3
- data/lib/redis/strict.rbc +79 -104
- data/lib/redis/strings.rb +4 -6
- data/lib/redis/strings.rbc +193 -215
- data/lib/redis/synchrony.rb +17 -24
- data/lib/redis/version.rb +2 -4
- data/lib/redis/version.rbc +18 -63
- data/lib/redis/zsets.rb +1 -3
- data/lib/redis/zsets.rbc +339 -296
- metadata +8 -7
- data/bin/ruby-redis.compiled.rbc +0 -243
data/lib/redis/connection.rb
CHANGED
@@ -1,59 +1,20 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require_relative 'protocol'
|
4
|
-
require_relative 'server'
|
5
|
-
require_relative 'keys'
|
6
|
-
require_relative 'strings'
|
7
|
-
require_relative 'lists'
|
8
|
-
require_relative 'sets'
|
9
|
-
require_relative 'zsets'
|
10
|
-
require_relative 'hashes'
|
11
|
-
require_relative 'pubsub'
|
12
|
-
require_relative 'strict'
|
13
|
-
|
14
|
-
require 'eventmachine'
|
15
|
-
|
16
|
-
class Redis
|
17
|
-
class Connection < EventMachine::Connection
|
18
|
-
|
19
|
-
include NotStrict
|
20
|
-
include Protocol
|
21
|
-
|
22
|
-
def initialize password=nil
|
23
|
-
@password = password
|
24
|
-
@database = Redis.databases[0]
|
25
|
-
authorize unless @password
|
26
|
-
super()
|
27
|
-
end
|
28
|
-
|
29
|
-
def authorize
|
30
|
-
return if @authorized
|
31
|
-
extend Server
|
32
|
-
extend Keys
|
33
|
-
extend Strings
|
34
|
-
extend Lists
|
35
|
-
extend Sets
|
36
|
-
extend ZSets
|
37
|
-
extend Hashes
|
38
|
-
extend PubSub
|
39
|
-
@authorized = true
|
40
|
-
end
|
1
|
+
module Redis
|
2
|
+
module Connection
|
41
3
|
|
42
4
|
def redis_AUTH password
|
43
|
-
raise 'invalid password' unless
|
44
|
-
|
45
|
-
Response::OK
|
5
|
+
raise 'invalid password' unless authorized password
|
6
|
+
:'+OK'
|
46
7
|
end
|
47
8
|
|
48
9
|
def redis_SELECT db_index
|
49
|
-
database =
|
10
|
+
database = @databases[redis_i db_index]
|
50
11
|
raise 'invalid DB index' unless database
|
51
12
|
@database = database
|
52
|
-
|
13
|
+
:'+OK'
|
53
14
|
end
|
54
15
|
|
55
16
|
def redis_PING
|
56
|
-
|
17
|
+
:'+PONG'
|
57
18
|
end
|
58
19
|
|
59
20
|
def redis_ECHO str
|
@@ -61,8 +22,8 @@ class Redis
|
|
61
22
|
end
|
62
23
|
|
63
24
|
def redis_QUIT
|
64
|
-
send_redis
|
65
|
-
|
25
|
+
send_redis :'+OK'
|
26
|
+
:quit
|
66
27
|
end
|
67
28
|
|
68
29
|
end
|
data/lib/redis/connection.rbc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
!RBIX
|
2
|
-
|
3
|
-
|
2
|
+
8948944263761558646
|
3
|
+
18
|
4
4
|
M
|
5
5
|
1
|
6
6
|
n
|
@@ -9,165 +9,32 @@ x
|
|
9
9
|
10
|
10
10
|
__script__
|
11
11
|
i
|
12
|
-
|
13
|
-
5
|
14
|
-
45
|
15
|
-
0
|
16
|
-
1
|
17
|
-
7
|
18
|
-
2
|
19
|
-
64
|
20
|
-
45
|
21
|
-
0
|
22
|
-
3
|
23
|
-
65
|
24
|
-
49
|
25
|
-
4
|
26
|
-
0
|
27
|
-
49
|
28
|
-
5
|
29
|
-
1
|
30
|
-
49
|
31
|
-
6
|
32
|
-
2
|
33
|
-
47
|
34
|
-
49
|
35
|
-
7
|
36
|
-
1
|
37
|
-
15
|
38
|
-
5
|
39
|
-
7
|
40
|
-
8
|
41
|
-
64
|
42
|
-
47
|
43
|
-
49
|
44
|
-
9
|
45
|
-
1
|
46
|
-
15
|
47
|
-
5
|
48
|
-
7
|
49
|
-
10
|
50
|
-
64
|
51
|
-
47
|
52
|
-
49
|
53
|
-
9
|
54
|
-
1
|
55
|
-
15
|
56
|
-
5
|
57
|
-
7
|
58
|
-
11
|
59
|
-
64
|
60
|
-
47
|
61
|
-
49
|
62
|
-
9
|
63
|
-
1
|
64
|
-
15
|
65
|
-
5
|
66
|
-
7
|
67
|
-
12
|
68
|
-
64
|
69
|
-
47
|
70
|
-
49
|
71
|
-
9
|
72
|
-
1
|
73
|
-
15
|
74
|
-
5
|
75
|
-
7
|
76
|
-
13
|
77
|
-
64
|
78
|
-
47
|
79
|
-
49
|
80
|
-
9
|
81
|
-
1
|
82
|
-
15
|
83
|
-
5
|
84
|
-
7
|
85
|
-
14
|
86
|
-
64
|
87
|
-
47
|
88
|
-
49
|
89
|
-
9
|
90
|
-
1
|
91
|
-
15
|
92
|
-
5
|
93
|
-
7
|
94
|
-
15
|
95
|
-
64
|
96
|
-
47
|
97
|
-
49
|
98
|
-
9
|
99
|
-
1
|
100
|
-
15
|
101
|
-
5
|
102
|
-
7
|
103
|
-
16
|
104
|
-
64
|
105
|
-
47
|
106
|
-
49
|
107
|
-
9
|
108
|
-
1
|
109
|
-
15
|
110
|
-
5
|
111
|
-
7
|
112
|
-
17
|
113
|
-
64
|
114
|
-
47
|
115
|
-
49
|
116
|
-
9
|
117
|
-
1
|
118
|
-
15
|
119
|
-
5
|
120
|
-
7
|
121
|
-
18
|
122
|
-
64
|
123
|
-
47
|
124
|
-
49
|
125
|
-
9
|
126
|
-
1
|
127
|
-
15
|
128
|
-
5
|
129
|
-
7
|
130
|
-
19
|
131
|
-
64
|
132
|
-
47
|
133
|
-
49
|
134
|
-
9
|
135
|
-
1
|
136
|
-
15
|
137
|
-
5
|
138
|
-
7
|
139
|
-
20
|
140
|
-
64
|
141
|
-
47
|
142
|
-
49
|
143
|
-
7
|
144
|
-
1
|
145
|
-
15
|
12
|
+
29
|
146
13
|
99
|
147
14
|
7
|
148
|
-
|
15
|
+
0
|
149
16
|
1
|
150
17
|
65
|
151
18
|
49
|
152
|
-
|
19
|
+
1
|
153
20
|
3
|
154
21
|
13
|
155
22
|
99
|
156
23
|
12
|
157
24
|
7
|
158
|
-
|
25
|
+
2
|
159
26
|
12
|
160
27
|
7
|
161
|
-
|
28
|
+
3
|
162
29
|
12
|
163
30
|
65
|
164
31
|
12
|
165
32
|
49
|
166
|
-
|
33
|
+
4
|
167
34
|
4
|
168
35
|
15
|
169
36
|
49
|
170
|
-
|
37
|
+
2
|
171
38
|
0
|
172
39
|
15
|
173
40
|
2
|
@@ -180,68 +47,11 @@ I
|
|
180
47
|
0
|
181
48
|
I
|
182
49
|
0
|
50
|
+
I
|
51
|
+
0
|
183
52
|
n
|
184
53
|
p
|
185
|
-
26
|
186
|
-
x
|
187
|
-
4
|
188
|
-
File
|
189
|
-
n
|
190
|
-
s
|
191
|
-
8
|
192
|
-
../redis
|
193
|
-
n
|
194
|
-
x
|
195
|
-
11
|
196
|
-
active_path
|
197
|
-
x
|
198
|
-
7
|
199
|
-
dirname
|
200
|
-
x
|
201
|
-
11
|
202
|
-
expand_path
|
203
|
-
x
|
204
|
-
7
|
205
|
-
require
|
206
|
-
s
|
207
|
-
8
|
208
|
-
database
|
209
|
-
x
|
210
|
-
16
|
211
|
-
require_relative
|
212
|
-
s
|
213
|
-
8
|
214
|
-
protocol
|
215
|
-
s
|
216
|
-
6
|
217
|
-
server
|
218
|
-
s
|
219
|
-
4
|
220
|
-
keys
|
221
|
-
s
|
222
|
-
7
|
223
|
-
strings
|
224
|
-
s
|
225
|
-
5
|
226
|
-
lists
|
227
|
-
s
|
228
|
-
4
|
229
|
-
sets
|
230
|
-
s
|
231
54
|
5
|
232
|
-
zsets
|
233
|
-
s
|
234
|
-
6
|
235
|
-
hashes
|
236
|
-
s
|
237
|
-
6
|
238
|
-
pubsub
|
239
|
-
s
|
240
|
-
6
|
241
|
-
strict
|
242
|
-
s
|
243
|
-
12
|
244
|
-
eventmachine
|
245
55
|
x
|
246
56
|
5
|
247
57
|
Redis
|
@@ -259,38 +69,33 @@ x
|
|
259
69
|
5
|
260
70
|
Redis
|
261
71
|
i
|
262
|
-
|
72
|
+
28
|
263
73
|
5
|
264
74
|
66
|
265
75
|
99
|
266
76
|
7
|
267
77
|
0
|
268
|
-
45
|
269
|
-
1
|
270
|
-
2
|
271
|
-
43
|
272
|
-
0
|
273
78
|
65
|
274
79
|
49
|
275
|
-
|
276
|
-
|
80
|
+
1
|
81
|
+
2
|
277
82
|
13
|
278
83
|
99
|
279
84
|
12
|
280
85
|
7
|
281
|
-
|
86
|
+
2
|
282
87
|
12
|
283
88
|
7
|
284
|
-
|
89
|
+
3
|
285
90
|
12
|
286
91
|
65
|
287
92
|
12
|
288
93
|
49
|
289
|
-
|
94
|
+
4
|
290
95
|
4
|
291
96
|
15
|
292
97
|
49
|
293
|
-
|
98
|
+
2
|
294
99
|
0
|
295
100
|
11
|
296
101
|
I
|
@@ -301,22 +106,20 @@ I
|
|
301
106
|
0
|
302
107
|
I
|
303
108
|
0
|
109
|
+
I
|
110
|
+
0
|
304
111
|
n
|
305
112
|
p
|
306
|
-
|
113
|
+
5
|
307
114
|
x
|
308
115
|
10
|
309
116
|
Connection
|
310
117
|
x
|
311
|
-
|
312
|
-
|
313
|
-
n
|
314
|
-
x
|
315
|
-
10
|
316
|
-
open_class
|
118
|
+
11
|
119
|
+
open_module
|
317
120
|
x
|
318
|
-
|
319
|
-
|
121
|
+
15
|
122
|
+
__module_init__
|
320
123
|
M
|
321
124
|
1
|
322
125
|
n
|
@@ -325,480 +128,92 @@ x
|
|
325
128
|
10
|
326
129
|
Connection
|
327
130
|
i
|
328
|
-
|
131
|
+
72
|
329
132
|
5
|
330
133
|
66
|
331
|
-
|
332
|
-
|
134
|
+
99
|
135
|
+
7
|
333
136
|
0
|
137
|
+
7
|
334
138
|
1
|
335
|
-
|
139
|
+
65
|
140
|
+
67
|
336
141
|
49
|
337
142
|
2
|
338
|
-
|
339
|
-
|
340
|
-
5
|
341
|
-
45
|
143
|
+
0
|
144
|
+
49
|
342
145
|
3
|
343
146
|
4
|
344
|
-
47
|
345
|
-
49
|
346
|
-
2
|
347
|
-
1
|
348
147
|
15
|
349
148
|
99
|
350
149
|
7
|
351
|
-
|
150
|
+
4
|
352
151
|
7
|
353
|
-
|
152
|
+
5
|
354
153
|
65
|
355
154
|
67
|
356
155
|
49
|
357
|
-
|
156
|
+
2
|
358
157
|
0
|
359
158
|
49
|
360
|
-
|
159
|
+
3
|
361
160
|
4
|
362
161
|
15
|
363
162
|
99
|
364
163
|
7
|
365
|
-
|
164
|
+
6
|
165
|
+
7
|
366
166
|
7
|
367
|
-
10
|
368
167
|
65
|
369
168
|
67
|
370
169
|
49
|
371
|
-
|
170
|
+
2
|
372
171
|
0
|
373
172
|
49
|
374
|
-
|
173
|
+
3
|
375
174
|
4
|
376
175
|
15
|
377
176
|
99
|
378
177
|
7
|
379
|
-
|
178
|
+
8
|
380
179
|
7
|
381
|
-
|
180
|
+
9
|
382
181
|
65
|
383
182
|
67
|
384
183
|
49
|
385
|
-
|
184
|
+
2
|
386
185
|
0
|
387
186
|
49
|
388
|
-
|
187
|
+
3
|
389
188
|
4
|
390
189
|
15
|
391
190
|
99
|
392
191
|
7
|
393
|
-
|
192
|
+
10
|
394
193
|
7
|
395
|
-
|
396
|
-
65
|
397
|
-
67
|
398
|
-
49
|
399
|
-
7
|
400
|
-
0
|
401
|
-
49
|
402
|
-
8
|
403
|
-
4
|
404
|
-
15
|
405
|
-
99
|
406
|
-
7
|
407
|
-
15
|
408
|
-
7
|
409
|
-
16
|
410
|
-
65
|
411
|
-
67
|
412
|
-
49
|
413
|
-
7
|
414
|
-
0
|
415
|
-
49
|
416
|
-
8
|
417
|
-
4
|
418
|
-
15
|
419
|
-
99
|
420
|
-
7
|
421
|
-
17
|
422
|
-
7
|
423
|
-
18
|
424
|
-
65
|
425
|
-
67
|
426
|
-
49
|
427
|
-
7
|
428
|
-
0
|
429
|
-
49
|
430
|
-
8
|
431
|
-
4
|
432
|
-
15
|
433
|
-
99
|
434
|
-
7
|
435
|
-
19
|
436
|
-
7
|
437
|
-
20
|
194
|
+
11
|
438
195
|
65
|
439
196
|
67
|
440
197
|
49
|
441
|
-
7
|
442
|
-
0
|
443
|
-
49
|
444
|
-
8
|
445
|
-
4
|
446
|
-
11
|
447
|
-
I
|
448
|
-
5
|
449
|
-
I
|
450
|
-
0
|
451
|
-
I
|
452
|
-
0
|
453
|
-
I
|
454
|
-
0
|
455
|
-
n
|
456
|
-
p
|
457
|
-
21
|
458
|
-
x
|
459
|
-
9
|
460
|
-
NotStrict
|
461
|
-
n
|
462
|
-
x
|
463
|
-
7
|
464
|
-
include
|
465
|
-
x
|
466
|
-
8
|
467
|
-
Protocol
|
468
|
-
n
|
469
|
-
x
|
470
|
-
10
|
471
|
-
initialize
|
472
|
-
M
|
473
|
-
1
|
474
|
-
n
|
475
|
-
n
|
476
|
-
x
|
477
|
-
10
|
478
|
-
initialize
|
479
|
-
i
|
480
|
-
42
|
481
|
-
23
|
482
|
-
0
|
483
|
-
10
|
484
|
-
8
|
485
|
-
1
|
486
|
-
19
|
487
|
-
0
|
488
|
-
15
|
489
|
-
20
|
490
|
-
0
|
491
|
-
38
|
492
|
-
0
|
493
|
-
15
|
494
|
-
45
|
495
|
-
1
|
496
198
|
2
|
497
|
-
49
|
498
|
-
3
|
499
199
|
0
|
500
|
-
78
|
501
200
|
49
|
502
|
-
4
|
503
|
-
1
|
504
|
-
38
|
505
|
-
5
|
506
|
-
15
|
507
|
-
39
|
508
|
-
0
|
509
|
-
9
|
510
|
-
33
|
511
|
-
1
|
512
|
-
8
|
513
|
-
36
|
514
|
-
5
|
515
|
-
48
|
516
|
-
6
|
517
|
-
15
|
518
|
-
54
|
519
|
-
52
|
520
|
-
7
|
521
|
-
0
|
522
|
-
11
|
523
|
-
I
|
524
201
|
3
|
525
|
-
I
|
526
|
-
1
|
527
|
-
I
|
528
|
-
0
|
529
|
-
I
|
530
|
-
1
|
531
|
-
n
|
532
|
-
p
|
533
|
-
8
|
534
|
-
x
|
535
|
-
9
|
536
|
-
@password
|
537
|
-
x
|
538
|
-
5
|
539
|
-
Redis
|
540
|
-
n
|
541
|
-
x
|
542
|
-
9
|
543
|
-
databases
|
544
|
-
x
|
545
|
-
2
|
546
|
-
[]
|
547
|
-
x
|
548
|
-
9
|
549
|
-
@database
|
550
|
-
x
|
551
|
-
9
|
552
|
-
authorize
|
553
|
-
x
|
554
|
-
10
|
555
|
-
initialize
|
556
|
-
p
|
557
|
-
13
|
558
|
-
I
|
559
|
-
-1
|
560
|
-
I
|
561
|
-
16
|
562
|
-
I
|
563
|
-
8
|
564
|
-
I
|
565
|
-
17
|
566
|
-
I
|
567
|
-
d
|
568
|
-
I
|
569
|
-
18
|
570
|
-
I
|
571
|
-
1a
|
572
|
-
I
|
573
|
-
19
|
574
|
-
I
|
575
|
-
24
|
576
|
-
I
|
577
|
-
0
|
578
|
-
I
|
579
|
-
25
|
580
|
-
I
|
581
|
-
1a
|
582
|
-
I
|
583
|
-
2a
|
584
|
-
x
|
585
|
-
56
|
586
|
-
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
587
|
-
p
|
588
|
-
1
|
589
|
-
x
|
590
|
-
8
|
591
|
-
password
|
592
|
-
x
|
593
|
-
17
|
594
|
-
method_visibility
|
595
|
-
x
|
596
|
-
15
|
597
|
-
add_defn_method
|
598
|
-
x
|
599
|
-
9
|
600
|
-
authorize
|
601
|
-
M
|
602
|
-
1
|
603
|
-
n
|
604
|
-
n
|
605
|
-
x
|
606
|
-
9
|
607
|
-
authorize
|
608
|
-
i
|
609
|
-
86
|
610
|
-
39
|
611
|
-
0
|
612
|
-
9
|
613
|
-
8
|
614
|
-
1
|
615
|
-
11
|
616
|
-
8
|
617
|
-
9
|
618
|
-
1
|
619
|
-
15
|
620
|
-
5
|
621
|
-
45
|
622
|
-
1
|
623
|
-
2
|
624
|
-
47
|
625
|
-
49
|
626
|
-
3
|
627
|
-
1
|
628
|
-
15
|
629
|
-
5
|
630
|
-
45
|
631
202
|
4
|
632
|
-
|
633
|
-
47
|
634
|
-
49
|
635
|
-
3
|
636
|
-
1
|
637
|
-
15
|
638
|
-
5
|
639
|
-
45
|
640
|
-
6
|
641
|
-
7
|
642
|
-
47
|
643
|
-
49
|
644
|
-
3
|
645
|
-
1
|
646
|
-
15
|
647
|
-
5
|
648
|
-
45
|
649
|
-
8
|
650
|
-
9
|
651
|
-
47
|
652
|
-
49
|
653
|
-
3
|
654
|
-
1
|
655
|
-
15
|
656
|
-
5
|
657
|
-
45
|
658
|
-
10
|
659
|
-
11
|
660
|
-
47
|
661
|
-
49
|
662
|
-
3
|
663
|
-
1
|
664
|
-
15
|
665
|
-
5
|
666
|
-
45
|
667
|
-
12
|
668
|
-
13
|
669
|
-
47
|
670
|
-
49
|
671
|
-
3
|
672
|
-
1
|
673
|
-
15
|
674
|
-
5
|
675
|
-
45
|
676
|
-
14
|
677
|
-
15
|
678
|
-
47
|
679
|
-
49
|
680
|
-
3
|
681
|
-
1
|
682
|
-
15
|
683
|
-
5
|
684
|
-
45
|
685
|
-
16
|
686
|
-
17
|
687
|
-
47
|
688
|
-
49
|
689
|
-
3
|
690
|
-
1
|
691
|
-
15
|
692
|
-
2
|
693
|
-
38
|
694
|
-
0
|
695
|
-
11
|
696
|
-
I
|
697
|
-
2
|
698
|
-
I
|
699
|
-
0
|
700
|
-
I
|
701
|
-
0
|
702
|
-
I
|
703
|
-
0
|
704
|
-
n
|
705
|
-
p
|
706
|
-
18
|
707
|
-
x
|
708
|
-
11
|
709
|
-
@authorized
|
710
|
-
x
|
711
|
-
6
|
712
|
-
Server
|
713
|
-
n
|
714
|
-
x
|
715
|
-
6
|
716
|
-
extend
|
717
|
-
x
|
718
|
-
4
|
719
|
-
Keys
|
720
|
-
n
|
721
|
-
x
|
722
|
-
7
|
723
|
-
Strings
|
724
|
-
n
|
725
|
-
x
|
726
|
-
5
|
727
|
-
Lists
|
728
|
-
n
|
729
|
-
x
|
730
|
-
4
|
731
|
-
Sets
|
732
|
-
n
|
733
|
-
x
|
734
|
-
5
|
735
|
-
ZSets
|
736
|
-
n
|
737
|
-
x
|
738
|
-
6
|
739
|
-
Hashes
|
740
|
-
n
|
741
|
-
x
|
742
|
-
6
|
743
|
-
PubSub
|
744
|
-
n
|
745
|
-
p
|
746
|
-
25
|
747
|
-
I
|
748
|
-
-1
|
749
|
-
I
|
750
|
-
1d
|
751
|
-
I
|
752
|
-
0
|
753
|
-
I
|
754
|
-
1e
|
755
|
-
I
|
756
|
-
9
|
757
|
-
I
|
758
|
-
0
|
759
|
-
I
|
760
|
-
a
|
761
|
-
I
|
762
|
-
1f
|
763
|
-
I
|
764
|
-
13
|
765
|
-
I
|
766
|
-
20
|
767
|
-
I
|
768
|
-
1c
|
769
|
-
I
|
770
|
-
21
|
771
|
-
I
|
772
|
-
25
|
773
|
-
I
|
774
|
-
22
|
775
|
-
I
|
776
|
-
2e
|
777
|
-
I
|
778
|
-
23
|
779
|
-
I
|
780
|
-
37
|
781
|
-
I
|
782
|
-
24
|
783
|
-
I
|
784
|
-
40
|
785
|
-
I
|
786
|
-
25
|
203
|
+
11
|
787
204
|
I
|
788
|
-
|
205
|
+
5
|
789
206
|
I
|
790
|
-
|
207
|
+
0
|
791
208
|
I
|
792
|
-
|
209
|
+
0
|
793
210
|
I
|
794
|
-
|
211
|
+
0
|
795
212
|
I
|
796
|
-
56
|
797
|
-
x
|
798
|
-
56
|
799
|
-
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
800
|
-
p
|
801
213
|
0
|
214
|
+
n
|
215
|
+
p
|
216
|
+
12
|
802
217
|
x
|
803
218
|
10
|
804
219
|
redis_AUTH
|
@@ -810,36 +225,30 @@ x
|
|
810
225
|
10
|
811
226
|
redis_AUTH
|
812
227
|
i
|
813
|
-
|
228
|
+
24
|
229
|
+
5
|
814
230
|
20
|
815
231
|
0
|
816
|
-
|
232
|
+
47
|
233
|
+
49
|
817
234
|
0
|
818
|
-
83
|
819
235
|
1
|
820
236
|
9
|
821
|
-
|
237
|
+
12
|
822
238
|
1
|
823
239
|
8
|
824
|
-
|
240
|
+
20
|
825
241
|
5
|
826
242
|
7
|
827
|
-
|
243
|
+
1
|
828
244
|
64
|
829
245
|
47
|
830
246
|
49
|
831
|
-
|
247
|
+
2
|
832
248
|
1
|
833
249
|
15
|
834
|
-
5
|
835
|
-
48
|
836
|
-
4
|
837
|
-
15
|
838
|
-
45
|
839
|
-
5
|
840
|
-
6
|
841
|
-
43
|
842
250
|
7
|
251
|
+
3
|
843
252
|
11
|
844
253
|
I
|
845
254
|
3
|
@@ -848,16 +257,15 @@ I
|
|
848
257
|
I
|
849
258
|
1
|
850
259
|
I
|
260
|
+
0
|
261
|
+
I
|
851
262
|
1
|
852
263
|
n
|
853
264
|
p
|
854
|
-
|
855
|
-
x
|
856
|
-
9
|
857
|
-
@password
|
265
|
+
4
|
858
266
|
x
|
859
|
-
|
860
|
-
|
267
|
+
10
|
268
|
+
authorized
|
861
269
|
s
|
862
270
|
16
|
863
271
|
invalid password
|
@@ -865,39 +273,28 @@ x
|
|
865
273
|
5
|
866
274
|
raise
|
867
275
|
x
|
868
|
-
|
869
|
-
|
870
|
-
x
|
871
|
-
8
|
872
|
-
Response
|
873
|
-
n
|
874
|
-
x
|
875
|
-
2
|
876
|
-
OK
|
276
|
+
3
|
277
|
+
+OK
|
877
278
|
p
|
878
|
-
|
279
|
+
9
|
879
280
|
I
|
880
281
|
-1
|
881
282
|
I
|
882
|
-
|
283
|
+
4
|
883
284
|
I
|
884
285
|
0
|
885
286
|
I
|
886
|
-
|
287
|
+
5
|
887
288
|
I
|
888
|
-
|
289
|
+
14
|
889
290
|
I
|
890
291
|
0
|
891
292
|
I
|
892
|
-
|
293
|
+
15
|
893
294
|
I
|
894
|
-
|
295
|
+
6
|
895
296
|
I
|
896
297
|
18
|
897
|
-
I
|
898
|
-
2d
|
899
|
-
I
|
900
|
-
1e
|
901
298
|
x
|
902
299
|
56
|
903
300
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
@@ -907,6 +304,12 @@ x
|
|
907
304
|
8
|
908
305
|
password
|
909
306
|
x
|
307
|
+
17
|
308
|
+
method_visibility
|
309
|
+
x
|
310
|
+
15
|
311
|
+
add_defn_method
|
312
|
+
x
|
910
313
|
12
|
911
314
|
redis_SELECT
|
912
315
|
M
|
@@ -917,22 +320,18 @@ x
|
|
917
320
|
12
|
918
321
|
redis_SELECT
|
919
322
|
i
|
920
|
-
|
921
|
-
|
922
|
-
0
|
923
|
-
1
|
924
|
-
49
|
925
|
-
2
|
323
|
+
39
|
324
|
+
39
|
926
325
|
0
|
927
326
|
5
|
928
327
|
20
|
929
328
|
0
|
930
329
|
47
|
931
330
|
49
|
932
|
-
|
331
|
+
1
|
933
332
|
1
|
934
333
|
49
|
935
|
-
|
334
|
+
2
|
936
335
|
1
|
937
336
|
19
|
938
337
|
1
|
@@ -940,29 +339,26 @@ i
|
|
940
339
|
20
|
941
340
|
1
|
942
341
|
9
|
943
|
-
|
342
|
+
22
|
944
343
|
1
|
945
344
|
8
|
946
|
-
|
345
|
+
30
|
947
346
|
5
|
948
347
|
7
|
949
|
-
|
348
|
+
3
|
950
349
|
64
|
951
350
|
47
|
952
351
|
49
|
953
|
-
|
352
|
+
4
|
954
353
|
1
|
955
354
|
15
|
956
355
|
20
|
957
356
|
1
|
958
357
|
38
|
959
|
-
|
358
|
+
5
|
960
359
|
15
|
961
|
-
|
962
|
-
|
963
|
-
9
|
964
|
-
43
|
965
|
-
10
|
360
|
+
7
|
361
|
+
6
|
966
362
|
11
|
967
363
|
I
|
968
364
|
5
|
@@ -971,17 +367,15 @@ I
|
|
971
367
|
I
|
972
368
|
1
|
973
369
|
I
|
370
|
+
0
|
371
|
+
I
|
974
372
|
1
|
975
373
|
n
|
976
374
|
p
|
977
|
-
|
978
|
-
x
|
979
|
-
5
|
980
|
-
Redis
|
981
|
-
n
|
375
|
+
7
|
982
376
|
x
|
983
|
-
|
984
|
-
databases
|
377
|
+
10
|
378
|
+
@databases
|
985
379
|
x
|
986
380
|
7
|
987
381
|
redis_i
|
@@ -998,40 +392,36 @@ x
|
|
998
392
|
9
|
999
393
|
@database
|
1000
394
|
x
|
1001
|
-
|
1002
|
-
|
1003
|
-
n
|
1004
|
-
x
|
1005
|
-
2
|
1006
|
-
OK
|
395
|
+
3
|
396
|
+
+OK
|
1007
397
|
p
|
1008
398
|
13
|
1009
399
|
I
|
1010
400
|
-1
|
1011
401
|
I
|
1012
|
-
|
402
|
+
9
|
1013
403
|
I
|
1014
404
|
0
|
1015
405
|
I
|
1016
|
-
|
406
|
+
a
|
1017
407
|
I
|
1018
|
-
|
408
|
+
f
|
1019
409
|
I
|
1020
|
-
|
410
|
+
b
|
1021
411
|
I
|
1022
|
-
|
412
|
+
1e
|
1023
413
|
I
|
1024
414
|
0
|
1025
415
|
I
|
1026
|
-
|
416
|
+
1f
|
1027
417
|
I
|
1028
|
-
|
418
|
+
c
|
1029
419
|
I
|
1030
|
-
|
420
|
+
24
|
1031
421
|
I
|
1032
|
-
|
422
|
+
d
|
1033
423
|
I
|
1034
|
-
|
424
|
+
27
|
1035
425
|
x
|
1036
426
|
56
|
1037
427
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
@@ -1054,12 +444,9 @@ x
|
|
1054
444
|
10
|
1055
445
|
redis_PING
|
1056
446
|
i
|
1057
|
-
|
1058
|
-
|
447
|
+
3
|
448
|
+
7
|
1059
449
|
0
|
1060
|
-
1
|
1061
|
-
43
|
1062
|
-
2
|
1063
450
|
11
|
1064
451
|
I
|
1065
452
|
1
|
@@ -1069,28 +456,26 @@ I
|
|
1069
456
|
0
|
1070
457
|
I
|
1071
458
|
0
|
459
|
+
I
|
460
|
+
0
|
1072
461
|
n
|
1073
462
|
p
|
1074
|
-
|
1075
|
-
x
|
1076
|
-
8
|
1077
|
-
Response
|
1078
|
-
n
|
463
|
+
1
|
1079
464
|
x
|
1080
|
-
|
1081
|
-
PONG
|
465
|
+
5
|
466
|
+
+PONG
|
1082
467
|
p
|
1083
468
|
5
|
1084
469
|
I
|
1085
470
|
-1
|
1086
471
|
I
|
1087
|
-
|
472
|
+
10
|
1088
473
|
I
|
1089
474
|
0
|
1090
475
|
I
|
1091
|
-
|
476
|
+
11
|
1092
477
|
I
|
1093
|
-
|
478
|
+
3
|
1094
479
|
x
|
1095
480
|
56
|
1096
481
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
@@ -1118,6 +503,8 @@ I
|
|
1118
503
|
I
|
1119
504
|
1
|
1120
505
|
I
|
506
|
+
0
|
507
|
+
I
|
1121
508
|
1
|
1122
509
|
n
|
1123
510
|
p
|
@@ -1127,11 +514,11 @@ p
|
|
1127
514
|
I
|
1128
515
|
-1
|
1129
516
|
I
|
1130
|
-
|
517
|
+
14
|
1131
518
|
I
|
1132
519
|
0
|
1133
520
|
I
|
1134
|
-
|
521
|
+
15
|
1135
522
|
I
|
1136
523
|
3
|
1137
524
|
x
|
@@ -1153,26 +540,17 @@ x
|
|
1153
540
|
10
|
1154
541
|
redis_QUIT
|
1155
542
|
i
|
1156
|
-
|
543
|
+
11
|
1157
544
|
5
|
1158
|
-
|
545
|
+
7
|
1159
546
|
0
|
1160
|
-
1
|
1161
|
-
43
|
1162
|
-
2
|
1163
547
|
47
|
1164
548
|
49
|
1165
|
-
3
|
1166
549
|
1
|
1167
|
-
15
|
1168
|
-
5
|
1169
|
-
45
|
1170
|
-
4
|
1171
|
-
5
|
1172
|
-
47
|
1173
|
-
49
|
1174
|
-
6
|
1175
550
|
1
|
551
|
+
15
|
552
|
+
7
|
553
|
+
2
|
1176
554
|
11
|
1177
555
|
I
|
1178
556
|
2
|
@@ -1182,87 +560,65 @@ I
|
|
1182
560
|
0
|
1183
561
|
I
|
1184
562
|
0
|
563
|
+
I
|
564
|
+
0
|
1185
565
|
n
|
1186
566
|
p
|
1187
|
-
|
1188
|
-
x
|
1189
|
-
8
|
1190
|
-
Response
|
1191
|
-
n
|
567
|
+
3
|
1192
568
|
x
|
1193
|
-
|
1194
|
-
OK
|
569
|
+
3
|
570
|
+
+OK
|
1195
571
|
x
|
1196
572
|
10
|
1197
573
|
send_redis
|
1198
574
|
x
|
1199
|
-
|
1200
|
-
|
1201
|
-
n
|
1202
|
-
x
|
1203
|
-
5
|
1204
|
-
raise
|
575
|
+
4
|
576
|
+
quit
|
1205
577
|
p
|
1206
578
|
7
|
1207
579
|
I
|
1208
580
|
-1
|
1209
581
|
I
|
1210
|
-
|
582
|
+
18
|
1211
583
|
I
|
1212
584
|
0
|
1213
585
|
I
|
1214
|
-
|
586
|
+
19
|
1215
587
|
I
|
1216
|
-
|
588
|
+
8
|
1217
589
|
I
|
1218
|
-
|
590
|
+
1a
|
1219
591
|
I
|
1220
|
-
|
592
|
+
b
|
1221
593
|
x
|
1222
594
|
56
|
1223
595
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
1224
596
|
p
|
1225
597
|
0
|
1226
598
|
p
|
1227
|
-
|
599
|
+
11
|
1228
600
|
I
|
1229
601
|
2
|
1230
602
|
I
|
1231
|
-
|
1232
|
-
I
|
1233
|
-
b
|
1234
|
-
I
|
1235
|
-
14
|
1236
|
-
I
|
1237
|
-
14
|
1238
|
-
I
|
1239
|
-
16
|
1240
|
-
I
|
1241
|
-
22
|
1242
|
-
I
|
1243
|
-
1d
|
1244
|
-
I
|
1245
|
-
30
|
1246
|
-
I
|
1247
|
-
2a
|
603
|
+
4
|
1248
604
|
I
|
1249
|
-
|
605
|
+
10
|
1250
606
|
I
|
1251
|
-
|
607
|
+
9
|
1252
608
|
I
|
1253
|
-
|
609
|
+
1e
|
1254
610
|
I
|
1255
|
-
|
611
|
+
10
|
1256
612
|
I
|
1257
|
-
|
613
|
+
2c
|
1258
614
|
I
|
1259
|
-
|
615
|
+
14
|
1260
616
|
I
|
1261
|
-
|
617
|
+
3a
|
1262
618
|
I
|
1263
|
-
|
619
|
+
18
|
1264
620
|
I
|
1265
|
-
|
621
|
+
48
|
1266
622
|
x
|
1267
623
|
56
|
1268
624
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
@@ -1276,9 +632,9 @@ p
|
|
1276
632
|
I
|
1277
633
|
2
|
1278
634
|
I
|
1279
|
-
|
635
|
+
2
|
1280
636
|
I
|
1281
|
-
|
637
|
+
1c
|
1282
638
|
x
|
1283
639
|
56
|
1284
640
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|
@@ -1288,65 +644,13 @@ x
|
|
1288
644
|
13
|
1289
645
|
attach_method
|
1290
646
|
p
|
1291
|
-
|
647
|
+
3
|
1292
648
|
I
|
1293
649
|
0
|
1294
650
|
I
|
1295
651
|
1
|
1296
652
|
I
|
1297
|
-
|
1298
|
-
I
|
1299
|
-
2
|
1300
|
-
I
|
1301
|
-
22
|
1302
|
-
I
|
1303
|
-
3
|
1304
|
-
I
|
1305
|
-
2b
|
1306
|
-
I
|
1307
|
-
4
|
1308
|
-
I
|
1309
|
-
34
|
1310
|
-
I
|
1311
|
-
5
|
1312
|
-
I
|
1313
|
-
3d
|
1314
|
-
I
|
1315
|
-
6
|
1316
|
-
I
|
1317
|
-
46
|
1318
|
-
I
|
1319
|
-
7
|
1320
|
-
I
|
1321
|
-
4f
|
1322
|
-
I
|
1323
|
-
8
|
1324
|
-
I
|
1325
|
-
58
|
1326
|
-
I
|
1327
|
-
9
|
1328
|
-
I
|
1329
|
-
61
|
1330
|
-
I
|
1331
|
-
a
|
1332
|
-
I
|
1333
|
-
6a
|
1334
|
-
I
|
1335
|
-
b
|
1336
|
-
I
|
1337
|
-
73
|
1338
|
-
I
|
1339
|
-
c
|
1340
|
-
I
|
1341
|
-
7c
|
1342
|
-
I
|
1343
|
-
e
|
1344
|
-
I
|
1345
|
-
85
|
1346
|
-
I
|
1347
|
-
10
|
1348
|
-
I
|
1349
|
-
a2
|
653
|
+
1d
|
1350
654
|
x
|
1351
655
|
56
|
1352
656
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/connection.rb
|