You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/07/29 23:16:17 UTC

[1/2] git commit: CB-4415 fixing possible bugs on windows

Updated Branches:
  refs/heads/master df8b925d3 -> 12258f56d


CB-4415 fixing possible bugs on windows


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/5f9b622e
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/5f9b622e
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/5f9b622e

Branch: refs/heads/master
Commit: 5f9b622e5c6270a56b7465c13d06310f9f1b22cf
Parents: df8b925
Author: Anis Kadri <an...@apache.org>
Authored: Mon Jul 29 14:15:48 2013 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Mon Jul 29 14:15:48 2013 -0700

----------------------------------------------------------------------
 src/registry/registry.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/5f9b622e/src/registry/registry.js
----------------------------------------------------------------------
diff --git a/src/registry/registry.js b/src/registry/registry.js
index 824ed4b..34e566c 100644
--- a/src/registry/registry.js
+++ b/src/registry/registry.js
@@ -6,7 +6,8 @@ var npm = require('npm'),
     manifest = require('./manifest'),
     os = require('os'),
     rc = require('rc'),
-    plugmanConfigDir = path.resolve(process.env.HOME, '.plugman'),
+    home = process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE,
+    plugmanConfigDir = path.resolve(home, '.plugman'),
     plugmanCacheDir = path.resolve(plugmanConfigDir, 'cache');
 
 function handleError(err, cb) {
@@ -61,7 +62,7 @@ function fetchPackage(info, cb) {
     if(fs.existsSync(cached)) {
         cb(null, cached);
     } else {
-        var target = os.tmpdir() + info.name;
+        var target = path.join(os.tmpdir(), info.name);
         var filename = target + '.tgz';
         var filestream = fs.createWriteStream(filename);
         var request = http.get(info.dist.tarball, function(res) {


[2/2] git commit: bumping version

Posted by an...@apache.org.
bumping version


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/12258f56
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/12258f56
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/12258f56

Branch: refs/heads/master
Commit: 12258f56db404278b635b3f68266cd455e8ee6d8
Parents: 5f9b622
Author: Anis Kadri <an...@apache.org>
Authored: Mon Jul 29 14:16:08 2013 -0700
Committer: Anis Kadri <an...@apache.org>
Committed: Mon Jul 29 14:16:08 2013 -0700

----------------------------------------------------------------------
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/12258f56/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 8e343ab..82e2448 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
   "author": "Andrew Lunny <al...@gmail.com>",
   "name": "plugman",
   "description": "install/uninstall Cordova plugins",
-  "version": "0.9.22",
+  "version": "0.9.23",
   "repository": {
     "type": "git",
     "url": "git://git-wip-us.apache.org/repos/asf/cordova-plugman.git"