From 45bd47e536e2bf3706cae2be526de313f042bf36 Mon Sep 17 00:00:00 2001 From: przemyslawpluta Date: Sun, 7 Sep 2014 22:28:16 +0100 Subject: cleanup & version bump --- package.json | 6 +++--- scripts/winpy3fix.js | 26 -------------------------- 2 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 scripts/winpy3fix.js diff --git a/package.json b/package.json index 3127d6e..00812e1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mongo-edu", "preferGlobal": true, - "version": "0.1.33", + "version": "0.1.34", "author": "Przemyslaw Pluta (http://przemyslawpluta.com)", "description": "Select and download videos and handouts from university.mongodb.com courses", "main": "./mongo-edu", @@ -40,12 +40,12 @@ "mv": "~2.0.3", "optimist": "~0.6.1", "progress": "~1.1.8", - "request": "~2.40.0", + "request": "~2.42.0", "request-progress": "~0.3.1", "rimraf": "~2.2.8", "unzip": "~0.1.9", "which": "~1.0.5", - "youtube-dl": "~1.5.12" + "youtube-dl": "~1.5.13" }, "engines": { "node": ">= 0.8.x" diff --git a/scripts/winpy3fix.js b/scripts/winpy3fix.js deleted file mode 100644 index 14d8f13..0000000 --- a/scripts/winpy3fix.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * mongo-edu - * - * Copyright (c) 2014 Przemyslaw Pluta - * Licensed under the MIT license. - * https://github.com/przemyslawpluta/mongo-edu/blob/master/LICENSE - */ - -var mv = require('mv'), - fs = require('fs'), - path = require('path'); - -var isWin = /^win/.test(process.platform); - -if (isWin) { - var target = path.resolve(__dirname + '../' + '../node_modules/youtube-dl/lib/youtube-dl.js'); - - fs.unlink(target, function (err) { - 'use strict'; - if (err !== null) { return console.log(err.stack); } - mv(path.resolve(__dirname + '../' + '../.temp/youtube-dl.js'), target, function error(err) { - if (err) { console.log(err); } - console.log('win py3.x fix'); - }); - }); -} \ No newline at end of file -- cgit v1.2.3