Skip to content

Commit 9eaa0eb

Browse files
committed
Canary build at Fri, 08 Apr 2016 18:19:11 GMT to version 6.19.17.119
1 parent 20111ed commit 9eaa0eb

8 files changed

Lines changed: 24 additions & 9 deletions

File tree

app/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"name": "Advanced REST client",
44
"short_name": "ARC",
55
"description": "The web developers helper program to create and test custom HTTP requests.",
6-
"version": "6.17.16.116",
7-
"version_name": "6.17.16.116-beta",
6+
"version": "6.19.17.119",
7+
"version_name": "6.19.17.119-canary",
88
"minimum_chrome_version": "47",
99
"author": "Pawel Psztyc",
1010
"icons": {

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242
"resolutions": {
4343
"lodash": "^4.6.2"
4444
},
45-
"version": "6.17.16"
45+
"version": "6.19.17"
4646
}

bower_components.lnk

1.66 KB
Binary file not shown.
-3.51 MB
Binary file not shown.
-3.51 MB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "advanced-rest-client",
3-
"version": "6.17.16",
3+
"version": "6.19.17",
44
"scripts": {
55
"lint": "gulp lint",
66
"test": "gulp test",

tasks/builder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ var Builder = {
255255
implicitStrip: true,
256256
stripComments: true,
257257
excludes: [
258-
path.join('app', 'bower_components', 'font-roboto', 'roboto.html'),
259-
path.join('bower_components', 'font-roboto', 'roboto.html')
258+
// path.join('app', 'bower_components', 'font-roboto', 'roboto.html'),
259+
// path.join('bower_components', 'font-roboto', 'roboto.html')
260260
]
261261
});
262262
console.log('Processing elements.html');
@@ -315,7 +315,7 @@ var Builder = {
315315
deps = deps.filter((dep) => dep !== backgroundScript);
316316
deps = deps.map((dep) => './app/' + dep);
317317
//backgroundScript = 'background.js';
318-
let depsFilename = path.join('scripts', 'background-deps.js');
318+
let depsFilename = 'scripts/background-deps.js';
319319
let depsLocation = path.join(dest, depsFilename);
320320
concat(deps, depsLocation, {
321321
separator: '\n'

tasks/ssl.js

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class TestServer {
6868
key: fs.readFileSync('./tests/certs/server.key', 'utf8'),
6969
cert: fs.readFileSync('./tests/certs/server.crt', 'utf8')
7070
};
71+
this.post = 8081;
7172
app.disable('x-powered-by');
7273
// app.disable('etag');
7374
this.setHandlers();
@@ -100,8 +101,8 @@ class TestServer {
100101
// httpServer.listen(80, () => {
101102
// console.log('HTTP started (80).');
102103
// });
103-
httpServer.listen(8080, () => {
104-
console.log('HTTP started (8080).');
104+
httpServer.listen(this.post, () => {
105+
console.log('HTTP started (' + this.post + ').');
105106
});
106107
// httpsServer.listen(443, () => {
107108
// console.log('HTTPS started (443).');
@@ -122,6 +123,7 @@ class TestServer {
122123
this._setPut();
123124
this._setDelete();
124125
this._setMultipard();
126+
this._setRedirect();
125127
}
126128

127129
_setMain() {
@@ -279,6 +281,19 @@ class TestServer {
279281
res.send('DELETE request to homepage');
280282
});
281283
}
284+
285+
_setRedirect() {
286+
app.get('/redirect', (req, res) => {
287+
res.redirect('/redirect/dest');
288+
});
289+
app.get('/redirect2', (req, res) => {
290+
res.redirect('http://localhost:' + this.post + '/redirect/dest');
291+
});
292+
app.get('/redirect/dest', (req, res) => {
293+
res.set('Content-Type', 'text/html');
294+
res.send('<h1>You have been redirected</h1>');
295+
});
296+
}
282297
}
283298

284299
module.exports = {

0 commit comments

Comments
 (0)