swagger-ui_rails 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ad58ddad08485ae2974906f56aeddc6c0e1fa8f
|
4
|
+
data.tar.gz: 53d1b3faf304e780afba734ad0cc4c758f472e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2006eac9b9d25042b2579bd1076bc9de7ab22479cf1dd880432aa4adbf8d472bdbba753c57c399d76d54daa08f98097a9d2e6839f17e57f211890062e944a289
|
7
|
+
data.tar.gz: f0369a36ecb23adac9b29008f1de770452772e4df995919020aa157d0613e9e0c2730e45534ca67dbbe70833405e08b9c561c72f6905f405349d9fb4a3976603
|
@@ -1188,19 +1188,46 @@
|
|
1188
1188
|
}
|
1189
1189
|
cb = obj.on;
|
1190
1190
|
res = {
|
1191
|
-
error: function(
|
1191
|
+
error: function(raw) {
|
1192
|
+
var headers, out;
|
1192
1193
|
if (obj) {
|
1193
|
-
|
1194
|
+
headers = raw._headers;
|
1195
|
+
out = {
|
1196
|
+
headers: headers,
|
1197
|
+
url: raw.request.url,
|
1198
|
+
method: raw.request.method,
|
1199
|
+
status: raw.status,
|
1200
|
+
data: raw.content.data
|
1201
|
+
};
|
1202
|
+
return cb.error(out);
|
1194
1203
|
}
|
1195
1204
|
},
|
1196
|
-
redirect: function(
|
1205
|
+
redirect: function(raw) {
|
1206
|
+
var headers, out;
|
1197
1207
|
if (obj) {
|
1198
|
-
|
1208
|
+
headers = raw._headers;
|
1209
|
+
out = {
|
1210
|
+
headers: headers,
|
1211
|
+
url: raw.request.url,
|
1212
|
+
method: raw.request.method,
|
1213
|
+
status: raw.status,
|
1214
|
+
data: raw.content.data
|
1215
|
+
};
|
1216
|
+
return cb.redirect(out);
|
1199
1217
|
}
|
1200
1218
|
},
|
1201
|
-
307: function(
|
1219
|
+
307: function(raw) {
|
1220
|
+
var headers, out;
|
1202
1221
|
if (obj) {
|
1203
|
-
|
1222
|
+
headers = raw._headers;
|
1223
|
+
out = {
|
1224
|
+
headers: headers,
|
1225
|
+
url: raw.request.url,
|
1226
|
+
method: raw.request.method,
|
1227
|
+
status: raw.status,
|
1228
|
+
data: raw.content.data
|
1229
|
+
};
|
1230
|
+
return cb.redirect(out);
|
1204
1231
|
}
|
1205
1232
|
},
|
1206
1233
|
response: function(raw) {
|
@@ -1424,4 +1451,4 @@
|
|
1424
1451
|
|
1425
1452
|
this.authorizations = new SwaggerAuthorizations();
|
1426
1453
|
|
1427
|
-
}).call(this);
|
1454
|
+
}).call(this);
|
@@ -365,7 +365,7 @@ function program9(depth0,data) {
|
|
365
365
|
function program11(depth0,data) {
|
366
366
|
|
367
367
|
|
368
|
-
return "\n <div class='sandbox_header'>\n <input class='submit' name='commit' type='button' value='Try it out!' />\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\n <img alt='Throbber' class='response_throbber' src='
|
368
|
+
return "\n <div class='sandbox_header'>\n <input class='submit' name='commit' type='button' value='Try it out!' />\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\n <img alt='Throbber' class='response_throbber' src='/throbber.gif' style='display:none' />\n </div>\n ";
|
369
369
|
}
|
370
370
|
|
371
371
|
buffer += "\n <ul class='operations' >\n <li class='";
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swagger-ui_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stjepan Hadjic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -51,7 +51,6 @@ files:
|
|
51
51
|
- README.md
|
52
52
|
- Rakefile
|
53
53
|
- app/assets/images/logo_small.png
|
54
|
-
- app/assets/images/throbber.gif
|
55
54
|
- app/assets/javascripts/lib/backbone-min.js
|
56
55
|
- app/assets/javascripts/lib/handlebars-1.0.0.js
|
57
56
|
- app/assets/javascripts/lib/highlight.7.3.pack.js
|
@@ -72,6 +71,7 @@ files:
|
|
72
71
|
- lib/swagger-ui_rails.rb
|
73
72
|
- lib/swagger-ui_rails/engine.rb
|
74
73
|
- lib/swagger-ui_rails/version.rb
|
74
|
+
- public/throbber.gif
|
75
75
|
- swagger-ui_rails.gemspec
|
76
76
|
homepage: https://github.com/d4be4st/swagger-ui_rails
|
77
77
|
licenses:
|