postrest 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/public/index.htm +5 -0
- 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: e1bcaff14a1ca582d6b9165ab22ce34ca5250058
|
4
|
+
data.tar.gz: 47dfc1a6826db3197b6cdb6933c4accdf8b05821
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94a43e15fa134f8bb74ec5709abde78a0ae0bda90420195c6aa8e612612a88c8d9bb5b222a4b4140bf874e04866f195395206f7e80825d2bb1c221dc9ac09aa8
|
7
|
+
data.tar.gz: e4ff991987e5c4f76eb52c437e03870ff00cc5c27bbd2087c0f4d6ff48210927b198c31c023c9e1c1d021c3baa0f0fae9e54e916eddb3231a093c2ac88394be8
|
data/public/index.htm
CHANGED
@@ -88,7 +88,12 @@
|
|
88
88
|
sql: $(".form .sql").val()
|
89
89
|
}
|
90
90
|
|
91
|
+
$("#output").empty();
|
91
92
|
$.post("/sql", payload, function(l) {
|
93
|
+
if ( l.length === 0 ) {
|
94
|
+
$("#output").html('<div style="width: 80%;margin: auto;">No rows returned.</div>');
|
95
|
+
return;
|
96
|
+
}
|
92
97
|
console.log( 'l: ', l );
|
93
98
|
$("#output").pivotUI(l, {
|
94
99
|
renderers: renderers,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guy Irvine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|