Skip to content

Commit ba791ef

Browse files
committed
remove gently hijack and tests
1 parent b04b5ac commit ba791ef

11 files changed

+1
-18
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ language: node_js
22
node_js:
33
- 10
44
- 12
5-
- 13

lib/file.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
if (global.GENTLY) require = GENTLY.hijack(require);
2-
31
var util = require('util'),
42
fs = require('fs'),
53
EventEmitter = require('events').EventEmitter,

lib/incoming_form.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
if (global.GENTLY) require = GENTLY.hijack(require);
2-
31
var crypto = require('crypto');
42
var fs = require('fs');
53
var util = require('util'),

lib/json_parser.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
if (global.GENTLY) require = GENTLY.hijack(require);
2-
31
function JSONParser(parent) {
42
this.parent = parent;
53
this.chunks = [];

lib/querystring_parser.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
if (global.GENTLY) require = GENTLY.hijack(require);
2-
31
// This is a buffering parser, not quite as nice as the multipart one.
42
// If I find time I'll rewrite this to be fully streaming as well
53
var querystring = require('querystring');

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"license": "MIT",
66
"version": "1.2.1",
77
"devDependencies": {
8-
"gently": "^0.8.0",
98
"findit": "^0.1.2",
109
"hashish": "^0.0.4",
1110
"urun": "^0.0.6",

test-legacy/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
These tests were deleted due to failures when removing the gently lib
File renamed without changes.

test/legacy/common.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
var path = require('path'),
22
fs = require('fs');
33

4-
try {
5-
global.Gently = require('gently');
6-
} catch (e) {
7-
throw new Error('this test suite requires node-gently');
8-
}
9-
104
exports.lib = path.join(__dirname, '../../lib');
115

12-
global.GENTLY = new Gently();
13-
146
global.assert = require('assert');
157
global.TEST_PORT = 13532;
168
global.TEST_FIXTURES = path.join(__dirname, '../fixture');

0 commit comments

Comments
 (0)