Skip to content

Commit a5178dc

Browse files
committed
Merge pull request #5 from felipemorais/updateDep
update commander dependency and compatibility with nodejs 0.10
2 parents 3e53f28 + f610a64 commit a5178dc

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
language: node_js
22
node_js:
3+
- "0.10"
34
- "0.8"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"dependencies": {
3636
"jsonml": "~0.0.4",
37-
"commander": "~1.3.2",
37+
"commander": "~2.0.0",
3838
"mocha": "~1.12.0"
3939
},
4040
"devDependencies": {

test/helpers/nock-server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ var reqResMap = {
4848
'/xmlResult.php?test=120816_V2_3': 'testResultsNotFound.xml',
4949
'/runtest.php?url=&f=json': 'runTestInvalid.json',
5050
'/runtest.php?script=&f=json': 'runTestInvalid.json',
51-
'/getgzip.php?test=120816_V2_3&file=1_pagespeed.txt': undefined,
51+
'/getgzip.php?test=120816_V2_3&file=1_pagespeed.txt': '',
5252
'/export.php?test=120816_V2_3': 'harNotFound.json',
5353
'/waterfall.php?test=120816_V2_3&run=1&cached=0': 'waterfallNotFound.png',
5454
'/thumbnail.php?test=120816_V2_3&run=1&cached=0&file=1_waterfall.png': 'waterfallThumbnailNotFound.png',
55-
'/thumbnail.php?test=120816_V2_3&file=1_screen.jpg&run=1&cached=0': undefined,
56-
'/cancelTest.php?test=120816_V2_4': undefined,
55+
'/thumbnail.php?test=120816_V2_3&file=1_screen.jpg&run=1&cached=0': '',
56+
'/cancelTest.php?test=120816_V2_4': '',
5757
'/runtest.php?url=http%3A%2F%2Fapikey.com&f=json': 'runTestNoAPIKey.json',
5858
'/runtest.php?url=http%3A%2F%2Fapikey.com&k=12345&f=json': 'runTestInvalidAPIKey.json'
5959
};

0 commit comments

Comments
 (0)