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/strict.rb
CHANGED
data/lib/redis/strict.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,57 +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
|
12
|
+
29
|
38
13
|
99
|
39
14
|
7
|
40
|
-
|
15
|
+
0
|
41
16
|
1
|
42
17
|
65
|
43
18
|
49
|
44
|
-
|
19
|
+
1
|
45
20
|
3
|
46
21
|
13
|
47
22
|
99
|
48
23
|
12
|
49
24
|
7
|
50
|
-
|
25
|
+
2
|
51
26
|
12
|
52
27
|
7
|
53
|
-
|
28
|
+
3
|
54
29
|
12
|
55
30
|
65
|
56
31
|
12
|
57
32
|
49
|
58
|
-
|
33
|
+
4
|
59
34
|
4
|
60
35
|
15
|
61
36
|
49
|
62
|
-
|
37
|
+
2
|
63
38
|
0
|
64
39
|
15
|
65
40
|
2
|
@@ -72,29 +47,11 @@ I
|
|
72
47
|
0
|
73
48
|
I
|
74
49
|
0
|
50
|
+
I
|
51
|
+
0
|
75
52
|
n
|
76
53
|
p
|
77
|
-
|
78
|
-
x
|
79
|
-
4
|
80
|
-
File
|
81
|
-
n
|
82
|
-
s
|
83
|
-
8
|
84
|
-
../redis
|
85
|
-
n
|
86
|
-
x
|
87
|
-
11
|
88
|
-
active_path
|
89
|
-
x
|
90
|
-
7
|
91
|
-
dirname
|
92
|
-
x
|
93
|
-
11
|
94
|
-
expand_path
|
95
|
-
x
|
96
|
-
7
|
97
|
-
require
|
54
|
+
5
|
98
55
|
x
|
99
56
|
5
|
100
57
|
Redis
|
@@ -175,6 +132,8 @@ I
|
|
175
132
|
0
|
176
133
|
I
|
177
134
|
0
|
135
|
+
I
|
136
|
+
0
|
178
137
|
n
|
179
138
|
p
|
180
139
|
7
|
@@ -262,6 +221,8 @@ I
|
|
262
221
|
0
|
263
222
|
I
|
264
223
|
0
|
224
|
+
I
|
225
|
+
0
|
265
226
|
n
|
266
227
|
p
|
267
228
|
10
|
@@ -289,6 +250,8 @@ I
|
|
289
250
|
0
|
290
251
|
I
|
291
252
|
0
|
253
|
+
I
|
254
|
+
0
|
292
255
|
p
|
293
256
|
0
|
294
257
|
p
|
@@ -296,11 +259,11 @@ p
|
|
296
259
|
I
|
297
260
|
-1
|
298
261
|
I
|
299
|
-
|
262
|
+
6
|
300
263
|
I
|
301
264
|
0
|
302
265
|
I
|
303
|
-
|
266
|
+
7
|
304
267
|
I
|
305
268
|
2
|
306
269
|
x
|
@@ -424,6 +387,8 @@ I
|
|
424
387
|
I
|
425
388
|
1
|
426
389
|
I
|
390
|
+
0
|
391
|
+
I
|
427
392
|
2
|
428
393
|
n
|
429
394
|
p
|
@@ -475,39 +440,39 @@ p
|
|
475
440
|
I
|
476
441
|
-1
|
477
442
|
I
|
478
|
-
|
443
|
+
9
|
479
444
|
I
|
480
445
|
8
|
481
446
|
I
|
482
|
-
|
447
|
+
a
|
483
448
|
I
|
484
449
|
11
|
485
450
|
I
|
486
|
-
|
451
|
+
b
|
487
452
|
I
|
488
453
|
15
|
489
454
|
I
|
490
|
-
|
455
|
+
d
|
491
456
|
I
|
492
457
|
1d
|
493
458
|
I
|
494
|
-
|
459
|
+
e
|
495
460
|
I
|
496
461
|
26
|
497
462
|
I
|
498
|
-
|
463
|
+
f
|
499
464
|
I
|
500
465
|
31
|
501
466
|
I
|
502
|
-
|
467
|
+
10
|
503
468
|
I
|
504
469
|
4a
|
505
470
|
I
|
506
|
-
|
471
|
+
11
|
507
472
|
I
|
508
473
|
52
|
509
474
|
I
|
510
|
-
|
475
|
+
13
|
511
476
|
I
|
512
477
|
57
|
513
478
|
I
|
@@ -561,6 +526,8 @@ I
|
|
561
526
|
I
|
562
527
|
1
|
563
528
|
I
|
529
|
+
0
|
530
|
+
I
|
564
531
|
2
|
565
532
|
n
|
566
533
|
p
|
@@ -573,11 +540,11 @@ p
|
|
573
540
|
I
|
574
541
|
-1
|
575
542
|
I
|
576
|
-
|
543
|
+
18
|
577
544
|
I
|
578
545
|
8
|
579
546
|
I
|
580
|
-
|
547
|
+
19
|
581
548
|
I
|
582
549
|
e
|
583
550
|
x
|
@@ -651,6 +618,8 @@ I
|
|
651
618
|
I
|
652
619
|
1
|
653
620
|
I
|
621
|
+
0
|
622
|
+
I
|
654
623
|
2
|
655
624
|
n
|
656
625
|
p
|
@@ -672,15 +641,15 @@ p
|
|
672
641
|
I
|
673
642
|
-1
|
674
643
|
I
|
675
|
-
|
644
|
+
1c
|
676
645
|
I
|
677
646
|
a
|
678
647
|
I
|
679
|
-
|
648
|
+
1d
|
680
649
|
I
|
681
650
|
14
|
682
651
|
I
|
683
|
-
|
652
|
+
1e
|
684
653
|
I
|
685
654
|
25
|
686
655
|
I
|
@@ -688,7 +657,7 @@ I
|
|
688
657
|
I
|
689
658
|
26
|
690
659
|
I
|
691
|
-
|
660
|
+
1f
|
692
661
|
I
|
693
662
|
29
|
694
663
|
x
|
@@ -707,19 +676,19 @@ p
|
|
707
676
|
I
|
708
677
|
2
|
709
678
|
I
|
710
|
-
|
679
|
+
6
|
711
680
|
I
|
712
681
|
10
|
713
682
|
I
|
714
|
-
|
683
|
+
9
|
715
684
|
I
|
716
685
|
1e
|
717
686
|
I
|
718
|
-
|
687
|
+
18
|
719
688
|
I
|
720
689
|
2c
|
721
690
|
I
|
722
|
-
|
691
|
+
1c
|
723
692
|
I
|
724
693
|
3a
|
725
694
|
x
|
@@ -803,6 +772,8 @@ I
|
|
803
772
|
0
|
804
773
|
I
|
805
774
|
0
|
775
|
+
I
|
776
|
+
0
|
806
777
|
n
|
807
778
|
p
|
808
779
|
11
|
@@ -893,6 +864,8 @@ I
|
|
893
864
|
0
|
894
865
|
I
|
895
866
|
0
|
867
|
+
I
|
868
|
+
0
|
896
869
|
p
|
897
870
|
9
|
898
871
|
x
|
@@ -951,6 +924,8 @@ I
|
|
951
924
|
I
|
952
925
|
1
|
953
926
|
I
|
927
|
+
0
|
928
|
+
I
|
954
929
|
1
|
955
930
|
n
|
956
931
|
p
|
@@ -963,11 +938,11 @@ p
|
|
963
938
|
I
|
964
939
|
0
|
965
940
|
I
|
966
|
-
|
941
|
+
2f
|
967
942
|
I
|
968
943
|
4
|
969
944
|
I
|
970
|
-
|
945
|
+
30
|
971
946
|
I
|
972
947
|
12
|
973
948
|
I
|
@@ -993,27 +968,27 @@ p
|
|
993
968
|
I
|
994
969
|
-1
|
995
970
|
I
|
996
|
-
|
971
|
+
28
|
997
972
|
I
|
998
973
|
0
|
999
974
|
I
|
1000
|
-
|
975
|
+
29
|
1001
976
|
I
|
1002
977
|
8
|
1003
978
|
I
|
1004
|
-
|
979
|
+
2a
|
1005
980
|
I
|
1006
981
|
e
|
1007
982
|
I
|
1008
|
-
|
983
|
+
2b
|
1009
984
|
I
|
1010
985
|
1d
|
1011
986
|
I
|
1012
|
-
|
987
|
+
2c
|
1013
988
|
I
|
1014
989
|
22
|
1015
990
|
I
|
1016
|
-
|
991
|
+
2d
|
1017
992
|
I
|
1018
993
|
29
|
1019
994
|
I
|
@@ -1021,11 +996,11 @@ I
|
|
1021
996
|
I
|
1022
997
|
2a
|
1023
998
|
I
|
1024
|
-
|
999
|
+
2f
|
1025
1000
|
I
|
1026
1001
|
32
|
1027
1002
|
I
|
1028
|
-
|
1003
|
+
32
|
1029
1004
|
I
|
1030
1005
|
3a
|
1031
1006
|
x
|
@@ -1138,6 +1113,8 @@ I
|
|
1138
1113
|
I
|
1139
1114
|
1
|
1140
1115
|
I
|
1116
|
+
0
|
1117
|
+
I
|
1141
1118
|
2
|
1142
1119
|
n
|
1143
1120
|
p
|
@@ -1185,11 +1162,11 @@ p
|
|
1185
1162
|
I
|
1186
1163
|
-1
|
1187
1164
|
I
|
1188
|
-
|
1165
|
+
35
|
1189
1166
|
I
|
1190
1167
|
a
|
1191
1168
|
I
|
1192
|
-
|
1169
|
+
36
|
1193
1170
|
I
|
1194
1171
|
42
|
1195
1172
|
I
|
@@ -1197,7 +1174,7 @@ I
|
|
1197
1174
|
I
|
1198
1175
|
43
|
1199
1176
|
I
|
1200
|
-
|
1177
|
+
37
|
1201
1178
|
I
|
1202
1179
|
47
|
1203
1180
|
x
|
@@ -1291,6 +1268,8 @@ I
|
|
1291
1268
|
I
|
1292
1269
|
1
|
1293
1270
|
I
|
1271
|
+
0
|
1272
|
+
I
|
1294
1273
|
2
|
1295
1274
|
n
|
1296
1275
|
p
|
@@ -1329,11 +1308,11 @@ p
|
|
1329
1308
|
I
|
1330
1309
|
-1
|
1331
1310
|
I
|
1332
|
-
|
1311
|
+
3a
|
1333
1312
|
I
|
1334
1313
|
a
|
1335
1314
|
I
|
1336
|
-
|
1315
|
+
3b
|
1337
1316
|
I
|
1338
1317
|
38
|
1339
1318
|
I
|
@@ -1341,7 +1320,7 @@ I
|
|
1341
1320
|
I
|
1342
1321
|
39
|
1343
1322
|
I
|
1344
|
-
|
1323
|
+
3c
|
1345
1324
|
I
|
1346
1325
|
3d
|
1347
1326
|
x
|
@@ -1360,19 +1339,19 @@ p
|
|
1360
1339
|
I
|
1361
1340
|
2
|
1362
1341
|
I
|
1363
|
-
|
1342
|
+
26
|
1364
1343
|
I
|
1365
1344
|
b
|
1366
1345
|
I
|
1367
|
-
|
1346
|
+
28
|
1368
1347
|
I
|
1369
1348
|
19
|
1370
1349
|
I
|
1371
|
-
|
1350
|
+
35
|
1372
1351
|
I
|
1373
1352
|
27
|
1374
1353
|
I
|
1375
|
-
|
1354
|
+
3a
|
1376
1355
|
I
|
1377
1356
|
35
|
1378
1357
|
x
|
@@ -1385,11 +1364,11 @@ p
|
|
1385
1364
|
I
|
1386
1365
|
2
|
1387
1366
|
I
|
1388
|
-
|
1367
|
+
4
|
1389
1368
|
I
|
1390
1369
|
1c
|
1391
1370
|
I
|
1392
|
-
|
1371
|
+
25
|
1393
1372
|
I
|
1394
1373
|
36
|
1395
1374
|
x
|
@@ -1401,17 +1380,13 @@ x
|
|
1401
1380
|
13
|
1402
1381
|
attach_method
|
1403
1382
|
p
|
1404
|
-
|
1383
|
+
3
|
1405
1384
|
I
|
1406
1385
|
0
|
1407
1386
|
I
|
1408
1387
|
1
|
1409
1388
|
I
|
1410
|
-
|
1411
|
-
I
|
1412
|
-
3
|
1413
|
-
I
|
1414
|
-
36
|
1389
|
+
1d
|
1415
1390
|
x
|
1416
1391
|
52
|
1417
1392
|
/Users/dturnbull/ruby/ruby-redis/lib/redis/strict.rb
|