redis-browser 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/lib/redis-browser/app.rb +2 -1
- data/lib/redis-browser/templates/index.slim +2 -0
- data/lib/redis-browser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76d831101d50f6182d172c2684f1e0e885c91aa2
|
4
|
+
data.tar.gz: 2b1b48244b3a7268f356f10855f06c24ab5e6855
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c10db24515f5c8a4e7811f7df508f6a99a0bae9116cd6190a5943055ddbe52c8d71b99a57ddc7b7c25a1c616c1fe15c4ef56d6fdf976dad103d433d858d9e3a
|
7
|
+
data.tar.gz: 4634eb41b043a1f7d7202916b2c79ffd865a3b9908cbe6819d9014fbe234aad42cca424d11e72b22a6f12141d87b5fe271eb4c027909bfb38c202b6013f7077e
|
data/README.md
CHANGED
@@ -2,22 +2,33 @@
|
|
2
2
|
|
3
3
|
## Features
|
4
4
|
|
5
|
-
* List all keys as tree
|
5
|
+
* List all keys as tree
|
6
6
|
* See content of all redis types
|
7
7
|
* List pagination
|
8
8
|
* Pretty print json values
|
9
9
|
* Search keys
|
10
10
|
|
11
11
|
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
```bash
|
15
|
+
$ gem install redis-browser
|
16
|
+
```
|
17
|
+
|
12
18
|
## Usage
|
13
19
|
|
14
20
|
```bash
|
15
|
-
$
|
16
|
-
$ cd redis-browser
|
17
|
-
$ bundle
|
18
|
-
$ bundle exec ruby lib/redis-browser/app.rb
|
21
|
+
$ redis-browser
|
19
22
|
```
|
20
23
|
|
24
|
+
## Screenshots
|
25
|
+
|
26
|
+
![Browse keys](https://dl.dropboxusercontent.com/u/70986/redis-browser/2.png)
|
27
|
+
![See list with pagination](https://dl.dropboxusercontent.com/u/70986/redis-browser/3.png)
|
28
|
+
![ZSET support](https://dl.dropboxusercontent.com/u/70986/redis-browser/4.png)
|
29
|
+
![JSON pretty print](https://dl.dropboxusercontent.com/u/70986/redis-browser/5.png)
|
30
|
+
![Configuration](https://dl.dropboxusercontent.com/u/70986/redis-browser/6.png)
|
31
|
+
|
21
32
|
## Contributing
|
22
33
|
|
23
34
|
1. Fork it
|
data/lib/redis-browser/app.rb
CHANGED
@@ -84,6 +84,8 @@ html ng-app="browser"
|
|
84
84
|
div ng-switch="key.type"
|
85
85
|
pre ng-switch-when="string" {{ key.value }}
|
86
86
|
|
87
|
+
pre ng-switch-when="json" {{ key.value | json }}
|
88
|
+
|
87
89
|
div ng-switch-when="set"
|
88
90
|
table.table.table-striped.table-bordered.value-list
|
89
91
|
tr ng-repeat="e in key.values"
|