Commit e282846
committed
Add final namespace prefix to inspect
Previously, if you have a nested redis inspect showed you only last
namespace, for example:
parent = Redis::Namespace.new(:parent)
child = Redis::Namespace.new(:child, parent)
child.inspect # => <Redis::Namespace v1.6.0 with client v4.1.3 for
redis://127.0.0.1:6379/0/child>
But now inspect shows full prefix, by which key will be stored in
redis:
child.inspect # => <Redis::Namespace v1.6.0 with client v4.1.3 for
redis://127.0.0.1:6379/0/parent:child>1 parent 54066a5 commit e282846
2 files changed
+40
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
445 | 484 | | |
446 | 485 | | |
447 | 486 | | |
| |||
0 commit comments