redis-browser 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redis-browser/templates/index.slim +32 -16
- data/lib/redis-browser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb5c55541ef0598f88bd75115276f396a8dc6015
|
4
|
+
data.tar.gz: 8c87fcd43152e51de0966a69a6ad384d6c8eedb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95348fcb6e2cb9ca61c334e662f8d77f5259e54d0817fafd5e28382c8b888a5e5a6964c77e3610cdbad43626af831df28f0ab6f600c345d55ba52246f3363a94
|
7
|
+
data.tar.gz: c3b2cb623f3cb6d9edabcb032af665dd0c7da8de9a511d8407f1b2b81c5487d1cad39cfaed7c23a4976f64d98b59136aea56c58f83e8b5d079dd443eff41d61f
|
@@ -88,19 +88,24 @@ html ng-app="browser"
|
|
88
88
|
.span9
|
89
89
|
h4
|
90
90
|
' {{ key.full }}
|
91
|
-
small
|
91
|
+
small
|
92
|
+
' {{ key.type }}
|
92
93
|
|
93
94
|
div ng-switch="key.type"
|
94
|
-
pre ng-switch-when="string"
|
95
|
+
pre ng-switch-when="string"
|
96
|
+
' {{ key.value }}
|
95
97
|
|
96
|
-
pre ng-switch-when="json"
|
98
|
+
pre ng-switch-when="json"
|
99
|
+
' {{ key.value | json }}
|
97
100
|
|
98
101
|
div ng-switch-when="set"
|
99
102
|
table.table.table-striped.table-bordered.value-list
|
100
103
|
tr ng-repeat="e in key.values"
|
101
104
|
td ng-switch="e.type"
|
102
|
-
pre ng-switch-when="json"
|
103
|
-
|
105
|
+
pre ng-switch-when="json"
|
106
|
+
' {{ e.value | json }}
|
107
|
+
pre ng-switch-when="string"
|
108
|
+
' {{ e.value }}
|
104
109
|
|
105
110
|
div ng-switch-when="zset"
|
106
111
|
table.table.table-striped.table-bordered.value-list
|
@@ -109,9 +114,12 @@ html ng-app="browser"
|
|
109
114
|
th.value-zset-score Score
|
110
115
|
tr ng-repeat="e in key.values"
|
111
116
|
td ng-switch="e.type"
|
112
|
-
pre ng-switch-when="json"
|
113
|
-
|
114
|
-
|
117
|
+
pre ng-switch-when="json"
|
118
|
+
' {{ e.value | json }}
|
119
|
+
pre ng-switch-when="string"
|
120
|
+
' {{ e.value }}
|
121
|
+
td
|
122
|
+
' {{ e.score }}
|
115
123
|
|
116
124
|
|
117
125
|
div ng-switch-when="hash"
|
@@ -119,7 +127,8 @@ html ng-app="browser"
|
|
119
127
|
div ng-show="config.hashView == 'json'"
|
120
128
|
div
|
121
129
|
button.btn.btn-primary.pull-right ng-click="config.setHashView('table')" Switch to Table view
|
122
|
-
pre
|
130
|
+
pre
|
131
|
+
' {{ key.json | json }}
|
123
132
|
|
124
133
|
div ng-show="config.hashView == 'table'"
|
125
134
|
table.table.table-striped.table-bordered.value-list
|
@@ -129,10 +138,13 @@ html ng-app="browser"
|
|
129
138
|
' Value
|
130
139
|
button.btn.btn-primary.pull-right ng-click="config.setHashView('json')" Switch to JSON view
|
131
140
|
tr ng-repeat="(k,e) in key.value"
|
132
|
-
td
|
141
|
+
td
|
142
|
+
' {{ k }}
|
133
143
|
td ng-switch="e.type"
|
134
|
-
pre ng-switch-when="json"
|
135
|
-
|
144
|
+
pre ng-switch-when="json"
|
145
|
+
' {{ e.value | json }}
|
146
|
+
pre ng-switch-when="string"
|
147
|
+
' {{ e.value }}
|
136
148
|
|
137
149
|
div ng-switch-when="list"
|
138
150
|
.alert
|
@@ -167,10 +179,13 @@ html ng-app="browser"
|
|
167
179
|
th.value-list-index Index
|
168
180
|
th Value
|
169
181
|
tr ng-repeat="e in key.values"
|
170
|
-
td
|
182
|
+
td
|
183
|
+
' {{ e.index }}
|
171
184
|
td ng-switch="e.type"
|
172
|
-
pre ng-switch-when="json"
|
173
|
-
|
185
|
+
pre ng-switch-when="json"
|
186
|
+
' {{ e.value | json }}
|
187
|
+
pre ng-switch-when="string"
|
188
|
+
' {{ e.value }}
|
174
189
|
|
175
190
|
pagination boundary-links="true" num-pages="list.pages" current-page="list.current" max-size="list.max"
|
176
191
|
|
@@ -184,7 +199,8 @@ html ng-app="browser"
|
|
184
199
|
input.input-medium.search-query type="text" ng-model="query" placeholder="Search"
|
185
200
|
tr ng-repeat="e in key.values | filter:query"
|
186
201
|
td
|
187
|
-
a href="#" ng-click="show(e)"
|
202
|
+
a href="#" ng-click="show(e)"
|
203
|
+
' {{ e.name }}
|
188
204
|
td
|
189
205
|
button.btn.btn-danger ng-click="deleteKey(e)" Delete
|
190
206
|
tr
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-browser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tymon Tobolski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|